DerangementQ

DerangementQ[p]
tests whether permutation p is a derangement, that is, a permutation without a fixed point.

DetailsDetails

New to Mathematica? Find your learning path »
Have a question? Ask support »