Combinatorica`
Combinatorica`
NumberOfPermutationsByType
NumberOfPermutationsByTypes[l]
gives the number of permutations of type .
Details and Options
- To use NumberOfPermutationsByType, you first need to load the Combinatorica Package using Needs["Combinatorica`"].