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
- To use NextBinarySubset, you first need to load the Combinatorica Package using Needs["Combinatorica`"].