Over the course of numbering every pages in a book, a typist types 2,929 individual digits.
Can you figure out the number of pages on the book?
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.
Let the number of pages of a book be p and the total number of digits of the page numbers be d ( p ) . Then we note that:
d ( 9 ) d ( 9 9 ) d ( 9 9 9 ) ⟹ d ( p ) ⟹ 4 ( p − 9 9 9 ) ⟹ p = page 1 to 9 9 = 1 → 9 9 + 1 0 → 9 9 2 ( 9 9 − 9 ) = 1 8 9 = 1 → 9 9 1 8 9 + 1 0 0 → 9 9 9 3 ( 9 9 9 − 9 9 ) = 2 8 8 9 = 1 → 9 9 9 2 8 8 9 + 1 0 0 0 → p 4 ( p − 9 9 9 ) = 2 9 2 9 = 2 9 2 9 − 2 8 8 9 = 4 2 9 2 9 − 2 8 8 9 + 9 9 9 = 1 0 0 9
1 2 3 4 5 6 |
|
Great job.
Problem Loading...
Note Loading...
Set Loading...
From page 1 to page 9 we need 9 digits.
From page 10 to page 99 we need ( 9 9 − 1 0 + 1 ) × 2 = 1 8 0 digits.
From page 100 to page 999 we need ( 9 9 9 − 1 0 0 + 1 ) × 3 = 2 7 0 0 digits.
There are 2 9 2 9 − 9 − 1 8 0 − 2 7 0 0 = 4 0 more to number four-number pages so ( a − 1 0 0 0 + 1 ) × 4 = 4 0 ( 1 ) with a is the final page's number.
Solve equation (1) for a = 1 0 0 9 .
(I did many of these kinds of problem when I was in Grade 5)