I want to find all integer solutions for $$\frac{n(n-1)}2=m^2-1.$$ The only ones I found are $m=\{2,4,64\}$ and $n=\{3,6,91\}$ meaning $m^2-1=\{3,15,4095\}$, but are they the only ones? If not, are there infinitely many solutions? How could I go about finding solutions?
I noticed that $\{3,15,4095\}$ is a subset of the Ramanujan-Nagell numbers, which they conjetured to be the only ones, appart from $0$ and $1$. Is there now a way for finding solutions for this or even to know if there are infinitely many solutions? Thanks.
Not a complete answer by any means but also not a comment. Some python code gave me the following set of numbers (for the first $1000000$ natural numbers): $$n \in \{1, 3, 6, 16, 33, 91, 190, 528, 1105, 3075, 6438, 17920, 37521, 104443, 218686, 608736 ... \}$$ The code is: