Consider the equation $a^2+ab+b^2=1$. How many integer pairs are solutions to this?
I found 4 pairs: $a=-1, b=0$; $a=0, b=-1$; $a=1,b=0$; $a=0, b=1$. But the solution says the answer is 6. Which other possibilities am I missing? Please post the answer with solution.