Find all prime numbers such that $p^2-p+1$ is a cubic number. I've tried substituting values of $x$ for $p^2-p+1 = x^3$.
This gave me a few values, which were small. As values of $x$ ranged higher and higher, it was tedious to find values of $p$ that satisfied this condition. To my imminent horror, I realized that most of these values of $p$ where in fact NOT prime numbers.
Can someone guide me through the solution, as I prefer to use a slick solution, rather than using brute force? After the solution, can someone point me towards resources for solving problems like this?
How about finding all integers $y$ with $x^3=y^2-y+1$ instead? Then $x^3=(y+\omega)(y+\overline\omega)$ where $\omega=\frac12(-1+i\sqrt 3)$ is a cube root of unity. we have two factorisations in the ring $R=\Bbb Z[\omega]$. This ring is a unique factorisation domain, but has six units $\pm\omega^j$.
The elements $y+\omega$ and $y+\overline\omega$ have greatest common divisor $1$ or $i\sqrt3=\omega-\omega^2$. In the former case, $y+\omega$ is a unit times a cube, and we can reduce to $y+\omega=(a+b\omega)^3$, $y+\omega=\omega(a+b\omega)^3$ or $y+\omega=\omega^2(a+b\omega)^3$. In the latter case, $y+\omega$ is $i\sqrt3$ times a unit times a cube, and then $y+\omega=\omega^j(\omega-\omega^2)(a+b\omega)^3$.
This reduces to six cases. I'll just look at one: $y+\omega=(a+b\omega)^3$. This can be written as $$\frac{2y-1+i\sqrt3}{2}=\left(\frac{c+d\sqrt{-3}}2\right)^3.$$ Therefore $4(2y-1)=c^3-9cd^2$ and $4=3c^2d-3d^3$. That's easy enough. No solutions.
Five more cases to go!