Maths Olympiad Prep

Library / /35 of 42

Number theory Difficulty 6.9 National olympiad Prove it Ireland

For any two numbers x,yx, y, we denote N(x,y)=x2xy+y2N(x, y) = x^2 - xy + y^2.

a. Prove the product formula N(a,b)N(x,y)=N(axby,ay+bxby)N(a, b)N(x, y) = N(ax - by, ay + bx - by).

b. Show that the equation N(x,y)=2023490z2N(x, y) = 2023 - 490z^2 has at least 16 distinct solution triples (x,y,z)(x, y, z) with integers x,y,z0x, y, z \ge 0.

Solution

a. The formula in part (a) can be checked by direct calculation
(x2xy+y2)(a2ab+b2)=(xaby)2(xaby)(ay+bxby)+(ay+bxby)2. (x^2 - xy + y^2)(a^2 - ab + b^2) = (xa - by)^2 - (xa - by)(ay + bx - by) + (ay + bx - by)^2.
Alternatively, we may let ξ,ξˉ\xi, \bar{\xi} be the complex roots of the quadratic x2x+1x^2 - x + 1, so that ξ2=ξ1\xi^2 = \xi - 1, as well as ξˉ2=ξˉ1\bar{\xi}^2 = \bar{\xi} - 1, and N(x,y)=(xξy)(xξˉy)N(x, y) = (x - \xi y)(x - \bar{\xi} y). Then
N(a,b)N(x,y)=(x2xy+y2)(a2ab+b2)=(xξy)(xξˉy)(aξb)(aξˉb)=(xaξyaξxb+ξ2yb)(xaξˉyaξˉxbξˉ2yb) \begin{aligned} N(a, b)N(x, y) &= (x^2 - xy + y^2)(a^2 - ab + b^2) \\ &= (x - \xi y)(x - \bar{\xi} y)(a - \xi b)(a - \bar{\xi} b) \\ &= (xa - \xi ya - \xi xb + \xi^2 yb)(xa - \bar{\xi} ya - \bar{\xi} xb - \bar{\xi}^2 yb) \end{aligned}
obtained by multiplying the first and third brackets, and second with fourth brackets. Now using ξ2=ξ1\xi^2 = \xi - 1 and ξˉ2=ξˉ1\bar{\xi}^2 = \bar{\xi} - 1 we get
N(a,b)N(x,y)=N(axby,ay+bxby). N(a, b)N(x, y) = N(ax - by, ay + bx - by).

b. To solve (b) we note that N(x,y)=x2xy+y2=(x12y)2+34y20N(x, y) = x^2 - xy + y^2 = (x - \frac{1}{2}y)^2 + \frac{3}{4}y^2 \geq 0, hence, for any solution triple (x,y,z)(x, y, z) we have 490z22023490z^2 \leq 2023 and so z2z \leq 2. If z=2z = 2 then 20234904=63=3272023 - 490 \cdot 4 = 63 = 3^2 \cdot 7. Thus 32N(x,y)3^2|N(x, y). Writing x=3ux = 3u and y=3vy = 3v, we would like to solve
7=N(u,v),or equivalently28=(2uv)2+3v2. 7 = N(u, v), \quad \text{or equivalently} \quad 28 = (2u - v)^2 + 3v^2.
It is easy to find the following four non-negative solutions, see Problem 21:
*(u, v) = (1, 3), (2, 3), (3, 1), (3, 2), giving rise to*
*(x, y) = (3, 9), (6, 9), (9, 3), (9, 6).

If z=1z = 1 then 2023490=1533=37732023 - 490 = 1533 = 3 \cdot 7 \cdot 73. We first solve N(a,b)=3N(a, b) = 3, N(u,v)=7N(u, v) = 7, N(s,t)=73N(s, t) = 73, and then use the formula from part (a) to construct solutions to N(x,y)=3773N(x, y) = 3 \cdot 7 \cdot 73. Because the numbers are small, we easily find positive solutions:
3=N(a,b)3 = N(a, b) is equivalent to 12=(2ab)2+3b212 = (2a - b)^2 + 3b^2
which has solutions (a,b)=(1,2),(2,1)(a, b) = (1, 2), (2, 1);
7=N(u,v)7 = N(u, v) is equivalent to 28=(2uv)2+3v228 = (2u - v)^2 + 3v^2
which has solutions (u,v)=(1,3),(2,3),(3,1),(3,2)(u, v) = (1, 3), (2, 3), (3, 1), (3, 2);
73=N(s,t)73 = N(s, t) is equivalent to 292=(2st)2+3t2292 = (2s - t)^2 + 3t^2
which has solutions (s,t)=(8,9),(1,9),(9,1),(9,8)(s, t) = (8, 9), (1, 9), (9, 1), (9, 8).
Applying the formula from part (a) we obtain, for example,
37=N(2,1)N(2,3)=N(1,5),37=N(2,1)N(3,1)=N(5,4),37=N(2,1)N(3,2)=N(4,5). \begin{align*} 3 \cdot 7 &= N(2,1)N(2,3) = N(1,5), \\ 3 \cdot 7 &= N(2,1)N(3,1) = N(5,4), \\ 3 \cdot 7 &= N(2,1)N(3,2) = N(4,5). \end{align*}
By symmetry we have N(x,y)=N(y,x)N(x, y) = N(y, x), hence N(5,1)=N(1,5)=37N(5, 1) = N(1, 5) = 3 \cdot 7.
Applying the formula from part (a) again, we find
3773=N(1,5)N(9,1)=N(4,41)=N(5,1)N(8,9)=N(31,44)=N(5,1)N(9,1)=N(44,13)=N(5,1)N(9,8)=N(37,41). \begin{align*} 3 \cdot 7 \cdot 73 &= N(1,5)N(9,1) = N(4,41) \\ &= N(5,1)N(8,9) = N(31,44) \\ &= N(5,1)N(9,1) = N(44,13) \\ &= N(5,1)N(9,8) = N(37,41). \end{align*}
Using symmetry, we get eight solutions with z=1z = 1:
(x,y)=(4,41),(41,4),(31,44),(44,31),(44,13),(13,44),(37,41),(41,37). (x, y) = (4, 41), (41, 4), (31, 44), (44, 31), (44, 13), (13, 44), (37, 41), (41, 37).
Finally, if z=0z = 0 then 2023=17272023 = 17^2 \cdot 7 and we can look for solutions (x,y)=(17u,17v)(x, y) = (17u, 17v). This leads us to solve N(u,v)=7N(u, v) = 7 for which we earlier found four solutions (u,v)=(1,3),(2,3)(u, v) = (1, 3), (2, 3) and their symmetric counterparts. This leads to four solutions with z=0z = 0:
(x,y)=(17,51),(51,17),(34,51),(51,34). (x, y) = (17, 51), (51, 17), (34, 51), (51, 34).
Altogether we found 16 different solution triples, as required.

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.