|
SOLUTIONS
|
COMBINATORICA PACKAGE SYMBOL
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
- To use
, you first need to load the Combinatorica Package using Needs["Combinatorica`"].
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »
