Why do this problem?
would make a good early morning challenge for children to have a go at while you're taking the register, for example. It requires limited knowledge about counting and place value, but is answered most efficiently using some sort of systematic way of working.
How many pages have just single-digit page numbers?
How many pages have two-digit page numbers ... etc?