How many terms do the two sequences $S_1$ and $S_2$ have in common?
$S_1 = 1, 3, 6, 10, 15\dots$ up to $200$ terms.
$S_2 = 3, 6, 9, 12, 15\dots$ up to $200$ terms.
I need to know the number of common terms in these two sequences (irrespective of their position in respective series.)
For example, $3,6$ and $15$ are a few of the common terms in these two sequences, but I need to know the exact number of common terms.
My approach:
$n^{th}$ term of $S_1 = \dfrac{[n(n+1)]}{2}$
$k^{th}$ term of $S_2 = 3k$
Now for common terms:
$\dfrac{[n(n+1)]}{2} = 3k$
Which gives:
$n(n+1) = 6k$
Had the above equation been linear in terms of $n$ and $k$ then I might have been able to solve it for possible integral values of $k$ and $n$ but now I am stuck here and don't know how to proceed further. Kindly provide assistance in solving this further.
Answer is 22 common terms