How many times does the digit 9 appear in the list of all integers from 1 - 500?
9 cannot be in the first postion.
2nd position but not third
5*1*9=45
3rd position but not second
5*9*1=45
2nd and third position
5*1*1=5 2 each so that is 10
45+45+10=100