Find all prime numbers such that the square of the prime number can be written as the sum of cubes of two positive integers.
I will need either
- $x+y=1, x^2−xy+y^2=p^2$
- $x+y=p^2, x^2−xy+y^2=1$
- $x+y=x^2−xy+y^2=p$.
I will investigate only the last. That the first two are impossible should be easy to show. So it boils down to finding all the integer solutions to the second degree polynomial in two variables.
We can subtract $xy$ from both sides and factor the right hand side:$x+y−xy=(x−y)^2$. Now we can use calculus to figure out that the left hand side will be negative for the vast majority of combinations x,y but the right hand side is a square which is non-negative. I don't know what to do next.