For , let denote the set of all subsets of with no two consecutive numbers. For example , but . Then is equal to ________
Solution
Core idea. Subsets without neighbours are counted by size or by a recurrence.
Concept refresher. The number of ways to choose numbers from with no two consecutive is
Picture the situation. The set is 1, 2, 3, 4, 5, and a subset is allowed when it never contains two neighbouring numbers such as 2 and 3. The empty set and the single-element sets qualify automatically. Larger subsets must leave a gap after each chosen number.
Approach. Count the allowed subsets of each size and add.
Step 1: Small subsets
The empty set is 1 subset and the single-element subsets are 5.
Step 2: Two or three elements
Two non-neighbouring numbers out of five can be chosen in ways, and three in way, namely 1, 3, 5. Four numbers cannot avoid neighbours.
Step 3: Add
So the number of such subsets is .
Answer. 13
Sanity check. The two-element subsets are 1 and 3, 1 and 4, 1 and 5, 2 and 4, 2 and 5, 3 and 5, which is six, as counted.
Smart method. Let be the count. A subset either omits , giving subsets, or contains and omits , giving . With and , the values run 5, 8, 13.
Common wrong answers
- 12: Leaving out the empty set gives 12; the empty set has no two consecutive numbers and belongs to the collection.
- 7: Counting only the subsets with two or three elements gives 7.
Key takeaway
The trap. The empty set and the single-element sets satisfy the condition too.
How toppers think. They recognise the recurrence in which each count is the sum of the two before it.
Remember.
More on Combinations
- A box contains 5 blue, 6 yellow and 4 red balls. The number of ways, of drawing 8 balls containing at least…
- Two players A and B play a series of games of badminton. The player, who wins 5 games first, wins the…
- Let pn denote the total number of triangles formed by joining the vertices of an n -side regular polygon. If…
- All 59 on Combinations ›