Combinatorica`
Combinatorica`
NumberOfDerangements
counts the derangements on elements, that is, the permutations without any fixed points.
更多信息和选项
- To use NumberOfDerangements, you first need to load the Combinatorica Package using Needs["Combinatorica`"].