Combinatorica`
Combinatorica`

NthPermutation

In Version 6.0, NthPermutation has been superseded by UnrankPermutation.

NthPermutation[n,l]

gives the ^(th) lexicographic permutation of list l.

Details

See Also

LexicographicPermutations  RankPermutation

Tutorials