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 ordered according to the binary string defining each subset.

DetailsDetails

New to Mathematica? Find your learning path »
Have a question? Ask support »