2020 AIME II Problem 6

Attempt Problem 6 of the 2020 AIME II 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 2020 AIME II solutions, or check the answer key.

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

6.

Define a sequence recursively by t1=20,t_1 = 20, t2=21,t_2 = 21, and tn=5tn−1+125tn−2t_n = \frac{5t_{n-1} + 1}{25t_{n-2}} for all n≥3.n \ge 3. Then t2020t_{2020} can be written as pq,\frac{p}{q}, where pp and qq are relatively prime positive integers. Find p+q.p + q.
Answer: 626
Concepts:recursionpattern recognition
Small hint:
Compute t3,t_3, t4,t_4, t5,t_5, t6,t_6, and t7t_7 exactly as fractions — a pattern appears
Big hint:
The sequence is periodic with period 5,5, so t2020=t5t_{2020} = t_5
Solution:
Computing terms exactly: t3=5⋅21+125⋅20=53250,t4=5⋅53250+125⋅21=10326250,t5=5⋅10326250+125⋅53250=53535250⋅1053=101525, \begin{aligned} t_3 &= \frac{5 \cdot 21 + 1}{25 \cdot 20} = \frac{53}{250}, \\ t_4 &= \frac{5 \cdot \frac{53}{250} + 1}{25 \cdot 21} = \frac{103}{26250}, \\ t_5 &= \frac{5 \cdot \frac{103}{26250} + 1}{25 \cdot \frac{53}{250}} \\ &= \frac{5353}{5250} \cdot \frac{10}{53} = \frac{101}{525}, \end{aligned} using 5353=53⋅101.5353 = 53 \cdot 101. Then t6=5⋅101525+125⋅10326250t_6 = \frac{5 \cdot \frac{101}{525} + 1}{25 \cdot \frac{103}{26250}} =206105⋅1050103= \frac{206}{105} \cdot \frac{1050}{103} =20=t1= 20 = t_1 and t7=10110121=21=t2.t_7 = \frac{101}{\frac{101}{21}} = 21 = t_2.
Since each term depends only on the two preceding terms, the sequence repeats with period 5.5. Because 20202020 is a multiple of 5,5, we get t2020=t5=101525.t_{2020} = t_5 = \frac{101}{525}. As 101101 is prime and does not divide 525,525, the fraction is reduced, and p+q=101+525=626.p + q = 101 + 525 = 626.
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.