This is a follow-up question to this MSE post.
Call a number $X$ triangular if it could be written in the form $x(x+1)/2$ where $x$ is a positive integer.
Here is my question in this post:
What properties does the ratio of two triangular numbers $M$ and $N$ have, assuming $N \mid M$?
That is, if $$M = \dfrac{m(m+1)}{2}$$ and $$N = \dfrac{n(n+1)}{2}$$ where $m$ and $n$ are positive integers, then what can be said about $$\dfrac{M}{N} = \dfrac{\dfrac{m(m+1)}{2}}{\dfrac{n(n+1)}{2}} = q,$$ where $q$ is a positive integer?
Please note that this is not a homework question.
MY ATTEMPT
The equation can be rewritten (without fractions) as $$m(m+1)=qn(n+1),$$ which can then be treated as a quadratic in $m$ $$m^2 + m - qn(n+1) = 0$$ and as a quadratic in $n$ $$qn^2 + qn - m(m+1) = 0.$$
The first quadratic (in $m$) has a positive integer solution if $$1 + 4qn(n+1)$$ is a perfect square. The second quadratic (in $n$) has a positive integer solution if $$q^2 + 4qm(m+1)$$ is a perfect square.
This gives rise to the Diophantine system of equations $$\begin{cases} 1 + 4qn(n+1) = r^2, r \in \mathbb{Z} \\ q^2 + 4qm(m+1) = s^2, s \in \mathbb{Z} \end{cases}.$$
Subtracting the first equation from the second, we get $$(q^2 - 1) + \bigg(4qm(m+1) - 4qn(n+1)\bigg) = s^2 - r^2,$$ which gives $$(q-1)(q+1) + 4q(m-n)(m+n+1) = (s-r)(s+r).$$
From the first equation, I have $$r^2 \equiv 1 \pmod 4$$ so that $r$ is odd.
From the second equation, I have $$s^2 \equiv 0 \pmod q$$ and $$s^2 \equiv q^2 \pmod 4,$$ so that $s$ and $q$ have the same parity.
Alas, there is where I get stuck.
Can any more additional information be obtained about $m$, $n$, and $q$?
$m(m+1)=qn(n+1)\implies (2 m + 1)^2 - q (2 n + 1)^2 = 1 - q$.
Smallest solutions for primes $q<256$: