I recently started doing number theory and have finished with all the basic, intermediate and some of the advanced stuff with ease. However, I encountered this question and have been stuck for about a day with this
Solve in positive integers
$$x^3=y^2-y+1$$
I have tried modular arithematic and factorization but nothing seems to work so far. I've only been able to reduce it into an equivalent Diophantine Equation i.e.,
$$4x^3=y^2+3$$
Further, I'm not yet acquainted with algebraic, analytic or geometric number theory, so I'd prefer an elementary solution.
Any help will be appreciated.
This is supposed to be a comment but it is a little bit long.
The equation $y^2 - y + 1 = x^3$ can be rewritten as
$$Y^2 = X^3 - 48\quad\text{ where }\quad\begin{cases} Y &= 8y - 4\\ X &= 4x\end{cases}$$ If one throw following command to online Magma calculator
Magma find only two pairs of integral solutions $(X,Y) = (4,\pm 4)$ and $(28,\pm 148)$. This corresponds to the solutions $(x,y) = (1,0 \verb/ or / 1 )$ and $(7, 19 \verb/ or / -\!\!18)$ It looks like these are the only integral solutions of the original equation.