Question 48Determine all pairs $(x, y)$ of positive integers such that for $d = \gcd(x, y)$ the equation $$ xyd = x + y + d^2 $$ holds.