Combinatorica`
Combinatorica`
Derangements
Derangements[p]
constructs all derangements of permutation p.
更多信息和选项
- To use Derangements, you first need to load the Combinatorica Package using Needs["Combinatorica`"].
Derangements[p]
constructs all derangements of permutation p.