How to find all solutions to
$$ a^2+b^2+c^2+d^2=e^2+2$$
where all variables $a$ to $e$ are positive integers and $e^2 \equiv 1 \mod 8$
I tried using parameterization similar to pythagoras equation, but no success so far. Any help will be appreciated.
Thanks!
Meanwhile, there certainly is an answer of sorts using stereographic projection. It has the virtue of seeming to be a parametrization in four new letters along with $e.$ Weakness is that solution quadruples may not always be primitive. Nope, stereographic needs homogeneous, does not apply here.
I do not see enough of a pattern to suggest a recipe for all solutions. $(0,1,1,e)$ always works, furthermore one number is divisible by 4 and the other three are odd, that is about it.