Combinatorica`
Combinatorica`

RevealCycles

RevealCycles[p]

unveils the canonical hidden cycle structure of permutation p.

Details and Options