Solve in positive integers $a^2-b^2+4a=0$

75 Views Asked by At

Solve in positive integers $$a^2-b^2+4a=0$$

I tried considering the residues in mod4 but not so helpful. Any help/hint on how to approach this problem ? Thanks !

1

There are 1 best solutions below

3
On BEST ANSWER

HINT : $$\begin{align}\color{red}{a^2}-b^2\color{red}{+4a}=0&\iff \color{red}{(a+2)^2-4}-b^2=0\\&\iff (a+2)^2-b^2=4\\&\iff (a+2-b)(a+2+b)=4\end{align}$$