I am having problem in solving this question:
If a number $a$ is equal to sum of square of two different natural numbers then $2a$ is also equal to sum of square of two unequal natural numbers.
I cannot find my way through it.
Please help.
I am having problem in solving this question:
If a number $a$ is equal to sum of square of two different natural numbers then $2a$ is also equal to sum of square of two unequal natural numbers.
I cannot find my way through it.
Please help.
Yes, It is true.
Hint: $$a=n^2+(n+m)^2$$ $$2a=2n^2+2(n+m)^2=2n^2+2(n^2+m^2+2mn)=(2n+m)^2+m^2$$
A solution using Gaussian integers, which perhaps clarifies a point.
By assumption $a = x^2 + y^2 = (x + i y) (x - i y)$.
Then $$ 2 a = (1 + i) (1 -i) (x + i y) (x - i y) = ((x-y) + i (x+y)) ((x-y) - i (x+y)), $$ so that $$ 2 a = (x-y)^2 + (x+y)^2 $$ and now use the fact that $x \ne y$.
If $x = y^2 + z^2 \implies 2x = (y+z)^2 + (y-z)^2$.
Let $b>c$. Given
$\ \ \ \ \ a=b^2+c^2$
$\Rightarrow2a=2b^2+2c^2$
$\Rightarrow2a=b^2+c^2+2bc+b^2+c^2-2bc$
$\Rightarrow2a=(b+c)^2+(b-c)^2$
Hence, it is true.