2016 AMC 12B Problem 25

Attempt Problem 25 of the 2016 AMC 12B 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 2016 AMC 12B solutions, or check the answer key.

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

25.

The sequence (an)(a_n) is defined recursively by a0=1,a_0=1, a1=219,a_1=\sqrt[19]{2}, and an=an−1an−22a_n=a_{n-1}a_{n-2}^2 for n≥2.n\ge2. What is the smallest positive integer kk such that the product a1a2⋯aka_1a_2\cdots a_k is an integer?
1717
1818
1919
2020
2121
Answer: A
Concepts:recursionmodular arithmeticmultiplicative order
Small hint:
Write an=2bn19.a_n=2^{\frac{b_n}{19}}. Then b0=0,b_0=0, b1=1,b_1=1, and bn=bn−1+2bn−2b_n=b_{n-1}+2b_{n-2}
Big hint:
The product is an integer exactly when b1+b2+⋯+bkb_1+b_2+\cdots+b_k is divisible by 19;19; solve bn=13(2n−(−1)n)b_n=\tfrac13(2^n-(-1)^n) and use the order of 22 modulo 1919
Solution:
Write an=2bn19.a_n=2^{\frac{b_n}{19}}. The recursion becomes b0=0,b_0=0, b1=1,b_1=1, bn=bn−1+2bn−2,b_n=b_{n-1}+2b_{n-2}, solved by bn=13(2n−(−1)n).b_n=\tfrac13\bigl(2^n-(-1)^n\bigr). The product a1⋯aka_1\cdots a_k is an integer exactly when b1+⋯+bkb_1+\cdots+b_k is divisible by 19.19. Summing the formula for bnb_n gives b1+⋯+bk=2k+1−13b_1+\cdots+b_k=\dfrac{2^{k+1}-1}{3} when kk is odd, and b1+⋯+bk=2k+1−23b_1+\cdots+b_k=\dfrac{2^{k+1}-2}{3} when kk is even.
The order of 22 modulo 1919 is 1818 because 29≡−1(mod19)2^9\equiv-1\pmod{19} and 26≢1(mod19).2^6\not\equiv1\pmod{19}. For odd k,k, divisibility therefore requires k+1k+1 to be divisible by 18,18, first occurring at k=17.k=17. For even k,k, it requires kk to be divisible by 18,18, first occurring at k=18.k=18. Hence the smallest positive kk is 17.17.
Thus, the correct answer is A.
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.