<s>[INST] A right triangle with integer sides has area equal to twice its perimeter. Find sum of all possible circumradii. 
In right triangle $ABC$, the area is twice the perimeter, and all sides have integer lengths. Compute the sum of all possible circumradii of $ABC$. 

I only have set up an equation 
$$\frac{xy}{2}=2\left(x+y+\sqrt{x^2+y^2}\right)$$ and 
$$R=\frac{xy \sqrt{x^2+y^2}}{2xy}=\frac{\sqrt{x^2+y^2}}{2}$$ 
 [/INST] $$\frac{xy}{2} = 2\left(x+y +\sqrt{x^2+y^2}\right) \implies (xy - 4(x+y))^2 = 16(x^2+y^2)\\ \iff xy(xy-8(x+y)+32) = 0 \implies (x-8)(y-8) = 32$$
Since $x$ and $y$ are integers and $32 = 2^5$, the total numbers of factors are $(5+1)=6$ which are $1,2,4,8,16,32$ .
So possible cases avoiding any redundancy for we just want circumradii are as follows:
$$\underset{32}{(x-8)}\underset{1}{(y-8)} = 32$$
$$\underset{16}{(x-8)}\underset{2}{(y-8)} = 32$$
$$\underset{8}{(x-8)}\underset{4}{(y-8)} = 32$$
So possible triplets turn out to be $40,9,41$;
$24,10,26$;
$16,12,20$.
So, possible circumradii are $\frac{41}2,\frac{26}2,\frac{20}2$.
</s>