It seems like it should be a well known problem. Ive read that Diophantine himself first posed it. I couldnt find a solution when i researched for one.
It asks to find ordered triples $(x,y,z) $ such that
$$x+y+z=a^2 $$
$$x+y=b^2$$
$$x+z=c^2$$
$$y+z=d^2$$
As an example (41, 80, 320). Any guidance is appreciated. The ideal would be some kind of parametric solution for x, y, and z
I did the complete solution for multiplier 3 here: http://math.stackexchange.com/questions/1964607/when-will-a-parametric-solution-generate-all-possible-solutions/1965805#1965805
Back to 2:
With Jack's variables, let $p+q+r+s$ be odd and $\gcd(p,q,r,s) = 1,$ then define $$ a = p^2 + q^2 + r^2 + s^2, $$ $$ u = 2(-pr + qr +ps+qs), $$ $$ v = p^2 - q^2 + r^2 - s^2 + 2 pq + 2rs, $$ $$ w = p^2 - q^2 - r^2 + s^2 - 2 pq + 2rs. $$ This gives $$ u^2 + v^2 + w^2 = 2 a^2 $$ and should give all primitive solutions. Checking, and then proving, that these are all, takes longer than finding the formula.
Notice that $u \equiv 0 \pmod 4,$ because $$ -pr + qr +ps+qs \equiv pr + qr +ps+qs \equiv (p+q)(r+s) \pmod 2. $$ As we demanded that $p+q+r+s$ be odd, it is not possible to have both $p+q$ and $r+s$ odd. One of $p+q$ and $r+s$ is odd, while the other is even, meaning the product is even.
=================================
===========================
Raw search 2 a^2 = u^2 + v^2 + w^2, with odd a,v,w, even u, and v >= w.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=