EdiShorts

UPSC Prelims 2026 CSAT Q49 · Numeracy

Year2026
PaperCSAT
QuestionQ49
SubjectNumeracy

How many times does 5 appear in all two-digit positive integers?

  1. a18
  2. b19
  3. c20
  4. 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.

More Numeracy PYQs

All Numeracy questions →

Answer from the official UPSC answer key. Explanation by the EdiShorts editorial team.