By signing in you confirm you are 18 or older, or have your parent’s or guardian’s consent.

UPSC Prelims 2023 CSAT, question 29

Topic: Number system

Q29

What is the sum of all digits which appear in all the integers from 10 to 100 ?

  1. (a) 855
  2. (b) 856Correct answer
  3. (c) 910
  4. (d) 911

Solution.

Answer: (b) 856

  1. In the 9090 two-digit integers from 1010 to 9999, each tens digit 1,2,…,91, 2, \dots, 9 appears 1010 times (contributing 10×45=45010 \times 45 = 450) and each units digit 0,1,…,90, 1, \dots, 9 appears 99 times (contributing 9×45=4059 \times 45 = 405).
  2. Adding the digits of 100100 (1+0+0=11 + 0 + 0 = 1) gives a total digit sum of 450+405+1=856450 + 405 + 1 = 856.