Find all the non-negative integer solutions to the equation : $$x^3-x^2+x=3y^3$$
Some thoughts.
It is easy to see that, $x=y=0$ is a trivial solution.
I realized that,
$$x(x^2-x+1)=3y^3$$
and I am not sure how can this help, however I know that
$$x\left(\frac {x^3+1}{x+1}\right)=3y^3$$ $$x(x^3+1)=3y^3(x+1)$$
I don't see anything useful here.
Suppose $x\mid 3$ or $x=3k$, I see that
$$27k^3-9k^2+3k=3y^3$$ $$9k^3-3k^2+k=y^3$$
or
$$k(9k^2-3k+1)=y^3$$
Maybe $k=q_1^3$ and $9k^2-3k+1=q_2^3$ can help here, However, I have no good reason to follow this assumption.
Is a more satisfying answer possible involving higher mathematics?
Assume that $(x,y)$ is a rational solution of the given equation $x^3 -x^2 +x=3y^3$. The case $x=0$ corresponds to the solution $(0,0)$. Else, let us assume $x\ne 0$. Then: $$ \left(\frac yx\right)^3-\frac 14 = \frac{4y^3-x^3}{4x^3}= \frac{\frac 43(x^3-x^2+x)-x^3}{4x^3}= \frac{\frac 13(x^3-4x^2+4x)}{4x^3}= \frac 1{12}\left(\frac{x-2}x\right)^2 \ . $$ To get an elliptic curve we multiply with $12^3$ and set $\displaystyle X=12\cdot \frac yx$, and $\displaystyle Y=12\cdot \frac {x-2}x$.
Then we obtain, using $\frac 14\cdot 12^3=432$: $$ \bbox[yellow]{\qquad Y^2 = X^3-432\ .\qquad} $$ This elliptic curve has rank zero, and the only rational points (excluding its point at infinity) are $(12,\pm 36)$:
The possible $Y$-values are thus $\pm 36$. From $\pm36=Y=12\frac{x-2}x$, we get $\pm 3x=x-2$, so $x$ is either $-1$, or $x$ is $\frac12$. We obtain the rational solutions: $$(-1, -1)\ ,\qquad\left(\frac 12,\frac 12\right)\ .$$ Which are not solution under the wanted condition. (The first solution has negative components, the second one has non-trivial denominators.)