Number Theory – k^2 + (k+1)^2 Being a Perfect Square for Infinitely Many k

diophantine equationsnumber theory

Generally one can see that there are infinite number of solutions for this equation $$a^{2}+b^{2}=c^{2}$$ by taking multiples of the solution $3,4$ and $5$.

Can i use this as a fact to prove, that $k^{2} + (k+1)^{2}$ is a perfect square for infinitely many $k \in \mathbb{N}$? Any hints, suggestions would be helpful. If not, then how do i prove this fact!

Best Answer

You can find infinitely many by considering solutions of Pell's equation $ m^2 - 2a^2=-1.$ Your (3,4,5) solution comes from$$(7-5\sqrt{2})(7+5\sqrt{2})=-1,$$ where $m=7$ and $a=5$. For example $$(7-5\sqrt{2})^3$$ yields $$696^2+697^2 = 985^2.$$

Just to make it a bit more clear note that $$\left( {m-1 \over 2} \right)^2 + \left( {m+1 \over 2} \right)^2 = a^2.$$

Related Question