This question already has an answer here:
- Diophantine equation $a^2+b^2=c^2+d^2$ 8 answers
I'm trying to find integer solutions to $$a^2+b^2=c^2+d^2$$
with values $a> c > d > b>0$
Or in other words, two triangles with integer legs and equal hypotenuse lengths, not necessarily integer. Seems like a Diophantine equation to me, but I only learned how to solve Diophantine equations in the form of Pell's equations. I couldn't find anything on this equation when I checked Wikipedia. It is similar to a Pythagorean quadruple, although not quite, so that's not helpful either. How do I find integer solutions to this?