I've got this system of equations: $(a,b,c)\in\mathbb{Z}$
$ab+1 = c$
$a^2 + b^2 +1 = 2c$
$2a + b = c$
I tried to substitute a little bit:
$a^2 + b^2 + 1 -(2a+b) - (a*b+1) = 0$
Ultimately:
$a(a-2-b) + b(b-1) = 0.$
Now I'm not sure how to substitute b into a in order to go on.
Maybe I didn't even start well. Can someone help?
Eliminating $c$ from the first two equations,
$$(a-b)^2=1$$ or $$a=b\pm1.$$
Then eliminating $a$ and $c$ from the first and third, we get two quadratic,
$$(b+1)b+1=2(b+1)+b\\\to b=1\pm\sqrt2,a=2\pm\sqrt2,c=5\pm3\sqrt2,$$
$$(b-1)b+1=2(b-1)+b\\\to b=1,3, a=0,2, c=1,7.$$