This sequence is the answer to the problem A1872 proposed on French mathematical site Diophante (see link).
Equivalent to the two Diophantine equations: m^2 = 10*k^2 + z and m-k = q*z for some q >= 1.
There exist solutions iff z = 1 or z = 9.
When (m, k, z) is a solution, then (19m+60k, 6m+19k, z) is another solution.
There is only one solution such that z = m-k: (13, 4, 9), see 1st example.
There exist two distinct families of solutions corresponding to z = 1 and z = 9, odd indices correspond to z = 1 and even indices to z = 9.
-> For z = 1, all solutions m of Pell equation m^2 - 10*k^2 = 1 are terms because z = 1 divides every m-k.
First few solutions (m, k) are (1, 0), (19, 6), (721, 228), (27379, 86568), ... with m =
A078986(q) and corresponding k = 6*
A078987(q).
-> For z = 9, solutions m must satisfy m^2 - 10*k^2 = 9 with 9 divides m-k. Among the 3 fundamental solutions (3, 0), (7, 2), (13, 4) of Pell equation m^2 -10*k^2 = 9, only (13, 4) gives solutions where 9 divides m-k.
First few solutions (m, k) are (13, 4), (487, 154), (18493, 5848), ... with m =
A228209(3q).