Given this diophantine equation:
$$S^2+R^2+(r_1-r_2)^2 = 2R(r_1+r_2)$$
$S,r_1,r_2$ are variables. $R$ is a given constant. all values are positive integers.
How do I prove that there's at most one solution, not counting solutions where $r_1$ and $r_2$ are exchanged.
Thanks.
But I found two solutions:
(1) $S=4R, r_1=5R, r_2=4R$
(2) $S=4R, r_1=5R, r_2=8R$