Prove that a positive integer n is the sum of two perfect squares if and only if 2*n is also the sum of two perfect squares.
(In reply to
re: solution by Steve Herman)
Two remarks:
1.To avoid ambiguity the word βandβ should be replaced by a β+β plus sign.
2.It would be beneficial to address the case of i =0 since it looks funny inserting zero in all equations while obviously 2p=K^2+k^2 implies p=k^2+0 and vice versa .
Edited on July 20, 2020, 1:33 pm