Maths Olympiad Prep

Library / /77 of 426

Algebra Difficulty 4.9 AIME Prove it Saudi Arabia

Consider the sequence a1,a2,a3,a_1, a_2, a_3, \dots defined by a1=9a_1 = 9 and
an+1=(n+5)an+22n+3 a_{n+1} = \frac{(n+5)a_n + 22}{n+3}
for n1n \ge 1. Find all positive integers nn for which ana_n is a perfect square.

Solution

First of all, we will prove by induction on nn that an=n2+7n+1a_n = n^2 + 7n + 1. The base case is trivial. Assume that ak=k2+7k+1a_k = k^2 + 7k + 1, so
ak+1=(k+5)ak+22k+3=(k+5)(k2+7k+1)+22k+3=(k+1)2+7(k+1)+1 a_{k+1} = \frac{(k + 5)a_k + 22}{k + 3} = \frac{(k + 5)(k^2 + 7k + 1) + 22}{k + 3} = (k + 1)^2 + 7(k + 1) + 1
We distinguish two cases regarding the value of nn
* if n9n \ge 9 then (n+3)2<n2+7n+1<(n+4)2(n + 3)^2 < n^2 + 7n + 1 < (n + 4)^2, so ana_n is not a perfect square.
* if n8n \le 8 then we have

a1=9a_1 = 9a2=31a_2 = 31a5=61a_5 = 61a7=99a_7 = 99
a2=19a_2 = 19a4=45a_4 = 45a6=79a_6 = 79a8=121a_8 = 121

Hence, ana_n is a perfect square if and only if n=1,8n = 1, 8.

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.