Vignettes of package permute
permutations.pdf
:
Restricted permutations; using the permute package