A right triangle with integer leg lengths is called cool if the number of square units in its area is equal to three times 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?

HumenBeing Jul 13, 2023

#1**0 **

I figured it out, the answer is 471 for anyone who is wondering. The legs are x and y, so you get xy/2 = 3x + 3y. xy = 6x + 6y, so xy - 6x - 6y = 0.

(x - 6)(y - 6) - 36 = 0, so (x - 6)(y - 6) = 36. Then, just calculate all possible values of x and y to find the sum of all areas as **471**

Guest Jul 13, 2023