PROJECT EULER · #0583
Heron Envelopes
A standard envelope shape is a convex figure consisting of an isosceles triangle (the flap) placed on top of a rectangle. An example of an envelope with integral sides is shown below. Note that to form a sensible envelope, the perpendicular height of the flap (
In the envelope illustrated, not only are all the sides integral, but also all the diagonals (
Let
You are given that
Write-up coming later
The complete problem is available here. An approach, code, and answer will be added later.