CSAT Solved Papers/ 2023/Q29

2023 CSAT — Q29

Quant Number theory 2.5 marks Medium

What is the sum of all digits which appear in all the integers from 1010 to 100100?

  1. A 855
  2. B 856 Answer
  3. C 910
  4. D 911

Worked rationale

Sum the digit-sums of every integer from 1010 to 100100. Handle 10109999 by place value, then add 100100 separately.

Tens digits (10109999): the tens digit runs 1,2,,91, 2, \dots, 9, each holding for a block of 1010 numbers, so each appears 1010 times:

10×(1+2++9)=10×45=450.10\times(1 + 2 + \cdots + 9) = 10 \times 45 = 450.

Units digits (10109999): in each tens-block the units run 0099; there are 99 blocks, so each unit digit 0099 appears 99 times:

9×(0+1++9)=9×45=405.9\times(0 + 1 + \cdots + 9) = 9 \times 45 = 405.

So digits over 10109999 sum to 450+405=855450 + 405 = 855.

Add 100100: its digits are 1,0,01, 0, 0, contributing 11.

855+1=856.855 + 1 = 856.

Answer: (b) 856.

Why the other options miss

  • A
    off by one: computes the 10109999 total correctly but forgets to include 100100, the boundary the question explicitly names.
  • C
    missed a case: mis-counts the unit-digit frequency (e.g. 1010 blocks instead of 99), inflating the units contribution.
  • D
    an arithmetic slip: the (c)-style over-count plus the +1+1 from 100100, compounding the frequency error.

Specialist insight

Split the count by place value: tens digits appear 1010 times each (450450), units digits appear 99 times each across the nine blocks (405405). The single most common leak is the boundary — the range is ”1010 to 100100inclusive, so 100100 contributes its 11, turning 855855 into 856856. The deadliest distractor is exactly 855855, engineered for the candidate who does the place-value work perfectly but ignores the endpoint.

The trap, in one line

10109999 digit sum =450+405=855= 450 + 405 = 855; add 100100's digit 18561 \Rightarrow 856 (don't drop the endpoint) == (b).

← All 2023 CSAT questions