Maths Olympiad Prep

Library / /15 of 48

Number theory Difficulty 5.1 AIME, harder Prove it Baltic Way

Find integers 0<a1<a2<a3<a40 < a_1 < a_2 < a_3 < a_4 such that for any 1k<l41 \le k < l \le 4 number akal+1a_k \cdot a_l + 1 is a square of an integer.

Solution

Answer: For example 22, 44, 1212, 420420.

For a1=2a_1 = 2 and a2=4a_2 = 4 we look for a number a3a_3 such that 2a3+12a_3 + 1 and 4a3+14a_3 + 1 are squares, say b2b^2 and c2c^2 respectively. Then we have 2b2c2=12b^2 - c^2 = 1, which is Pell's equation.

Consider two consecutive solutions of this Pell's equation: (5,7)(5, 7) and (29,41)(29, 41). Take 2a3+1=522a_3 + 1 = 5^2 and 2a4+1=2922a_4 + 1 = 29^2, which gives us a3=12a_3 = 12, a4=420a_4 = 420.

Now it's enough to observe that a3a4+1a_3 \cdot a_4 + 1 is a square, which is easy to count. What is more (and unnecessary in this problem) we could have taken any two consecutive solutions of this Pell's equation.

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.