Problem

Source: Problem 6, Centroamerican Olympiad 2009

Tags: modular arithmetic, inequalities, number theory, number theory proposed



Find all prime numbers $ p$ and $ q$ such that $ p^3 - q^5 = (p + q)^2$.