composition

composition(n, k)

The composition counts of n into k parts. composition only takes integer arguments. The following condition must be enforced: k <= n.

Try it yourself:

See also:
All functions