A Number Theory textbook has N pages, numbered the usual way, from 1 to N.
The total number of digits in the page numbers is 2832.
How many pages does the textbook have?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
The first 9 pages each contribute 1 digit, but then the pages 10 to 99 have 2 digits, and the pages 100 to 999 have 3 digits.
So we can write a formula...
Digits in book = N if N<9
Digits in book = 2N-9 if 10<N<99
Digits in book = 3N-99-9 if 100<N<999
3N-108= 2832
N= 980.
Note---(At 100 pages, the book has 191 digits, and at 999 pages, the book would have 2889, so we know the answer is somewhere from 100 to 999.)