A printer numbers the pages of a book starting with 1 and uses 3189 digits in all. How many pages does the book have ? Answers:
A) 1000
B) 1074
C) 1075
D) 1080
E) 1089
Explanation:   No. of digits in 1-digit page nos. = 1x9 = 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= 
<gadget id="calculator">3189 - 2889</gadget>
<output>300</output>
300.   Therefore No. of pages with 4-digit page nos.= (300/4)= 
<gadget id="calculator">(300/4)</gadget>
<output>75</output>
75.   Hence, total number of pages= (999 + 75)= 
<gadget id="calculator">(999 + 75)</gadget>
<output>1_074</output>
1074.   Answer: 1074
<result>B</result>
A printer numbers the pages of a book starting with 1 and uses 3189 digits in all. How many pages does the book have ?