If x and y are positive integers, L:
LCM of x and y, G:
GCD of x and y, then solve the following equations for x and y values:
1) x
y=L
G, L>x.
2) x
2+y
2 = L
2+G
2, L>x>G.
I will start with the second equation cos is more easy to prove!
We have LG=xy (1) and so
(x+y)^2 = (L+G)^2
x+y=L+G (2)
so from (1) and (2) x=L,y=G or x=G, y=L but no one can be posible because
L>x>G so no solution for this equation.
About the second after use logarithm and use again LG=xy
we can write that
ln(x)/x = ln(L)/L
If we study the f(x) = ln(x)/x this function is increase on (1,e) and decrease after e. Because L>x and the only integer positiv value between 1 and e is 2 this is the only solution we have.
x=2,y=4,L=4,G=2