# Lovely natural fraction

For how many ordered pairs of positive integers like $$(m,n)$$ the fraction $\frac{n^2+1}{mn-1}$becomes a positive integer?

×