The other day, a friend asked if it is possible to halve a triangular number and be left with another triangular number (in fact, she asked a more geometric question, about cutting an equilateral triangle of dots in half, but it reduced to this.) Obviously, this reduces to finding natural number solutions to the following Diophantine equation: $$ n^2+n = 2(m^2+m) $$ A trivial solution is $n=3$, $m=2$, and numerical experiments found half a dozen more. However, I'm curious if there's a more general solution. With my applied-math background, I have always been terrified by such problems. Is it possible to find an explicit solution for the $m, n$ pairs which make this work? How do you go about tackling problems like this?
Thanks
If $m$ and $n$ are positive integers satisfying $$n^2+n=2(m^2+m),$$ then $x:=2n+1$ and $y:=2m+1$ are positive integers satisfying $$x^2-2y^2=-1.$$ This equation is know as Pell's equation with $n=2$. Its solutions have been studied since ancient times, and are known as Pell numbers. There are many characterizations of the solutions, and the linked Wikipedia pages give an excellent exposition that I won't reproduce here.