20.4 LargestMovedPointPerm

LargestMovedPointPerm( perm )

LargestMoverPointPerm returns the largest point moved by the permutation perm, i.e., the largest positive integer i such that i^perm < i. It will signal an error if perm is trivial (see also SmallestMovedPointPerm).

    gap> LargestMovedPointPerm( (2,3,1) );
    3
    gap> LargestMovedPointPerm( (1,2)(1000,1001) );
    1001 

Previous Up Top Next
Index

GAP 3.4.4
April 1997