CSAT Solved Papers/ 2021/Q19
2021 CSAT — Q19
Integers are listed from to . In how many integers is the sum of the digits ?
Worked rationale
Every integer in except (digit sum ) is a -digit number with . Require , i.e. , with .
- : ways.
- : ways.
- : ways.
Total .
Answer: (d) 9.
Why the other options miss
- A missed a case: handles only the band or stops counting pairs once the obvious ones are found.
- B off by one: drops a boundary pair (e.g. omits or where one digit is ).
- C off by one: misses exactly one ordered pair, often forgetting or in the band.
Specialist insight
For “digit sum in a range” the move is to fix the leading digit and count ordered pairs for the remaining two — the number of solutions of with is just (when ). So the counts are : . This formula avoids hand-listing and the classic fencepost slip of dropping the pair with a . Remember is in the list but contributes nothing.
The trap, in one line
Pairs of number : (d).