100-199 has 19 numbers
200-299 has 100 numbers
300-399 has 19 numbers
400-499 has 19 numbers
500-599 has 19 numbers
600-699 has 19 numbers
700-799 has 19 numbers
800-899 has 19 numbers
900-999 has 19 numbers
(8x19)+100 = 152 + 100 = 252
252 three digit numbers contain the digit 2
874
17
There are 9000 4-digit numbers. 8*9*9*9 = 5832 of them do not contain a 5 The remaining 3168 contain a 5.
-2
-5
648
874
27: 077,177,277,377,477,577,677,877,977,717,727,737,747,757,767,777,787,797
17
There are 9000 4-digit numbers. 8*9*9*9 = 5832 of them do not contain a 5 The remaining 3168 contain a 5.
-2
1
-5
It would help to know which digit. 0 appears in 9 numbers and each of the others in 18 numbers.
252
There are 6804 such numbers.
A lot