2008 AMC 12A Problem 17

Below is the professionally curated solution for Problem 17 of the 2008 AMC 12A, 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 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:recursionmodular arithmeticcasework

Difficulty rating: 1870

17.

Let a1,a2,a_1, a_2, \ldots be a sequence of integers determined by the rule an=an1/2a_n = a_{n-1}/2 if an1a_{n-1} is even and an=3an1+1a_n = 3a_{n-1} + 1 if an1a_{n-1} is odd. For how many positive integers a12008a_1 \le 2008 is it true that a1a_1 is less than each of a2,a3,a_2, a_3, and a4?a_4?

250250

251251

501501

502502

10041004

Solution:

If a1a_1 is even, then a2=a1/2<a1,a_2 = a_1/2 \lt a_1, so the condition fails.

If a11(mod4),a_1 \equiv 1 \pmod 4, then a2=3a1+1a_2 = 3a_1 + 1 is a multiple of 4,4, so a3=(3a1+1)/2a_3 = (3a_1 + 1)/2 and a4=(3a1+1)/4a1,a_4 = (3a_1 + 1)/4 \le a_1, and again the condition fails.

If a13(mod4),a_1 \equiv 3 \pmod 4, then a2a_2 is even but not a multiple of 4,4, so a3=(3a1+1)/2>a1,a_3 = (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 a12008a_1 \le 2008 satisfy a13(mod4).a_1 \equiv 3 \pmod 4.

Thus, D is the correct answer.

Problem 17 in Other Years