# Distinct Possible Function Values

Let $$x$$ and $$y$$ be positive integers such that $$\frac {x^2+y^2+1}{xy}$$ is an integer. Over all such pairs of integers $$(x,y)$$, how many distinct possible values of $$\frac {x^2 + y^2 +1}{xy}$$ are there?

×