Combinatorica`
Combinatorica`
InvolutionQ
InvolutionQ[p]
yields True if permutation p is its own inverse.
Details and Options
- To use InvolutionQ, you first need to load the Combinatorica Package using Needs["Combinatorica`"].
InvolutionQ[p]
yields True if permutation p is its own inverse.