OFFSET
1,1
COMMENTS
For a triangle with leg lengths x,y, the square has side length x*y*z/(x*y + z^2) and the area rounded down is a(n) = f(x,y,z) = floor((x*y*z/(x*y + z^2))^2) .
LINKS
Alexander M. Domashenko, Problem 2176. Two squares in a triangle (in Russian).
EXAMPLE
The first Pythagorean triangle is (x,y,z) = (3,4,5) and the rounded area of the square inside it is a(1) = f(3,4,5) = floor((3*4*5/(3*4+5^2))^2) = 2.
CROSSREFS
KEYWORD
nonn
AUTHOR
Alexander M. Domashenko, Jul 13 2024
STATUS
approved