all-permutation-bits ( bit-count bits -- seq )


Vocabulary
math.combinatorics.bits

Inputs and outputs
bit-countan integer
bitsan integer
seqa sequence


Word description
Generates all permutations of numbers with a given bit-count and number of bits.

Definition