Find all integers $x$ and $y$ (not just positive) for which $\frac{x^2}{x-1}+\frac{y^2}{y-1}$ is an integer.
This is a generalization of Find integers $a$ in $[1,2014]$ to get solutions in integers of $x+y=a, \frac{x^2}{x-1}+\frac{y^2}{y-1}=4$
Here is what I have come up with:
The only solutions, with the value of $\frac{x^2}{x-1}+\frac{y^2}{y-1}$, are
$ (3, 3)\implies 9, \\ (2, 2)\implies 8,\\ (0, 0)\implies 0, \\ (0, 2)\implies 4,\\ (-1, -1)\implies -1,\\ (-1, 2)\implies -1,\\ (x, -x+2)\implies 4 $
I'll post my solution in a couple of days if there are no others.
Hint: Your term can be written in the form $$x+y+2+\frac{y-1+x-1}{(x-1)(y-1)}$$ so your last term must be an integer.