Given integers $x$ and $y$ and a prime number $k>3$. It turned out that $x + y$ and $x^2 + y^2$ are simultaneously divisible by $k$. Prove that $x^2 + y^2$ is divisible by $k^2$?
2026-05-03 08:10:06.1777795806
Proving divisibility of integers
96 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
2
We write $x^2+y^2=(x+y)^2-2xy$, and notice that since $k$ divides $x^2+y^2$ and $(x+y)$, then $k$ should also divide $2xy$. Since $k>3$, $k$ should divide at least $x$ or $y$. Because $k$ divides $x+y$ and $x$ or $y$, we conclude that $k$ divides $x$ and $k$ divides $y$.
We now again return to the expression $(x+y)^2-2xy$, and notice that $k^2$ obviously divides $(x+y)^2$, and that $k^2$ also divides $2xy$ because $k$ divides $x$ and $k$ also divides $y$. Hope this is clear!