So here is the Question :-
Find all $(x,y)$ pairs : $x,y$ $\in \mathbb{Z}$ such that :- $$x^4 - 4x^3 - 19x^2 + 46x = y^2 - 120.$$
What I tried :- I factored the LHS and got as :- $$x(x - 2)(x^2 - 2x - 23) = y^2 - 120$$ From here I don't know how to proceed . I can see that $(y^2 - 120)$ has $3$ factors to be broken into , and each of $x,(x - 2) , (x^2 - 2x - 23)$ divides $y^2 - 120$ , but how will I proceed from here?
Any hints or answers to this problem will be greatly appreciated !!
Here's a solution using what I think is an underappreciated problem solving technique. Note that completing the square (!) shows that $$ x^4 - 4x^3 - 19x^2 + 46x + 120 \quad \text{is close to} \quad ( x^2 - 2x - 11.5 )^2. $$ It's not hard then to show that \begin{align*} ( x^2 - 2x - 11 )^2 - (x^4 - 4x^3 - 19x^2 + 46x + 120) &= x^2-2x+1 > 0 \text{ for } x\ne1, \\ ( x^2 - 2x - 12 )^2 - (x^4 - 4x^3 - 19x^2 + 46x + 120) &= -x^2+2x+24 < 0 \text{ for } x\notin[-4,6]. \end{align*} In particular, $x^4 - 4x^3 - 19x^2 + 46x + 120$ is between the squares of two consecutive integers (and therefore cannot itself be the square of an integer) when $x\notin[-4,6]$.
It is a simple matter to check all values $-4,-3,\dots,6$ to find that $x=\{-4,-3,-2,1,4,5,6\}$ are the only values that make $x^4 - 4x^3 - 19x^2 + 46x + 120$ a perfect square. (Indeed, the symmetry around $x=1$ would reduce the amount of checking here, if we notice that $x^4 - 4x^3 - 19x^2 + 46x + 120$ is invariant under changing $x$ to $1-x$.)