Mathematics (JEE)Very hard
How many 3-element subsets of {1, 2, …, 9} contain no two numbers whose difference is exactly 2?
- A. 77
- B. 35
- C. 40
- D. 47
Correct answer: C. 40
Total C(9,3) = 84. Use complementary counting on the pairs with difference 2 (there are 7 such pairs), with inclusion–exclusion for triples containing two such pairs. The count of valid subsets is 40.
Practise more Permutations, Combinations and Probability questionsPermutations, Combinations and Probability: notes and key points
More Permutations, Combinations and Probability questions
- Four married couples sit in a row of eight chairs. In how many seatings is no couple seated next to each other?
- How many six-digit numbers have their digits in non-decreasing order from left to right (for example 112237) and contain exactly two…
- The letters A, A, B, B, C, C, D, D are arranged in a row in all distinct ways. How many arrangements have no two identical letters next to…
- Three cells are chosen from a 3 × 3 grid so that no two of them lie in the same row or the same column. How many ways are there to choose…
- Ordered triples (a, b, c) are chosen from {1, 2, …, 10} with a < b and c ≥ b. How many such triples are there?
- How many four-digit numbers are divisible by 3 and have every digit odd?