UPSC Prelims 2026 CSAT Q49 · Numeracy
Year2026
PaperCSAT
QuestionQ49
SubjectNumeracy
How many times does 5 appear in all two-digit positive integers?
- a18
- b19
- c20
- d21
Show answer & explanationHide answer
Correct answer(b) 19
The digit 5 appears 10 times in the tens place (50 to 59) and 9 times in the units place (15 to 95) among two-digit numbers, giving 10 + 9 = 19 total occurrences.
Statement-by-statement analysis
✗ Option (a)
- Incorrect.
- 18 represents the number of distinct two-digit integers containing the digit 5 at least once, rather than the total count of the digit 5.
- This result misses counting the second 5 present in the number 55.
✓ Option (b)
- Correct.
- Two-digit positive integers range from 10 to 99.
- Tens place count: 50, 51, 52, 53, 54, 55, 56, 57, 58, 59 contains 10 occurrences of digit 5.
- Units place count: 15, 25, 35, 45, 55, 65, 75, 85, 95 contains 9 occurrences of digit 5.
- Total occurrences = 10 + 9 = 19.
✗ Option (c)
- Incorrect.
- 20 is the total number of times the digit 5 appears in numbers from 1 to 100.
- Since single-digit positive integers (like 5) must be excluded, the correct count is 20 - 1 = 19.
✗ Option (d)
- Incorrect.
- 21 is an overcount resulting from incorrectly adding extra occurrences or miscalculating the range of two-digit numbers.
Concept to know
- Two-digit positive integers include all whole numbers from 10 to 99 inclusive.
- Distinguish clearly between counting total occurrences of a digit versus counting unique numbers containing that digit.
- Use place-value decomposition: count occurrences of the target digit in the units place and tens place independently.
- In any complete 10-number block of tens (e.g., 50 to 59), the tens digit contributes exactly 10 occurrences.
- Across all 9 decades of two-digit numbers (10-19, 20-29, ..., 90-99), any non-zero digit appears once in the units place per decade, yielding 9 occurrences.
- Numbers with identical repeated digits like 55 correctly contribute 1 count to the tens place and 1 count to the units place.
Related facts for revision
- Any non-zero digit (1 to 9) appears exactly 20 times in numbers from 1 to 100.
- The digit 0 appears 9 times in two-digit numbers (10, 20, 30, ..., 90).
- The total number of integers containing at least one occurrence of a specific non-zero digit in the range 10-99 is 18.
- Systematic place-value counting avoids mistakes when handling higher ranges like 1 to 1000.
How UPSC tests this
Testing systematic place-value counting and the ability to differentiate between digit frequency and number frequency.
Trap: A common mistake is giving 18 by counting 55 only once (counting numbers instead of digit occurrences) or giving 20 by accidentally including single-digit 5.
← Previous · Q48Consider the following statements: Every red is blue. Every blue is green.…Next · Q50 →X travels 6 km on a bicycle with average speeds of 5 km per hour, 10 km per…
More Numeracy PYQs
A natural number N is such that it can be expressed as N = p + q + r, where p, q and r are distinct factors of N. How many numbers below 50 have this property ?
See the answer & explanation →
Three prime numbers p, q and r, each less than 20, are such that p - q = q - r. How many distinct possible values can we get for (p + q + r) ?
See the answer & explanation →
How many possible values of (p + q + r) are there satisfying 1/p + 1/q + 1/r = 1, where p, q and r are natural numbers (not necessarily distinct) ?
See the answer & explanation →
Team X scored a total of N runs in 20 overs. Team Y tied the score in 10% less overs. Had team Y's average run rate (runs per over) been 50% higher, the scores would have been tied in 12 overs. How many runs were scored by team…
See the answer & explanation →Answer from the official UPSC answer key. Explanation by the EdiShorts editorial team.