Subsets without two consecutive integers
Statement
- Let be the number of subsets of (including the empty set) that contain no two consecutive integers. Prove that , where and .
- Prove that the number of -element subsets of without two consecutive integers is .
Hint
For part 1, split according to whether belongs to the subset. For part 2, subtract from the -th smallest element.
Show solutionHide solution
Solution
1. Recurrence. Take and split the admissible subsets of into two classes.
- Those not containing : they are exactly the admissible subsets of , so there are .
- Those containing : they do not contain , and removing leaves an admissible subset of ; conversely adding to such a subset is admissible. So there are .
Hence . The initial values are and , which are and . By induction .
2. Bijection. Let be an admissible subset, so . Define . Then , so , and , . Conversely, from any -subset of , setting gives an admissible subset. These maps are inverse, so the count is .
Check. Summing over gives .
Lesson. Recurrence by conditioning on the last element, and bijections that "squeeze out" a constraint.