Combinatorica`
Combinatorica`

NumberOfPermutationsByCycles

NumberOfPermutationsByCycles[n,m]

gives the number of permutations of length n with exactly m cycles.

Details and Options