Skip to main content

PermutationCyclesQ

PermutationCyclesQ[expr] returns True if expr is a permutation in disjoint cyclic form, and False otherwise.

Please visit the official Wolfram Language Reference for more details and examples on core symbols.