A right triangle with integer leg lengths is called "cool'' if the number of square units in its area is equal to twice the number of units in the sum of the lengths of its legs. What is the sum of all the different possible areas of cool right triangles?

PocketThePenguin Sep 12, 2020