← All problems

Ones in Binary from 1 to 128

Number Theory · 27th PMO Qualifying Stage 1542
John wrote down the numbers 1 to 128 in binary. How many 1's did he write?