Maths Olympiad Prep

Library / /2 of 155

Number theory Difficulty 4.4 AIME Prove it Saudi Arabia

Let kk be a positive integer. Prove that there exist integers x,yx, y, neither of which divisible by 77 such that x2+6y2=7kx^{2} + 6 y^{2} = 7^{k}.

Solution

Take x1=y1=1x_{1} = y_{1} = -1, and the following relations
xk+1=xk6yk,yk+1=xk+yk. x_{k+1} = x_{k} - 6 y_{k}, \quad y_{k+1} = x_{k} + y_{k}.
for k=1,2,3,k = 1, 2, 3, \ldots

One can check that
xk+12+6yk+12=7(xk2+6yk2) x_{k+1}^{2} + 6 y_{k+1}^{2} = 7 \left( x_{k}^{2} + 6 y_{k}^{2} \right)
and
xkyk(1)k(mod7). x_{k} \equiv y_{k} \equiv (-1)^{k} \pmod{7}.
Hence, there exist the integer x=xk,y=ykx = x_{k}, y = y_{k} satisfy the given condition.

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 and solution reproduced as published; topic and difficulty added by this site.