How to find all the orbits of a permutation defined by a function?

Printable View