Problem - 160
Solve in integers the question $x+y=x^2 -xy + y^2$.
Treat this as a quadratic equation with respect of $x$. For it to have a solution $\Delta=(y+1)^2 = 4(y^2-y)\ge 0$ must hold.
All the solutions are (0, 0), (1,1), (2,2), (2,1 ), (1,2), and (0,1).