# Almost a perfect cuboid

While reading a very old book on diophantine equations, I came across this exercise:

Find an infinite number of positive integer solutions of the equations $$x^2 + y^2 = u^2$$ $$y^2 + z^2 = v^2$$ $$z^2 + x^2 = w^2$$

I have found a few solutions by hand, for example $x=240$, $y = 117$, $z = 44$, and trivially multiples will also produce solutions, but I assume that the book is really asking for solutions where there is no common factor of $x$, $y$, $z$.

I have spent a few hours trying to get something from the standard parametric solutions of $x^2 + y^2 = z^2$ without success, and wondered if anyone has any insight they can offer.

Clearly this is (slightly) connected with the problem of finding an integer cuboid with all the face diagonals integral, and the main diagonal also integral, which I assume is still an open problem.

-
...all in all it's just Euler's brick in the wall... –  draks ... Jul 27 '12 at 22:01
@draks thanks - I should clearly have thought of Pink Floyd :) –  Old John Jul 27 '12 at 22:04

Mathworld gives an answer from any Pythagorean triangle and remarks the Euler found two families but that they don't exhaust all the possibilities.

-
That looks excellent, thanks - I might have found it via Google if I had hit on the right combination of terms - I never thought of "Euler Brick"! –  Old John Jul 27 '12 at 22:02
@OldJohn: I searched for integer brick and Wikipedia referred me. I don't know when I saw to use brick instead of cuboid, but that works too. –  Ross Millikan Jul 27 '12 at 22:06
What we really need is the ability to do a Google search on LaTeX expressions, I think. –  Old John Jul 27 '12 at 22:10

This is one of the unsolved problems at http://unsolvedproblems.org/

Tim

-