A printer numbers the pages of a book starting with 1 and uses 3189 digits in all. How many pages does the book have ?

Question: A printer numbers the pages of a book starting with 1 and uses 3189 digits in all. How many pages does the book have ?
[A].

1000

[B].

1074

[C].

1075

[D].

1080

Answer: Option B

Explanation:

No. of digits in 1-digit page nos. = 1×9 = 9.

No. of digits in 2-digit page nos. = 2 x 90 = 180.

No. of digits in 3-digit page nos. = 3 x 900 = 2700.

No. of digits in 4-digit page nos. = 3189 – (9 + 180 + 2700) = 3189 – 2889 = 300.

Therefore No. of pages with 4-digit page nos. = (300/4) = 75.

Hence, total number of pages = (999 + 75) = 1074.