Combinatorica`
Combinatorica`
DerangementQ
DerangementQ[p]
tests whether permutation p is a derangement, that is, a permutation without a fixed point.
更多信息和选项
- To use DerangementQ, you first need to load the Combinatorica Package using Needs["Combinatorica`"].