Combinatorica`
Combinatorica`

GrayCodeKSubsets

GrayCodeKSubsets[l,k]

generates k-subsets of l in Gray code order.

Details