There aren't going to be any 7's in the hundreds digit, so first we look at how many there will be in the ones digit.
Since there will be a 7 for every 10 numbers, and there are 501 numbers between 100 and 600 inclusive), we'll have floor(501 / 10) = 50 sevens in the ones digit.
For the tens digit, we'll encounter 10 sevens for every 100, from 70 to 79, and so we have floor(501 / 100) = 5 times we'll have 70 - 79 so that's 5 * 10 = 50 sevens in the tens digit.
However, we don't want to know how many sevens there are, we want to exclude overlaps. Thus we subtract every instance of 77 we see (overlap!), and we have floor(501 / 100) = 5 overlaps.
50 + 50 - 5 = 95, so a total of 95 numbers will have the digit 7 at least once.
176
There are 6484 digits BETWEEN the two given numbers.
223
There are 61328 of them.
I believe here are 51 such numbers.
176
I think its more then 20
Only one. 123456.
19 do.
Twenty of them from 9 to 99
There are 6484 digits BETWEEN the two given numbers.
223
123
The sum of the number of digits in all the numbers between 31 and 400 inclusive is 1041.
There are 61328 of them.
I believe here are 51 such numbers.
180