if i have abook of 30 pages and i number each pages, how can i figure the digit number

Which digit number? Start with 1 and go to 30.