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.
Details and Options
Details and Options
Details and Options
See Also
Tech Notes
Related Guides
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.
Details and Options
- To use UnrankBinarySubset , you first need to load the Combinatorica Package using Needs ["Combinatorica`"].