2008 AMC 12A Problem 17

Attempt Problem 17 of the 2008 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 2008 AMC 12A solutions, or check the answer key.

All problems are used with official legal permission of the Mathematical Association of America (MAA).

17.

Let a1,a_1, a2,a_2, …\ldots be a sequence of integers determined by the rule an=an−12a_n = \frac{a_{n-1}}{2} if an−1a_{n-1} is even and an=3an−1+1a_n = 3a_{n-1} + 1 if an−1a_{n-1} is odd. For how many positive integers a1≤2008a_1 \le 2008 is it true that a1a_1 is less than each of a2,a_2, a3,a_3, and a4?a_4?
250250
251251
501501
502502
10041004
Answer: D
Concepts:recursionmodular arithmeticcasework
Small hint:
If a1a_1 is even then a2<a1,a_2 \lt a_1, so a1a_1 must be odd
Big hint:
Split the odd case according to whether a1≡1a_1 \equiv 1 or a1≡3(mod4)a_1 \equiv 3 \pmod 4
Solution:
If a1a_1 is even, then a2=a12<a1,a_2 = \frac{a_1}{2} \lt a_1, so the condition fails.
If a1≡1(mod4),a_1 \equiv 1 \pmod 4, then a2=3a1+1a_2 = 3a_1 + 1 is a multiple of 4,4, so a3=3a1+12a_3 = \frac{3a_1 + 1}{2} and a4=3a1+14≤a1,a_4 = \frac{3a_1 + 1}{4} \le a_1, and again the condition fails.
If a1≡3(mod4),a_1 \equiv 3 \pmod 4, then a2a_2 is even but not a multiple of 4,4, so a3=3a1+12>a1,a_3 = \frac{3a_1 + 1}{2} \gt a_1, and a3a_3 is odd, giving a4=3a3+1>a3>a1.a_4 = 3a_3 + 1 \gt a_3 \gt a_1. The condition holds.
Exactly 20084=502\tfrac{2008}{4} = 502 values of a1≤2008a_1 \le 2008 satisfy a1≡3(mod4).a_1 \equiv 3 \pmod 4.
Thus, D is the correct answer.
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.