Sum of the Digits Used

The sum of all the digits used in writing the positive integers from 1 to 9 is 45. What is the sum of all the digits used in writing all the positive integers from 1 to 99?

Details and assumptions

If a digit is used multiple times, you should add them up separately.


The answer is 900.

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.

2 solutions

Vaibhav Prasad
Feb 22, 2015

Sum of digits from 1 1 to 9 9 is 45 45

This will come 10 10 times ( sum of all the units digits)

Sum of the tens digits from 10 10 to 19 = 10 19=10

Similarly we would get the sum of tens digits as 20 , 30 , 40.....90 20, 30,40.....90

The total sum would be ( 45 × 10 ) + ( 10 + 20 + 30..........90 ) (45\times 10) + (10 +20 +30..........90)

= 450 + 450 = 900 = 450 +450 =900

Awesome solution!!

Harsh Shrivastava - 6 years, 3 months ago
Calvin Lin Staff
May 13, 2014

The digit k k appears 10 times in the units place, and 10 times in the tens place. Hence, it is used 20 20 times in the positive integers from 1 to 99. Since the sum of the digits from 1 to 9 is 45, the total sum of all digits is 20 × 45 = 900 20 \times 45 = 900 .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...