Question 172Determine all pairs of positive integers $(a, b)$ such that $$ \frac{a^2}{2ab^2 - b^3 + 1} $$ is a positive integer.