Question 47Find all pairs $(n; m)$ of positive integers $n$ and $m$ satisfying the equality $n^2 + n + 1 = (m^2 + m - 3)(m^2 - m + 5)$.