Combinatorica`
Combinatorica`
NumberOfPermutationsByCycles
NumberOfPermutationsByCycles[n,m]
gives the number of permutations of length with exactly cycles.
Details and Options
- To use NumberOfPermutationsByCycles, you first need to load the Combinatorica Package using Needs["Combinatorica`"].