Mathematics (JEE)HardJEE Advanced
The number of subsets of {1, 2, …, 8} (the empty set included) that contain no three consecutive integers is:
- A. 201
- B. 128
- C. 149
- D. 144
Correct answer: C. 149
Let aₙ be the count for {1..n}. Then aₙ = aₙ₋₁ + aₙ₋₂ + aₙ₋₃ with a₀ = 1, a₁ = 2, a₂ = 4. This gives 7, 13, 24, 44, 81, 149 for n = 3..8.
Practise more Sets, Relations and Functions questionsSets, Relations and Functions: notes and key points
More Sets, Relations and Functions questions
- For f(x) = x² − x − 1, the number of distinct real solutions of f(f(x)) = x is:
- The number of functions f: {1, 2, 3, 4} → {1, 2, 3, 4} for which f ∘ f is a constant function is:
- The number of functions f: {1, 2, 3, 4, 5} → {1, 2, 3, 4} for which f(1) + f(2) + f(3) + f(4) + f(5) is divisible by 3 is:
- The number of subsets of {1, 2, …, 9} (the empty set included) whose elements add up to a multiple of 3 is:
- The number of real solutions of x² − 4[x] + 3 = 0, where [x] is the greatest integer ≤ x, is:
- The number of ordered pairs (S, T) of disjoint subsets of {1, 2, …, 10} with |S| = |T| is: