Question: 1 to 1000 how many 5?
Answer: 5 in it. 1+8+9+2+72+72+81+18+18+16+3 = 300 times 5 used in the numbers between 1 to 1000 (i.e in the above 271 numbers).