Problem 3821 · Hard
Use binomial counts to place each set bit of the answer from the highest position down.
Open the interactive visualisation