Mathematics (JEE)ModerateCAT · MBA placement
How many 4-digit numbers (1000 to 9999) contain the digit 7 at least once?
- A. 3000
- B. 3168
- C. 2916
- 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.
Practise more Permutations, Combinations and Probability questionsPermutations, Combinations and Probability: notes and key points
More Permutations, Combinations and Probability questions
- How many strings of length 6 over the digits 0 to 9 contain exactly two 3s?
- How many positive divisors of 10! are perfect squares?
- How many ordered pairs of positive integers (a, b) satisfy lcm(a, b) = 360?
- How many non-negative integer solutions of a + b + c + d = 8 satisfy 0 ≤ a, b, c, d ≤ 3?
- How many positive divisors of 2⁴ · 3³ · 5² are not divisible by 6?
- How many permutations of {1, 2, ..., 7} have exactly three fixed points (positions i with p(i) = i)?