Find all positive integers x such that $x^5 + x^4 +1$ is a perfect square.
My progress: factoring gives $(x^3-x+1)(x^2+x+1)$. The gcd of the factors is 1 or 7 and the first case is easily ruled out. But what if both multipliers are 7 times a square?
Any help appreciated.
Probably not a satisfying answer since it uses highly non-elementary methods, but it may be useful to list the solution for reference.
The equation $$ E_1: y^2 = x^3-x+1 $$ is an Elliptic curve. Similarly for $$ 7y^2=x^3-x+1 $$ we can multiply by $7^3$ to get $$ E_2: (7^2y)^2=(7x)^3-7^2(7x)+7^3 \Longleftrightarrow E_2: Y^2=X^3-49X+343 $$ and it can be observed that $E_2$ is also an Elliptic curve.
By Siegel's Theorem, there are only finitely many integral points on Elliptic curves, so there can only be finitely many solutions to the equations. So the next goal is to get this finite list.
For a quick solution I got the results from LMFDB and cross checked with Sagemath.
For $E_1$, LMFDB says the integral points are $$ (x,y) = (−1,\pm 1), (0, \pm 1), (1,\pm 1), (3,\pm 5), (5, \pm 11), (56, \pm 419) $$ Similarly for $E_2$, LMFDB says the integral points are $$ (X,Y) = (14, \pm 49) \implies (x,y) = (2,\pm 1) $$ Hence a potential list of $x$ is $$ \{-1,0,1,2,3,5,56\} $$ Now putting them into $$ x^5+x^4+1 = w^2 $$ we see that only $x=-1,0,2$ works.