EdiShorts

UPSC Prelims 2024 CSAT Q45 · Numeracy

Year2024
PaperCSAT
QuestionQ45
SubjectNumeracy

What is the number of fives used in numbering a 260-page book?

  1. a55
  2. b56
  3. c57
  4. d60
Show answer & explanationHide answer
Correct answer(b) 56

The digit 5 appears 20 times from 1 to 99, 20 times from 100 to 199, and 16 times from 200 to 260, giving a total of 56 fives.

Statement-by-statement analysis

✗ Option (a)
  • Option (a) gives 55 fives, which undercounts the digit 5 by 1.
  • This mistake occurs if the double presence of 5 in 255 is missed or if one of the tens place occurrences from 250 to 259 is skipped.
✓ Option (b)
  • From 1 to 99, the digit 5 appears 10 times in units place (5, 15, ..., 95) and 10 times in tens place (50, 51, ..., 59), giving 10 + 10 = 20 times.
  • From 100 to 199, the digit 5 appears 10 times in units place (105, 115, ..., 195) and 10 times in tens place (150, 151, ..., 159), giving 10 + 10 = 20 times.
  • From 200 to 260, the digit 5 appears 6 times in units place (205, 215, 225, 235, 245, 255) and 10 times in tens place (250, 251, ..., 259), giving 6 + 10 = 16 times.
  • Adding all sections: 20 + 20 + 16 = 56.
✗ Option (c)
  • Option (c) gives 57 fives, which overcounts by 1 five.
  • This occurs if the end boundary 260 is wrongly assumed to contain a digit 5 or if 255 is counted three times.
✗ Option (d)
  • Option (d) gives 60 fives, which incorrectly assumes that the range 200 to 299 is complete.
  • Calculating 20 + 20 + 20 = 60 includes numbers beyond page 260 (up to 299), which are not present in a 260-page book.

Concept to know

  • Standard Rule for Digit Frequency: In any block of 100 consecutive numbers (e.g., 1 to 100), any non-zero digit appears exactly 20 times (10 times in the units place and 10 times in the tens place).
  • Sub-range breakdown method: Divide the total page count into complete 100-number blocks and a remaining partial block for systematic counting.
  • Units place frequency: A non-zero digit occurs once in every block of 10 consecutive numbers.
  • Tens place frequency: A non-zero digit occurs 10 consecutive times in a block of 100 numbers (from X50 to X59).
  • Hundreds place frequency: A digit occurs 100 consecutive times in its dedicated hundred block (e.g., from 500 to 599).

Related facts for revision

  • Counting total digits needed to number a book of N pages (1 to 9 require 1 digit each, 10 to 99 require 2 digits each, 100 to N require 3 digits each).
  • Frequency of zero in 1 to 100: zero appears 11 times (10, 20, 30, 40, 50, 60, 70, 80, 90, 100).
  • Finding page number given total digit count by setting up range-based equations.
  • Independent position analysis for partial ranges (units, tens, hundreds counted separately).
How UPSC tests this

Combinatorics of digit frequency and systematic range decomposition.

Trap: Counting 255 as a single five instead of two fives, or adding 20 fives for the entire 200-299 range without stopping at 260.

More Numeracy PYQs

All Numeracy questions →

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