Consider the set of integers $x_1, x_2, x_3, x_4$
Such that:
$$x_1^2 + x_2^2 + x_3^2 = x_4^2$$
How does one compute all the solutions to this system?
I have the following method in place for computing solutions given the initial condition that $$x_1^2 + x_2^2 = y^2$$ for some integer $y$.
One can make the standard Pythagorean triple reduction given this condition and then repeat the reduction again thus generating a general solution for all integers.
But what if there exists 3 square numbers such that the sum of any 2 squares in this set if not a square but the sum of all 3 squares is a square? I have no reason to rule out this possibility and no way of generating such solutions
As a side note:
Given a number and told that it is part of a Pythagorean triple (let's say it's the hypotenuse) how do you find the other squares that sum to it?
You can parametrize the sphere by Stereographic projection. Have you considered that?