Following are the ten 2016-digit numbers with all their digits repeating in ascending (or increasing) order. What is the sum of the digits of the number obtained as a sum of these huge numbers?
0123456789012345678901234567890...123456789012345
123456789012345678901234567890...1234567890123456
23456789012345678901234567890...12345678901234567
3456789012345678901234567890...123456789012345678
456789012345678901234567890...1234567890123456789
56789012345678901234567890...12345678901234567890
6789012345678901234567890...123456789012345678901
789012345678901234567890...1234567890123456789012
89012345678901234567890...12345678901234567890123
9012345678901234567890...123456789012345678901234
Clarifications:
Despite leading with a 0, the first number has 2016 digits as well
Each of the numbers has a repeating part … 0 1 2 3 4 5 6 7 8 9 …
Try Part 1 of this problem as well.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Yeah! That's great.. it's exactly the same way that I expect to be followed to solve the problem.
Let S = 0 + 1 + 2 + . . . + 9 = 2 9 ⋅ 1 0 = 4 5 and let X be the total sum.
X = k = 0 ∑ 2 0 1 6 1 0 k S = 4 5 ⋅ k = 0 ∑ 2 0 1 6 1 0 k = 4 5 ⋅ 1 − 1 0 1 − 1 0 2 0 1 7 = 5 ⋅ 2 0 1 6 9 . . . 9 = 4 2 0 1 5 9 . . . 9 5 = − 5 ⋅ ( 1 − 1 0 2 0 1 7 )
Hence, the digital sum is Q ( X ) = 4 + 2 0 1 5 ⋅ 9 + 5 = 1 8 1 4 4 .
The proof of the fact that 5 ⋅ n 9 . . . 9 = 4 n − 1 9 . . . 9 5 is left as an exercise to the reader.
For convenience:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
|
It yields the same.
Problem Loading...
Note Loading...
Set Loading...
This is simply the addition of ten 2016-digit numbers (yes, the first number on the top of the list is considered a 2016-digit as well).
By columnar addition,
The sum of digits in the 1 st column (from the right) is 0 + 1 + 2 + ⋯ + 9 = 4 5 , so the carry over is c 1 = 4 and the final digit at the end of this columnar sum is 5.
The sum of digits in the 2 nd column (from the right) is 0 + 1 + 2 + ⋯ + 9 = 4 5 , with the addition of the carry over, c 1 = 4 , the final digit at the end of this columnar sum is 9, and its carry over is c 2 = 4 .
The sum of digits in the 3 rd column (from the right) is 0 + 1 + 2 + ⋯ + 9 = 4 5 , with the addition of the carry over, c 2 = 4 , the final digit at the end of this columnar sum is 9, and its carry over is c 3 = 4 .
.
.
.
The sum of digits in the 2 0 1 5 th column (from the right) is 0 + 1 + 2 + ⋯ + 9 = 4 5 , with the addition of the carry over, c 2 0 1 4 = 4 , the final digit at the end of this columnar sum is 9, and its carry over is c 2 0 1 5 = 4 .
The sum of digits in the 2 0 1 6 th column (from the right) is 0 + 1 + 2 + ⋯ + 9 = 4 5 , with the addition of the carry over, c 2 0 1 5 = 4 , the final digit at the end of this columnar sum is 9, and its carry over is c 2 0 1 6 = 4 .
The final value can be written as
4 2 0 1 5 times 9 9 9 9 9 … 9 5 .
And so the sum of digits of this number is 4 + 9 ( 2 0 1 5 ) + 5 = 9 ( 2 0 1 6 ) = 1 8 1 4 4 .