Cycles and fixed points
In mathematics, the cycles of a permutation π of a finite set S correspond bijectively to the orbits of the subgroup generated by π acting on S. These orbits are subsets of S that can be written as { c1, ..., cn }, such that π(ci) = ci + 1 for i = 1, ..., n − 1, and π(cn) = c1. The corresponding cycle of π is written as ( c1 c2 ...