Problem 3
For positive integer , let be the number of integers in whose binary expansion has exactly three s. Prove every positive integer occurs as , and determine all for which exactly one has .
Step 3 of 5: Characterize a unique
In plain words
Characterize a unique
Detailed analysis
Because increments are or , is unique exactly when both adjacent increments are , i.e. when and each have three s. Appending or removing the last binary digit shows this is equivalent to and each having two s.