Daily

Random

Practice set

Baltic Way 2021 · Problem 16

Number Theory

Show that no non-zero integers a,b,x,ya, b, x, y satisfy

{ax−by=16,ay+bx=1.\left\{\begin{array}{l} a x-b y=16, \\ a y+b x=1 . \end{array}\right.
Change pool

When you’re ready

Review material becomes available with the next Daily.

Review

Topics

Diophantine equations

Solutions

Solution

If we use the Diophantus sum of squares equality

(ax−by)2+(ay+bx)2=(a2+b2)(x2+y2)(a x-b y)^{2}+(a y+b x)^{2}=\left(a^{2}+b^{2}\right)\left(x^{2}+y^{2}\right)

then we can see that for a system

{ax−by=say+bx=t\left\{\begin{array}{l} a x-b y=s \\ a y+b x=t \end{array}\right.

to have a solution in positive integers the number s2+t2s^{2}+t^{2} must be a composite number.

The number corresponding to the equation, 162+12=25716^{2}+1^{2}=257, is a prime number. This shows that no solution can exist in non-zero integers, as it would give a factorisation of the prime with each factor >1>1.

Remark. Note that (a+bi)(x+yi)=(ax−by)+(ay+bx)i(a+b i)(x+y i)=(a x-b y)+(a y+b x) i. Finding a solution to the system of equations is therefore equivalent to finding a factorization of s+tis+t i in Gaussian integers Z[i]\mathbb{Z}[i] with non-negative real and imaginary component. It is known that the Gaussian integers form a Euclidean domain and hence a unique factorization domain. The form for primes in Z[i]\mathbb{Z}[i] has been thoroughly studied.

Contest context

Results from Baltic Way 2021

12 teams

Mean score
3.7 / 5
Scores of 4 or 5
8 / 12
Estonia
5 / 5

Score distribution

02
10
21
31
41
57
All team scores
TeamScore
St. Petersburg5 / 5
Estonia5 / 5
Germany5 / 5
Latvia0 / 5
Lithuania5 / 5
Poland5 / 5
Denmark5 / 5
Norway2 / 5
Finland4 / 5
Sweden5 / 5
Iceland3 / 5
Ireland0 / 5