2007 AMC 12A Problem 25

Attempt Problem 25 of the 2007 AMC 12A below, then check your answer against the professionally curated solution 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 problems are used with official legal permission of the Mathematical Association of America (MAA).

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
Answer: E
Concepts:recursive countingsubsets
Small hint:
Let cnc_n count the spacy subsets of {1,…,n}\{1,\ldots,n\}; condition on whether nn is included
Big hint:
Excluding nn gives cn−1c_{n-1}; including it forbids n−1,n−2,n-1,n-2, giving cn−3,c_{n-3}, so cn=cn−1+cn−3c_n=c_{n-1}+c_{n-3}
Solution:
Let cnc_n be the number of spacy subsets of {1,…,n}.\{1,\ldots,n\}. A spacy subset either omits nn (there are cn−1c_{n-1} of these) or contains n,n, in which case it omits n−1n-1 and n−2n-2 (there are cn−3c_{n-3} of these).
Hence cn=cn−1+cn−3,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.
LIVE by Po-Shen Loh
Programs

LIVE Classes

Self-Paced Classes

Stars

Scholarship

About Us

Who Is Po-Shen Loh?

Email Contact

Newsletter

Jobs

Become a Star

For a more Thought Full world.

© 2026 Expii, Inc.