Total Area

A Pythagorean triangle is a right-angled triangle where every side length is a positive integer. To find the area of a Pythagorean triangle, you find half the product of the smallest two side lengths. To find the perimeter of a Pythagorean triangle, you find the sum of all the side lengths. For example, the Pythagorean triangle of side lengths 5, 12 and 13 has an area of 30 and a perimeter of 30. This is an A/P ratio of 1. Find the total area of every Pythagorean triangle which has a A/P ratio of 2.

– This puzzle was suggested by Paul Cleary

Remember, to solve this puzzle and appear on the leaderboard, email both your solution and your source code (in any language) to Good luck!!

View all puzzles »