Problem

Source: 2017 Ecuador Juniors (OMEC) L2 p6

Tags: number theory, perfect cube



Find all primes $p$ such that $p^2- p + 1$ is a perfect cube.