PermutationOrder on Permutation
The order of p in the symmetric group — the lcm of its cycle lengths.
Wolfram's PermutationOrder. The bare Order is Wolfram's canonical-ordering comparison Order[a, b], so this head replaces it. The old name is recorded in formerly but does not resolve: Order(p) is now Wolfram's Order.
Called as CombinatorialStat(x, "PermutationOrder"). The head's page has its examples.
Live
FindStat St000058
The order of a permutation.
| Object | Value |
|---|---|
[1] | 1 |
[1,2] | 1 |
[2,1] | 2 |
[1,2,3] | 1 |
[1,3,2] | 2 |
[2,1,3] | 2 |
[2,3,1] | 3 |
[3,1,2] | 3 |
Data from FindStat, the combinatorial statistic finder; the page at findstat.org/St000058 has the rest.