Technique
Counting how often a digit is used: count each place separately
Quantitative Aptitude • Number System
Statement
Each number is written with a units digit, a tens digit and so on. A digit like 5 can appear in more than one place in the same number (55 uses two 5s). So count each place on its own. Units place: 5 appears once in every 10 numbers. Tens place: 5 appears in a block of 10 numbers (50 to 59) in every 100. Hundreds place: in a block of 100 (500 to 599) in every 1000. Then add.
How to use it
- 1Units place: count numbers ending in the digit up to .
- 2Tens place: count full blocks like 50–59, 150–159, and any part block at the end.
- 3Hundreds place: the same with blocks of 100.
- 4Add the counts; a number like 55 is rightly counted twice.
Worked example
How many times is the digit 3 written when numbering pages 1 to 140?
Step-by-step
- 1Units place: 3, 13, …, 133: 14 times.
Why: One in every ten, and 133 is the last below 140.
- 2Tens place: 30–39 and 130–139: 20 times.
- 3Hundreds place: none below 300. Total .
Answer
34
Watch out
Counting numbers that contain the digit, instead of digits written, misses the second 5 in 55. Also check the last, part-filled block.