Combinatorica`
Combinatorica`

UnrankBinarySubset

UnrankBinarySubset[n,l]

gives the n^(th) subset of list l, listed in increasing order of integers corresponding to the binary representations of the subsets.

更多信息和选项