Problem

Source: Morocco test

Tags: algebra



Find all the pime numbers $(p,q)$ such that : $p^{3}+p=q^{2}+q$