 multinomial - Maple Help

combinat

 multinomial
 compute the multinomial coefficients Calling Sequence multinomial(n, k1, k2, ..., km) Parameters

 n - a positive integer k1, k2, ..., km - positive integers whose sum is n Description

 • The procedure multinomial(n, k1, k2, ..., km) computes the multinomial coefficient denoted $\left(\begin{array}{c}n\\ \mathrm{k1},\mathrm{k2},\dots ,\mathrm{km}\end{array}\right)$ equal to $\frac{n}{\mathrm{k1}!\mathrm{k2}!\cdots \mathrm{km}!}$ where it is assumed that $n=\mathrm{k1}+\mathrm{k2}+\cdots +\mathrm{km}$ . If $n\ne 0$, then it is also assumed that $0; that is, there are at least 2 arguments.
 • The command with(combinat,multinomial) allows the use of the abbreviated form of this command. Examples

 > $\mathrm{with}\left(\mathrm{combinat},\mathrm{multinomial}\right)$
 $\left[{\mathrm{multinomial}}\right]$ (1)
 > $\mathrm{multinomial}\left(8,2,6\right)$
 ${28}$ (2)
 > $\mathrm{binomial}\left(8,2\right)$
 ${28}$ (3)
 > $\mathrm{multinomial}\left(8,2,3,3\right)$
 ${560}$ (4)