Combinatorica`
Combinatorica`

PermutationWithCycle

PermutationWithCycle[n,{i,j,}]

gives a size n permutation in which {i,j,...} is a cycle and all other elements are fixed points.

更多信息和选项