Skip to content

multinomial

Multinomial coefficient.

v = multinomial(number1, number2, ...)

Returns (n1+n2+...+nk)! / (n1! · n2! · ... · nk!) — the number of ways to partition a set of sum(n_i) items into groups of sizes n_i.

multinomial(2, 3, 4) % 1260
  • fact — Factorial.
  • combin — Number of unordered selections (combinations) of k from n.