EdiShorts

UPSC Prelims 2023 CSAT Q29 · Numeracy

Year2023
PaperCSAT
QuestionQ29
SubjectNumeracy

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

  1. a855
  2. b856
  3. c910
  4. d911
Show answer & explanationHide answer
Correct answer(b) 856

The sum of digits from 10 to 99 is 855 (450 from tens place and 405 from units place), and adding the digit sum of 100 (which is 1) gives 856.

Statement-by-statement analysis

✗ Option (a)
  • This value of 855 represents the sum of digits of integers from 10 to 99 only.
  • It ignores the upper boundary integer 100, whose digits sum to 1 + 0 + 0 = 1.
  • Failing to add the digit sum of 100 leads to this undercounted answer.
✓ Option (b)
  • Tens digits from 10 to 99 contribute 10 × (1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9) = 450.
  • Units digits from 10 to 99 contribute 9 × (0 + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9) = 405.
  • Adding the digits of 100 (1 + 0 + 0 = 1) yields 450 + 405 + 1 = 856.
✗ Option (c)
  • The total sum of digits from 1 to 99 is 900.
  • This option is an incorrect calculation that overcounts the required digit sum.
  • Subtracting the single-digit range 1 to 9 (sum of 45) from 900 gives 855, not 910.
✗ Option (d)
  • The total sum of digits from 1 to 100 is 901.
  • This option results if one incorrectly adds digits of 10 to 100 without removing single digits 1 to 9.
  • Subtracting 45 (digits from 1 to 9) from 901 yields the correct answer of 856.

Concept to know

  • Break down multi-digit numbers into place values (tens and units) to calculate digit sums systematically.
  • In any block of 10 consecutive two-digit numbers (such as 20 to 29), the tens digit appears 10 times.
  • The sum of numbers from 1 to 9 is calculated using n × (n + 1) / 2 = 9 × 10 / 2 = 45.
  • For integers 10 to 99, tens digits 1 through 9 each appear 10 times, contributing 10 × 45 = 450.
  • For integers 10 to 99, units digits 0 through 9 each appear 9 times across the 9 full tens blocks, contributing 9 × 45 = 405.
  • For non-standard range boundaries like 100, calculate its digit sum individually (1 + 0 + 0 = 1) and add to the main sum.

Related facts for revision

  • Sum of digits from 1 to 99 equals 20 × 45 = 900 because each digit 1 to 9 appears 20 times in total.
  • Sum of digits from 1 to 100 equals 900 + 1 = 901.
  • Frequency of a digit: any non-zero digit appears exactly 20 times in the integers from 1 to 100.
  • Difference between sum of numbers and sum of digits: sum of actual integers from 10 to 100 is n/2 × (first + last) = 91/2 × 110 = 5005.
How UPSC tests this

Ability to count digit frequencies systematically using place-value logic rather than manual addition.

Trap: Forgetting to include the final boundary number 100 (leading to 855) or forgetting to exclude single-digit numbers 1 to 9.

More Numeracy PYQs

All Numeracy questions →

Answer from the official UPSC answer key. Explanation by the EdiShorts editorial team.