OFFSET
1,1
COMMENTS
For a triangle with leg lengths x,y, the square has side length x*y/(x+y) and the area rounded down is a(n) = f(x,y) = floor( (x*y/(x+y))^2 ).
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) = floor((3*4/(3+4))^2) = 2.
CROSSREFS
KEYWORD
nonn
AUTHOR
Alexander M. Domashenko, Jul 13 2024
STATUS
approved