I think this was the question:
How many pages are there in a book if the all the page numbers have 875 digits?
thanks guys
Lets first deal with the first 100 digits.
For 1,2,3,4,5,6,7,8,9
9 digits used for 9 pages.
Next, 10 -> 99
90 pages, 90*2 = 180 digits used.
So now we enter 3 digits, already having used 189 digits.
So 875-189 = 686 digits left.
That means 686 / 3 = 228.667 pages
So if we go from 100 -> 328, we used 684 digits to get there, therefore to get to 328 pages from 1, is to use 873 digits which is the maximum.