Question 19N2 (AUS), IMO4. Determine all pairs $(m,n)$ of positive integers such that $\frac{n^3+1}{mn-1}$ is an integer.