1998 IMO Problems/Problem 4

Determine all pairs $(a, b)$ of positive integers such that $ab^{2} + b + 7$ divides $a^{2}b + a + b$.

Invalid username
Login to AoPS