Find all positive integers $a, b$ such that the numbers $\frac{a^2b + a}{a^2 + b}$ and $\frac{ab^2 + b}{b^2 - a}$ are integers.
Source: 2014 Cuba 2.4
Tags: number theory, Integer
Find all positive integers $a, b$ such that the numbers $\frac{a^2b + a}{a^2 + b}$ and $\frac{ab^2 + b}{b^2 - a}$ are integers.