2007 AMC 12A Problem 25

Below is the professionally curated solution for Problem 25 of the 2007 AMC 12A, from LIVE by Po-Shen Loh. You can also try the full timed exam, view all 2007 AMC 12A solutions, or check the answer key.

All of the real AMC 8, AMC 10, AMC 12, and AIME problems in our complete solution collection are used with official legal permission of the Mathematical Association of America (MAA).

Concepts:recursive countingsubsets

Difficulty rating: 2240

25.

Call a set of integers spacy if it contains no more than one out of any three consecutive integers. How many subsets of {1,2,3,,12},\{1,2,3,\ldots,12\}, including the empty set, are spacy?

121121

123123

125125

127127

129129

Solution:

Let cnc_n be the number of spacy subsets of {1,,n}.\{1,\ldots,n\}. A spacy subset either omits nn (there are cn1c_{n-1} of these) or contains n,n, in which case it omits n1n-1 and n2n-2 (there are cn3c_{n-3} of these).

Hence cn=cn1+cn3,c_n=c_{n-1}+c_{n-3}, with c1=2,c_1=2, c2=3,c_2=3, c3=4.c_3=4.

The sequence continues 6,9,13,19,28,41,60,88,129,6,9,13,19,28,41,60,88,129, so c12=129.c_{12}=129.

Thus, the correct answer is E.

Problem 25 in Other Years