How many times will the digit `7' be written when writing the integers from 1 to 1000?
300
The possibilities of the number '7' from 001 to 999 are -
7 __ __ = 1 x 10 x 10 = 100 7s'.
7 __ = 10 x 1 x 10 = 100 7s'.
7 = 10 x 10 x 1 = 100 7s'.
∴ The number of times 7 will be written when listing the numbers from 1 to 1000 is 300.