The pages of a book are numbered $1$, $2$, $3$, $\dots$ In total, it takes $852$ digits to number all the pages of the book.
What is the number of the last page?
If you liked this problem, here is an NRICH task
that challenges you to use similar mathematical ideas.
This problem is taken from the UKMT Mathematical Challenges.