This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

PermutationLength

PermutationLength[perm]
returns the number of integers moved by the permutation perm.
  • The number of integers moved by a permutation is sometimes called its degree. Another common definition of permutation degree is the largest moved point.
Number of points moved by a permutation:
Number of points moved in a permutation list:
Number of points moved by a permutation:
In[1]:=
Click for copyable input
Out[1]=
 
Number of points moved in a permutation list:
In[1]:=
Click for copyable input
Out[1]=
Number of integers in the support of a permutation in cyclic form:
Length of the support of the identity:
Number of integers in the support of a permutation list:
Length of the support of the identity permutation list:
The length of the support of a permutation group is defined as the length of the union of the supports of its elements:
Support length of the default permutation representation of a named abstract group:
PermutationLength is equivalent to using Length on the permutation support:
New in 8