PROJECT EULER · #0904
Pythagorean Angle
Given a right-angled triangle with integer sides, the smaller angle formed by the two medians drawn on the the two perpendicular sides is denoted by

Let
If more than one triangle attains the minimum value, the triangle with the maximum area is chosen. All angles in this problem are measured in degrees.
For example,
Define
You are given
Find
Write-up coming later
The complete problem is available here. An approach, code, and answer will be added later.