Problem 3133 · Medium
Write the bits of n minus one into the zero positions of x, from the lowest free position upward.
Open the interactive visualisation