PermutationOrder

PermutationOrder[perm]
gives the order of permutation perm.

DetailsDetails

  • The order of a permutation perm is the smallest positive integer m so that the product of perm with itself m times yields the identity permutation.
  • The only permutation with order 1 is the identity permutation.
Introduced in 2010
(8.0)