Recently my study is related to an equation $x^2+y^2=z^2+t^2$. I have learned that Euler studied about numbers which can be represented as a sum of two squares in two different way. But I do not know if there is anyone who studied this equation before him.
So I would like to ask if there is a name and the historical context of the quadruple $(x,y,z,t)$ so that $x^2+y^2=z^2+t^2$.