Combinatorica`
Combinatorica`

Derangements

Derangements[p]

constructs all derangements of permutation p.

Details

See Also

DerangementQ  NumberOfDerangements

Tutorials