AoPSWiki
Want to learn how to tackle those tough AMC/AIME/Olympiad algebra problems? Check out Art of Problem Solving's NEW Intermediate Algebra by Richard Rusczyk and Mathew Crawford. Over 1600 problems!
Personal tools

2007 AMC 12A Problems/Problem 25

From AoPSWiki

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?

\mathrm{(A)}\ 121 \qquad \mathrm{(B)}\ 123 \qquad \mathrm{(C)}\ 125 \qquad \mathrm{(D)}\ 127 \qquad \mathrm{(E)}\ 129

Contents


Solution

Solution 1

Let denote the number of spacy subsets of . We have S_{0} = 1, S_{1} = 2, S_{2} = 3.

The spacy subsets can be divided into two subsets:

  • Those containing . This is , since removing from any of these sets produces a spacy set with maximal element .
  • Those not containing . This is .

Hence,

From this recursion, we find that

1 2 3 4 6 9 13 19 28 41 60 88 129

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 12 - k - 2(k - 1) = 12 - 3k + 2 dividers to be be placed in spots between the balls. The number of way this can be done is \binom{(12 - 3k + 2) + (k + 1) - 1}k = \binom{12 - 2k + 2}k.

Therefore, the number of spacy subsets is \binom 64 + \binom 83 + \binom{10}2 + \binom{12}1 + \binom{14}0 = 129.

Solution 3

As a last resort, we can brute force the result by repeated casework. Luckily, 12 is not a very large number, so solving it this way is still possible.

See also

2007 AMC 12A (Problems)
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
Want to learn how to tackle those tough AMC/AIME/Olympiad algebra problems? Check out Art of Problem Solving's NEW Intermediate Algebra by Richard Rusczyk and Mathew Crawford. Over 1600 problems!
© Copyright 2008 AoPS Incorporated. All Rights Reserved. • FoundationPrivacyContact Us