Combinatorica`
Combinatorica`
NumberOfCompositions
NumberOfCompositions[n,k]
counts the number of distinct compositions of integer into parts.
更多信息和选项
- To use NumberOfCompositions, you first need to load the Combinatorica Package using Needs["Combinatorica`"].