Mathematics (JEE)ModerateCAT · MBA placement

How many 4-digit numbers (1000 to 9999) contain the digit 7 at least once?

  1. A. 3000
  2. B. 3168
  3. C. 2916
  4. D. 3240

Correct answer: B. 3168

Complement: the first digit has 8 choices (non-zero, not 7) and the other three have 9 each, so 8 × 9³ = 5832 numbers avoid 7. Hence 9000 − 5832 = 3168.

More Permutations, Combinations and Probability questions

Exams that ask this topic