Madison had to number the 396 pages of her art notebook. How many digits would she have to write?

1-9 = 9

10-99 = 90*2
100-396 = 297*3
now add them up