Equation for a sequence that is an intersection of two sequences.

17 Views Asked by At

If there are two sequences, $t_k=ak+p$ and $t_l=bl+q$, how to find the equation for the sequence formed by intersection of them?

For eg, given two sequences $1,4,7,10,13,16,19,22,25... (3k+1)$ and $2,7,12,17,22,27... (5l+2)$, how to arrive at the common sequence $7,22,37... (15n+7?)$ ?

I think that first those two equations should be equated:

$3k+1=5l+2$

$3k=5l+1$

But from here, I don't know how to go forward.