Solving $x^2+y^2=r$

121 Views Asked by At

Let $r>0$ be a rational number. There is a criterion for determining whether the equation $x^2+y^2=r$ has a solution in rational numbers, and if we have one solution, then there is a way to generate all solutions. However, how does one find the first solution?