Combinatorica`
Combinatorica`
NthPermutation
In Version 6.0, NthPermutation has been superseded by UnrankPermutation.
NthPermutation[n,l]
gives the lexicographic permutation of list .
更多信息和选项
- To use NthPermutation, you first need to load the Combinatorica Package using Needs["Combinatorica`"].