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 5 of 5: Count the corresponding unique values
In plain words
Count the corresponding unique values
Detailed analysis
The interval is . Its three-one numbers are with , giving numbers, together with . Thus the unique values are exactly for integers , namely .