6

How do I prove:
$$\forall \space a,b \in \mathbb Z, \exists \space c,d \in \mathbb Z: 2*(a^2+b^2) = c^2 + d^2$$ $$d<>a, d<> b$$

For example, : $$2*(1^2 + 2^2) = 1^2 + 3^2 = 10$$ $$2*(2^2 + 3^2) = 1^2 + 5^2 = 26$$ $$2*(2^2 + 4^2) = 2^2 + 6^2 = 40$$ $$etc$$

Multiplying by a square number would be trivial, but are there any other non-square multiples other than two where this may also be true?

Neil Ennis
  • 63
  • 4
  • 2
    There’s a standard result that an integer $>1$ is a sum of two squares iff its prime factorization contains no prime $p$ congruent to $3$ mod $4$ with odd multiplicity. – MathematicsStudent1122 Jan 10 '20 at 02:13

1 Answers1

14

$2(a^2+b^2)=(a+b)^2+(a-b)^2$.

Oscar Lanzi
  • 39,403