combinat
multinomial
compute the multinomial coefficients
Calling Sequence
Parameters
Description
Examples
multinomial(n, k1, k2, ..., km)
n
-
a positive integer
k[i]
positive integers whose sum is n
The procedure multinomial(n, k1, k2, ..., km) computes the multinomial coefficient denoted n⁢|⁢k1,k2,...,km equal to n!/k1!⁢k2!...km! where it is assumed that n=k1+k2+...+km and that 0<m; that is, there are at least 2 arguments.
The command with(combinat,multinomial) allows the use of the abbreviated form of this command.
with⁡combinat,multinomial
multinomial⁡8,2,6
28
binomial⁡8,2
multinomial⁡8,2,3,3
560
See Also
binomial
Download Help Document
What kind of issue would you like to report? (Optional)