permorder: The order of a permutation
Returns the order of a permutation P: the smallest strictly
positive integer n for which P^n is the identity.
Permutation, coerced to
Boolean, with default
TRUE meaning to return the
order of each element of the vector, and
FALSE meaning to
return the order of the vector itself (that is, the smallest
strictly positive integer for which
Coerces its argument to cycle form.
The order of the identity permutation is 1.
mLCM() from the
Robin K. S. Hankin
x <- (5,20)