The sum of two integers is a square. The sum of their squares is also a square. E.g. $$ -3 + 4 = 1^2, \ (-3)^2 + 4^2 = 5^2 $$
$$ 9 + 40 = 7^2, \ 9^2 + 40^2 = 41^2 $$
Question: General solution/form of all such pairs.
Clarification: By general form we mean a parametric form like Euclid's solution for Pythagorean triplets $a = r^2 - s^2, \ b = 2rs$ and $c = r^2 + s^2$ which covers all Pythagorean triplets.