Common terms in two APs

Rarely Tested

Consider the two arithmetic progressions : $$a_1,a_1+d_1,a_1+2d_1,......$$ and $$a_2,a_2+d_2,a_2+2d_2,......$$ where $$a_1$$ and $$d_1$$ are the first term and common difference of first sequence, and $$a_2$$ and $$d_2$$ are the first term and common difference of second sequence.

If we need to find the sequence consisting of the common terms of the two sequences, then we can find the first common term among both. Let it be $$a$$.
The common difference of this sequence will be LCM($$d_1,d_2$$).

So, the sequence having terms as common terms of the two APs will be $$a,a+LCM(d_1,d_2),a+2*LCM(d_1,d_2),......$$.

Question 1

Let $$a_n = 46 + 8n$$ and $$b_n = 98 + 4n$$ be two sequences for natural numbers $$n \leq 100$$. Then, the sum of all terms common to both the sequences is

Question 2

Let $$a_{n}$$ and $$b_{n}$$ be two sequences such that $$a_{n}=13+6(n-1)$$ and $$b_{n}=15+7(n-1)$$ for all natural numbers n. Then, the largest three digit integer that is common to both these sequences, is

Question 3

The number of common terms in the two sequences 17, 21, 25,…, 417 and 16, 21, 26,…, 466 is

Log in to view all questions

Go back to topics

Join CAT 2026 course by 5-Time CAT 100%iler

Start your IIM journey with the right preparation and crack CAT 2026.