Number TheorySuperchallengeDigits and Bases
Digits and Bases · Superchallenge problem
How many positive integers less than have strictly more s than s in their base-2 representation (written without leading zeros)?
How many positive integers less than have strictly more s than s in their base-2 representation (written without leading zeros)?