PermutationPower

PermutationPower[perm,n]

gives the n^(th) permutation power of the permutation perm.

Details

  • PermutationPower[perm,n] effectively computes the product of a permutation perm with itself n times.
  • When n is negative, PermutationPower finds powers of the inverse of the permutation perm.
  • PermutationPower[perm,0] gives the identity permutation.

Examples

open allclose all

Basic Examples  (3)

Sixth power of a permutation:

In[1]:=
Click for copyable input
Out[1]=

Second power of the inverse permutation:

In[1]:=
Click for copyable input
Out[1]=

PermutationPower can yield the identity permutation:

In[1]:=
Click for copyable input
Out[1]=

Scope  (1)

Generalizations & Extensions  (2)

Properties & Relations  (1)

See Also

Cycles  PermutationProduct  InversePermutation

Tutorials

Introduced in 2010
(8.0)