I went like this
$ \frac{m(m+1)}{2} = k^2 ; m^2+m = 2k^2$
From here I noticed that m is even that is $m =2q$ Substituting it will give
$ 2q^2+q = k^2$
From here I got no where..
Then I thought perfect square can be expressed as sum of consecutive odd number.I tried that way it too ended similarly. Any ideas for progress??
So, $4q^2+4q+1=2k^2+1$, that is $r^2-2k^2=1$ where $r=2q+1$. This is a case of Pell's equation.