Combinatorica`
Combinatorica`

RandomComposition

RandomComposition[n,k]

constructs a random composition of integer n into k parts.

Details

See Also

Compositions  NumberOfCompositions

Tutorials