Combinatorica`
Combinatorica`

UnrankGrayCodeSubset

UnrankGrayCodeSubset[n,l]

gives the n^(th) subset of list l, listed in Gray code order.

更多信息和选项