Choosing Subsets Without Consecutive Integers (2006 AMC 12A #25)
Choosing subsets without consecutive integers (in one form or another) is a problem that comes up quite frequently in harder problems. This approach to solving those problems is both simple and useful.
To find a possible subset of {1, 2, 3, ..., x} that does not contain consecutive integers, we can first note that integers of a subset must have a "space" or integer between them. Next, the key to this approach is to think of all x integers in the set as dots. By ordering specific dots in a sequence, we can map the chosen (or red) dots to the chosen integers in the subset.
Now we have that chosen dots are red, so let the "non-chosen" dots be green. But all the orderings include consecutive integers, so we need to remove some "buffer" dots that can later be added between the chosen dots.
So suppose we need to find the total number of 3 integer subsets of {1, 2, 3, ..., 7} such that no two integers are consecutive. Then we have 2 "buffer dots" to be removed, 3 red (chosen) dots, and 2 green (non-chosen) dot. Thus our total would be 5C3 = 5C2 = 10 sequences of dots, each corresponding to a legal subset.
You may be wondering, how can you be sure of the 1-to-1 correlation (or bijection)? Let's look at a sequence: RRGGR. After inserting the "buffer" dots back in right after the R's we get RBRBGGR = {1, 3, 7}. No other sequence of dots can give the same sequence/set because the buffers cannot be replaced by the non-chosen dots. Thus, the buffers do not impact the sequence's "uniqueness"; it only determines which integers are chosen.
[Example 1] Here is a simple example to illustrate the idea: Suppose you have a set S:{1, 2, 3, 4, 5, 6}. We want to find the number of ways to choose a subset of S such that no two consecutive integers are included.
To tackle this problem, we can break it down based on how many integers the subset contains.
First, we have 0 integers, which gives us 6C0 = 1 case.
Then, to choose 1 integer, we have 6C1 = 6 cases.
Now we have 2 integers, which requires 1 buffer dot with 5 remaining dots to choose 2 from. So this equals 5C2 = 10.
Next 3 integer subsets require 2 buffer dots with 4 remaining dots to choose 3 from. This results in 4C3 = 4C1 = 4 possibilities.
Now see that 3 is the maximum number of elements in the set because 4 would not work. Thus our total is 1 + 6 + 10 + 4 = 21 total subsets.
Here is an AMC 12 problem utilizing this idea. This should give you a better idea of how it works. Try it on your own first and then refer to the solution.
[Example 2] 2006 AMC 12A #25: How many non-empty subsets S of {1, 2, 3, ... , 15} have the following properties?
(1) No two consecutive integers belong to S.
(2) If S contains k elements, then S contains no number less than k.
Solution: First we can group our cases by k, which ranges from 1 to 5.
In case 1 (where k = 1) we have the set {1, ..., 15}, so our total is 15C1 = 15.
In case 2 (k = 2) our set becomes {2, ..., 15}. We have 1 buffer dot with 13 remaining dots to choose 2 from, so our total is 13C2 = 78.
In case 3 (k = 3), our set is {3, ..., 15}. With 2 buffers and 11 remaining dots, we see our answer is 11C3 = 165.
In case 4 (k = 4), the set is {4, ..., 15} with 3 buffers. Thus we get 9C4 = 126.
Finally in case 5 (k = 5), we have the set {5, ..., 15} with 4 buffers which results in 7C5 = 7C2 = 21.
Thus our total number is 15 + 78 + 165 + 126 + 21 = 405 total subsets.
Comments
Post a Comment