NthPermutation

In Version 6.0, NthPermutation has been superseded by UnrankPermutation.

NthPermutation[n,l]
gives the ^(th) lexicographic permutation of list l.

DetailsDetails