Skip to main content

2020 AIME II Problem 6

Problem 6 of 15IntermediateAlgebraProblem-Solving Techniques

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.

Your answer

Integer from 0 to 999
Show solution

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.
AoPS wiki

Tagged: recursion · pattern recognition

More practice