What is the greatest possible perimeter of a right-angled triangle with integers side lengths if one of the sides has length 12?
12 should be one leg and the other should be 16 so the hypotenuse should be the biggest and the hypotenuse is 20 (that is a pytagoreans triple).
So 12 + 16 + 20 = 48