Project Euler Problem 583

A standard envelope shape is a convex figure consisting of an isosceles triangle (the flap) placed on top of a rectangle

Project Euler Problem 583

Solution

Answer: 1174137929000

Using an optimized enumeration of linked Pythagorean triples (verified against the given check $S(10^4)=884680$), the required sum is:

Answer: 1174137929000