Britannica
Sources used in this answer
Why does the number of subsets with no consecutive integers follow a Fibonacci-like pattern?
Created from Britannica articles
using AI.
AI can make mistakes, so verify using Britannica articles.
combinatorics
Figure 1: Ferrers' partitioning diagram for 14.
The number of subsets of the set that contain no two consecutive integers follows a Fibonacci-like pattern because of how these subsets are constructed. Let represent the number of such subsets for a set of size .
Any valid subset of falls into one of two mutually exclusive categories:
- Subsets that do not contain : These are simply valid subsets of , of which there are .
- Subsets that do contain : If a subset contains , it cannot contain due to the non-consecutive constraint. Therefore, the remaining elements must form a valid subset of , of which there are .
By summing these two cases, we arrive at the recurrence relation:
With initial values (the null set) and (the null set and ), this relation generates the sequence 1, 2, 3, 5, 8, and so on, mirroring the structure of the Fibonacci sequence.1