A very large book has pages numbered from 1 to 11521. How many times is the digit 3 printed?

6 answers

I get 4502

counted using bash:

for i in `seq 1 11521` ; do echo $i ; done | tr -c -d '3' | wc -c
thx steve
how many digit "3s" r there from 1-1,521?
A book has 500 pages numbered 1, 2, 3 and so on. How many times does the digit one appear in the page numbers?
die
4482