cycleexpansion
Cycle expansion is a technique used in combinatorics and graph theory to analyze certain types of permutations and their properties. It is particularly relevant in the study of symmetric groups and their representations. The core idea of cycle expansion is to decompose a permutation into a product of disjoint cycles. Any permutation can be uniquely written as a product of cycles that do not share any elements.
For example, consider the permutation that maps 1 to 2, 2 to 3, and 3 to 1.
The length of a cycle is the number of elements it contains. The order of a permutation