The number of times the digit 3 will be written when listing the integers from 1 to 1000 is
Any number between 1 to 999 is a 3,digit number xyz
where the digits xyz are any digits from 0 to 9.
are any digits from 0 to 9.
Now, we first count the numbers in which 3 occurs once
only- Since, 3 can occur at one place in , ways, there
are such numbers