CSAT Solved Papers/ 2023/Q29
2023 CSAT — Q29
What is the sum of all digits which appear in all the integers from to ?
Worked rationale
Sum the digit-sums of every integer from to . Handle – by place value, then add separately.
Tens digits (–): the tens digit runs , each holding for a block of numbers, so each appears times:
Units digits (–): in each tens-block the units run –; there are blocks, so each unit digit – appears times:
So digits over – sum to .
Add : its digits are , contributing .
Answer: (b) 856.
Why the other options miss
- A off by one: computes the – total correctly but forgets to include , the boundary the question explicitly names.
- C missed a case: mis-counts the unit-digit frequency (e.g. blocks instead of ), inflating the units contribution.
- D an arithmetic slip: the (c)-style over-count plus the from , compounding the frequency error.
Specialist insight
Split the count by place value: tens digits appear times each (), units digits appear times each across the nine blocks (). The single most common leak is the boundary — the range is ” to ” inclusive, so contributes its , turning into . The deadliest distractor is exactly , engineered for the candidate who does the place-value work perfectly but ignores the endpoint.
– digit sum ; add 's digit (don't drop the endpoint) (b).