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


Vocabulary
math.combinatorics.bits

Inputs
bit-countan integer
bitsan integer


Outputs
seqa sequence


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

Definition