Difference between revisions of "2007 AMC 12A Problems/Problem 25"
m (→Solution 2) |
(New solution) |
||
Line 40: | Line 40: | ||
In general, the number of subsets of a set with <math>n</math> elements and with no <math>k</math> consecutive numbers is <math>\sum^{\lfloor{\frac{n}{k}}\rfloor}_{i=0}{{n-(k-1)(i-1) \choose i}}</math>. | In general, the number of subsets of a set with <math>n</math> elements and with no <math>k</math> consecutive numbers is <math>\sum^{\lfloor{\frac{n}{k}}\rfloor}_{i=0}{{n-(k-1)(i-1) \choose i}}</math>. | ||
+ | |||
+ | === Solution 4 (Casework) === | ||
+ | Let us consider each size of subset individually. Since each integer in the subset must be at least <math>3</math> away from any other integer in the subset, the largest spacey subset contains <math>4</math> elements. | ||
+ | |||
+ | |||
+ | First, it is clear that there is <math>1</math> spacey set with <math>0</math> elements in it, the empty set. Next, there are <math>12</math> spacey subsets with <math>1</math> element in them, one for each integer <math>1</math> through <math>12</math>. | ||
+ | |||
+ | |||
+ | Now, let us consider the spacey subsets with <math>2</math> elements in them. If the smaller integer is <math>1</math>, the larger integer is any of the <math>9</math> integers from <math>4</math> to <math>12</math>. If the smaller integer is <math>2</math>, the larger integer is any of the <math>8</math> integers from <math>5</math> to <math>12</math>. This continues, up to a smaller integer of <math>9</math> and <math>1</math> choice for the larger integer, <math>12</math>. This means that there are <math>9 + 8 + \cdots + 1 = 45</math> spacey subsets with <math>2</math> elements. | ||
+ | |||
+ | |||
+ | For spacey subsets with <math>3</math> elements, we first consider the middle integer. The smallest such integer is <math>4</math>, and it allows for <math>1</math> possible value for the smaller integer (<math>1</math>) and possible <math>6</math> values for the larger integer (<math>7</math> through <math>12</math>), for a total of <math>1 \cdot 6 = 6</math> possible subsets. The next middle integer, <math>5</math>, allows for <math>2</math> smaller integers and <math>5</math> larger integers, and this pattern continues up until the middle integer of <math>9</math>, which has <math>6</math> values for the smaller integer and <math>1</math> value for the larger integer. This means that there are <math>1 \cdot 6 + 2 \cdot 5 + \cdots + 6 \cdot 1 = 56</math> spacey subsets with <math>3</math> elements. | ||
+ | |||
+ | |||
+ | Lastly, there are <math>3</math> main categories for spacey subsets with <math>4</math> elements, defined by the difference between their smallest and largest values. The difference ranges from <math>9</math> to <math>11</math>. If it is <math>9</math>, there is only <math>1</math> set of places to put the two middle values (<math>n + 3</math> and <math>n + 6</math>, where <math>n</math> is the smallest value). Since there are <math>3</math> possible sets of smallest and largest values, there are <math>1 \cdot 3 = 3</math> sets in this category. If the difference is <math>10</math>, there are now <math>3</math> sets of places to put the two middle values (<math>n + 3</math> and <math>n + 6</math> or <math>7</math>, and <math>n + 4</math> and <math>n + 7</math>). There are <math>2</math> possible sets of smallest and largest values, so there are <math>3 \cdot 2 = 6</math> sets in this category. Finally, if the difference is <math>11</math>, there are <math>6</math> possible sets of places to put the two middle values (<math>n + 3</math> and <math>n + 6</math>, <math>7</math>, or <math>8</math>, <math>n + 4</math> and <math>n + 7</math> or <math>8</math>, and <math>n + 5</math> and <math>n + 8</math>) and one possible set of smallest and largest values, meaning that there are <math>6 \cdot 1 = 6</math> sets in this category. Adding them up, there are <math>3 + 6 + 6 = 15</math> spacey subsets with <math>4</math> elements. | ||
+ | |||
+ | |||
+ | Adding these all up, we have a total of <math>1 + 12 + 45 + 56 + 15 = \boxed{\mathrm{(E)}\ 129}</math> spacey subsets. ~[[User:emerald_block|emerald_block]] | ||
== See also == | == See also == |
Revision as of 14:07, 22 March 2020
Problem
Call a set of integers spacy if it contains no more than one out of any three consecutive integers. How many subsets of including the empty set, are spacy?
Contents
Solution
Solution 1
Let denote the number of spacy subsets of . We have .
The spacy subsets of can be divided into two groups:
- those not containing . Clearly .
- those containing . We have , since removing from any set in produces a spacy set with all elements at most equal to and each such spacy set can be constructed from exactly one spacy set in .
Hence,
From this recursion, we find that
1 | 2 | 3 | 4 | 6 | 9 | 13 | 19 | 28 | 41 | 60 | 88 | 129 |
And so the answer is .
Solution 2
Since each of the elements of the subsets must be spaced at least two apart, a divider counting argument can be used.
From the set we choose at most four numbers. Let those numbers be represented by balls. Between each of the balls there are at least two dividers. So for example, o | | o | | o | | o | | represents .
For subsets of size there must be dividers between the balls, leaving dividers to be be placed in spots between the balls. The number of way this can be done is .
Therefore, the number of spacy subsets is .
Solution 3
A shifting argument is also possible, and is similar in spirit to Solution 2. Clearly we can have at most elements. Given any arrangment, we subract from the element in our subset, when the elements are arranged in increasing order. This creates a bijection with the number of size subsets of the set of the first positive integers. For instance, the arrangment o | | o | | o | | | o | corresponds to the arrangment o o o | o |. Notice that there is no longer any restriction on consectutive numbers. Therefore, we can easily plug in the possible integers 0, 1, 2, 3, 4, 5 for :
In general, the number of subsets of a set with elements and with no consecutive numbers is .
Solution 4 (Casework)
Let us consider each size of subset individually. Since each integer in the subset must be at least away from any other integer in the subset, the largest spacey subset contains elements.
First, it is clear that there is spacey set with elements in it, the empty set. Next, there are spacey subsets with element in them, one for each integer through .
Now, let us consider the spacey subsets with elements in them. If the smaller integer is , the larger integer is any of the integers from to . If the smaller integer is , the larger integer is any of the integers from to . This continues, up to a smaller integer of and choice for the larger integer, . This means that there are spacey subsets with elements.
For spacey subsets with elements, we first consider the middle integer. The smallest such integer is , and it allows for possible value for the smaller integer () and possible values for the larger integer ( through ), for a total of possible subsets. The next middle integer, , allows for smaller integers and larger integers, and this pattern continues up until the middle integer of , which has values for the smaller integer and value for the larger integer. This means that there are spacey subsets with elements.
Lastly, there are main categories for spacey subsets with elements, defined by the difference between their smallest and largest values. The difference ranges from to . If it is , there is only set of places to put the two middle values ( and , where is the smallest value). Since there are possible sets of smallest and largest values, there are sets in this category. If the difference is , there are now sets of places to put the two middle values ( and or , and and ). There are possible sets of smallest and largest values, so there are sets in this category. Finally, if the difference is , there are possible sets of places to put the two middle values ( and , , or , and or , and and ) and one possible set of smallest and largest values, meaning that there are sets in this category. Adding them up, there are spacey subsets with elements.
Adding these all up, we have a total of spacey subsets. ~emerald_block
See also
2007 AMC 12A (Problems • Answer Key • Resources) | |
Preceded by Problem 24 |
Followed by Last question |
1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15 • 16 • 17 • 18 • 19 • 20 • 21 • 22 • 23 • 24 • 25 | |
All AMC 12 Problems and Solutions |
The problems on this page are copyrighted by the Mathematical Association of America's American Mathematics Competitions.