Problem

Source: Federation of Bosnia, 3. and 4. Grades 2008.

Tags: number theory proposed, number theory



Find all positive integers $ a$ and $ b$ such that $ \frac{a^{4}+a^{3}+1}{a^{2}b^{2}+ab^{2}+1}$ is an integer.