Problem

Source:

Tags: Divisibility Theory



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