Combinatorica`
Combinatorica`
DerangementQ
DerangementQ[p]
tests whether permutation p is a derangement, that is, a permutation without a fixed point.
Details and Options
- To use DerangementQ, you first need to load the Combinatorica Package using Needs["Combinatorica`"].