Problem 4
Prove that for every positive integer there is a unique permutation of such that, for every , the binomial coefficient is odd and .
Step 2 of 6: A bit-count identity
Detailed analysis
Since and (appending a binary digit), a short induction on shows : each step splits the sum over consecutive integers into a sum over smaller integers plus one extra set bit per pair .