Category: Updates

Find the values of $p$ and $q$

If $p^3+p=q^2+q$ where $p$ and $q$ are prime numbers, Find all the solutions (p, q) I tried to solve this exercise using that: $p^2 = -1(\text{mod} \, q)$...