Circular Permutation in Binary Representation
Use the reflected Gray code and XOR it with start, so consecutive values, including the wrap, differ by one bit.
Use the reflected Gray code and XOR it with start, so consecutive values, including the wrap, differ by one bit.