OFFSET
1,1
COMMENTS
xy/(x+y) is the side of the inscribed square of a right triangle with integer legs x and y.
EXAMPLE
x=20,y=5, 100/25 = integer 4.
PROG
(PARI) xydivxpy(n) = { for(x=1, n, for(y=x, n, h=x*y/(x+y); if(h==floor(h), print1(x", "); ) ) ) }
CROSSREFS
KEYWORD
nonn
AUTHOR
Cino Hilliard, Dec 02 2003, corrected Nov 23 2006
STATUS
approved