multinomial - Maple Help

Online Help

All Products    Maple    MapleSim


combinat

  

multinomial

  

compute the multinomial coefficients

 

Calling Sequence

Parameters

Description

Examples

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 nk1&comma;k2&comma;&comma;km equal to nk1&excl;k2&excl;km&excl; where it is assumed that n&equals;k1&plus;k2&plus;&plus;km . If n0, then it is also assumed 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.

Examples

withcombinat&comma;multinomial

multinomial

(1)

multinomial8&comma;2&comma;6

28

(2)

binomial8&comma;2

28

(3)

multinomial8&comma;2&comma;3&comma;3

560

(4)

See Also

binomial

combinat