1

The question says Do not use any modular arithmetic.

My attempt:

First of all i think that these two things would help:

If $4 \mid x^2 + y^2 \implies 2\mid x$ And $y$. I’ve proved this one

If $7 \mid x^2 + y^2 \implies 7 \mid x$ And y. I don’t know how to prove this.

And it turns out that the only possible values to $(x,y,z)=(4,8,0)$.

PNT
  • 4,295

1 Answers1

2

We can write $x=7k+r$ where $r\in\{0,1,2,3,4,5,6\}$ so $$x^2 = 7(7k^2+2kr)+r^2$$ so $$x^2 = 7k'+r^2$$ Similary we have $$y^2 = 7l'+r'^2$$

Since $7\mid x^2+y^2$ we have now $$7\mid r^2+ r'^2$$

but this is possible only if $r=r'=0$ i.e. $7\mid x$ and $7\mid y$.


We see that if right side is divisible by 7 so $7\mid x$ and $7\mid y$ so $49$ divides RHS but that means that $49\mid 7$ if $z\geq 2$. So $z\leq 1$. Can you finish now?

J. W. Tanner
  • 63,683
  • 4
  • 43
  • 88
nonuser
  • 91,557