Combinatorica`
Combinatorica`

NextBinarySubset

NextBinarySubset[l,s]

constructs the subset of l following subset s in the order obtained by interpreting subsets as binary string representations of integers.

Details and Options