Combinatorica`
Combinatorica`

UnrankKSubset

UnrankKSubset[m,k,l]

gives the m^(th) k-subset of set l, listed in lexicographic order.

Details and Options