How many 4 digit numbers contain number 2?
3170
3172
3174
3168
Explanation:
Total number of 4 digit numbers are 9000 (between 1000 and 9999).
We find the numbers without any two in them. So total numbers are 8 x 9 x 9 x 9 = 5832
So, numbers with number two in them = 9000 - 5832 = 3168