While working on a physics problem, I came up with a certain question in number theory:
For positive integers $c>b>a$, can $\dfrac{c-a}{c+b}$ and $\dfrac{c+a}{c-b}$ both be rational squares?
I asked this question on MSE chat (link) and a number of small solutions were quickly found, e.g. $$(a,b,c)=(2,13,14), (11,13,14), (9,23,27), (16,56,65).$$ A list of other such examples was provided by DHMO during that conversation.
These solutions are moreover primitive, in that further solutions can be generated from them by multiplying $(a,b,c)$ through by a common integer square. In that respect, the problem is analogous to that of finding Pythagorean triples. In that case, there is a well-known formula for generating a (primitive) Pythagorean triple from a pair of (coprime) integers.
What I want to know for this question: Is there an analogous formula that generates primitive triples satisfying the above condition?
Solve the system.
$$\left\{\begin{aligned}&\sqrt{\frac{c-a}{c+b}}=\frac{k}{t}\\&\sqrt{\frac{c+a}{c-b}}=\frac{p}{s}\end{aligned}\right.$$
The solution can be written as.
$$c=t^2p^2-k^2s^2$$
$$a=t^2p^2+k^2s^2-2k^2p^2$$
$$b=t^2p^2+k^2s^2-2t^2s^2$$