Find the number of integral ordered pairs $(a, b)$ such that $a^2 + b^2 + ab = 1$

284 Views Asked by At

I simplified it to $(|a+b|+1)(|a+b|-1) = ab$ because I thought that i could find the no. of ordered pairs by finding the number of divisors of RHS, but the RHS isn't a constant so now I'm stuck. Please help.

3

There are 3 best solutions below

1
On

Hint (for an elementary answer) :

$$a^2+b^2+ab=1 \Longleftrightarrow \left( 2a + b\right)^2 + 3b^2=4$$

0
On

Perhaps first try to find all complex numbers $z=a+\frac{1+i\sqrt 3}2b$ with $a,b\in\Bbb Z$ and $|z|=1$.

0
On

$$a^2 + b^2 + ab = 1\implies b = \frac{\pm\sqrt{4 - 3 a^2} - a}{2} \quad\text{for}\quad -10\le a \le 10$$

$$\implies (a,b)= (-1,1)\quad (-1,0)\quad (0,1)\quad (0,-1)\quad (1,0)\quad (1,-1)\quad $$