Generate Subsets or Combinations

What Type?
Subsets in lex order [k = max subset size]
Subsets in Gray code order
Product space in lex order
Product space in Gray code order
Combinations in lex order
Combinations in colex order
Combinations in cool-lex order
Combinations by transpositions
Combinations by adjacent transpositions

Input:
n =
k =

Product Space Limits:
n1 =
n2 =
n3 =
n4 =
n5 =
n6 =

Output:
Bitstring representation.
List of elements.
Transposition or bit change (if applicable).
Towers of Hanoi (only applicable for Subsets in Gray code order).



It was last updated .