QlarIITy

MathematicsJEE Main 2020 · 9 JanuaryInteger

The number of terms common to the two A.P.'s 3,7,11,…,4073, 7, 11, \ldots, 407 and 2,9,16,…,7092, 9, 16, \ldots, 709 is ___________.

Try it before you look.The full solution is on this page, below the answer box, the moment you check. No sign-in needed.

Solution

Core idea. Common terms of two A.P.s form an A.P. with the least common multiple as difference.

Concept refresher. If two A.P.s have differences d1d_1 and d2d_2, their common terms form an A.P. with difference

D=lcm(d1,d2)D = \text{lcm}(d_1, d_2)

starting from the first term they share.

Picture the situation. The first progression is the numbers leaving remainder 3 on division by 4, up to 407. The second is the numbers leaving remainder 2 on division by 7, up to 709. A number with both remainders recurs every 28. The first progression stops earlier, so it sets the limit.

Approach. Find the first common term, step by the least common multiple, and count up to the smaller last term.

  1. Step 1: The first common term

    The second progression runs 2, 9, 16, 23 and so on. The first of these with remainder 3 on division by 4 is 23, so 23 is the first common term.

  2. Step 2: Count

    The differences 4 and 7 have least common multiple 28, so the common terms are 23+28k23 + 28k. They must not exceed 407: 28k≤38428k \leq 384 gives k≤13.7k \leq 13.7, so kk runs from 0 to 13, which is 14 terms.

Answer. 14

Sanity check. The last common term is 23+28×13=38723 + 28 \times 13 = 387, which is 4×96+34 \times 96 + 3 and 7×55+27 \times 55 + 2; the next, 415, is beyond 407.

Common wrong answers

  • 25: Using 709 as the limit counts 25 terms, most of them beyond the end of the first progression.
  • 13: Counting kk from 1 to 13 and leaving out k=0k = 0 gives 13.

Key takeaway

The trap. The progression that ends earlier sets the limit for the common terms.

How toppers think. They count the steps from zero, so the first common term is included.

Remember. Common difference: lcm of the differences.

More on Arithmetic Progression