I believe this is trivial and I'm over-complicating it. But can every squared integer be expressed as the sum of two squared integers OR the difference of two squared integers? And is there a proof for it?
Algebraically, assuming integers $x, y, z ≥ 0:$
$$\begin{align}z^2 &= x^2 + y^2 \\ z^2 &= x^2 - y^2\end{align}$$
In other words, can every positive integer, regardless of the other two variables, be expressed as a part of a Pythagorean triple $(a,b,c)$?
I ask this because I cannot seem to find any explicit answers for it. I understand that the set of all sums of two squared integers is closed under multiplication by the Fibonacci identity, but I'm not sure how it applies in this situation. Also, I'm not sure if a proof of the Pythagorean theorem would be able to answer this question, but I need some clarification.
Every square can be written as the difference of two squares.
$(x+1)^2-x^2=2x+1$
This shows that any odd number, in particular an odd square, is the difference of two squares.
$(x+1)^2-(x-1)^2=4x$.
Any multiple of 4 is the difference of squares. An even square will be divisible by 4, so even squares are also the difference of two squares.