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 !
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 !
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}$$