Maths Olympiad Prep

Library / /23 of 28

Combinatorics Difficulty 5.1 AIME, harder Prove it Philippines

Problem:

The irrational number 0.1234567891011120.123456789101112 \ldots is formed by concatenating, in increasing order, all the positive integers. Find the sum of the first 2016 digits of this number after the decimal point.

Solution

Solution:

From 00 to 9999, there are 1010 occurrences of 00 to 99 in the ones place, and ten iterations of 00 to 99 in the tens place. Thus, the total digit sum from 00 to 9999 is 20(45)=90020(45)=900.

From 100100 to 699699, there are 66 occurrences of 00 to 9999, plus 100100 iterations each of 00 to 66 (in the hundreds digit), which gives us a digit sum of 100(21)+6(900)=7500100(21)+6(900)=7500.

This gives the numbers 700,701,702,703,704,705,706,707,708700,701,702,703,704,705,706,707,708. These have a sum of 9999.

Combining everything we have, we obtain a total digit sum of 900+7500+99=8499900+7500+99=8499.

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.