Combinatorica Package >

BinarySubsets

BinarySubsets[l]
gives all subsets of l ordered according to the binary string defining each subset. For any positive integer n, BinarySubsets[n] gives all subsets of {1,2,...,n} ordered according to the binary string defining each subset.
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team