QlarIITy

MathematicsJEE Main 2022 · 28 JuneInteger

LetA={1,a1,a2,…,a18,77}A = \{1, a_1, a_2, \ldots, a_{18}, 77\}be a set of integers with 1<a1<a2<…<a18<771 < a_1 < a_2 < \ldots < a_{18} < 77. Let the setA+A={x+y:x,y∈A}A + A = \{x + y : x, y \in A\}contain exactly 39 elements. Then, the value of a1+a2+…+a18a_1 + a_2 + \ldots + a_{18} is equal to ______.

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. A set of integers has the fewest possible different sums exactly when it is an arithmetic progression.

Concept refresher. For nn integers x1<x2<…<xnx_1 < x_2 < \ldots < x_n, the sums x1+xkx_1 + x_k and xk+xnx_k + x_n form an increasing chain, so the number of different sums is at least

N=2n−1N = 2n - 1

with equality only when the integers are in arithmetic progression.

Picture the situation. The set AA has 20 integers, from 1 to 77. Adding 1 to each element and then 77 to each element gives 20+19=3920 + 19 = 39 different sums, in increasing order. Since A+AA + A has exactly 39 elements, there are no other sums, which forces the elements to be equally spaced.

Approach. Use the minimum size of the sumset to show the set is an arithmetic progression, then sum its middle terms.

  1. Step 1: The set

    A set of 20 integers has at least 2×20−1=392 \times 20 - 1 = 39 different sums, and exactly 39 only when it is an arithmetic progression. So AA is an arithmetic progression from 1 to 77.

  2. Step 2: The common difference

    There are 19 steps from the first term to the last, so 1+19d=771 + 19d = 77 and d=4d = 4.

  3. Step 3: The sum

    All 20 terms add to 202(1+77)=780\dfrac{20}{2}(1 + 77) = 780. Removing the first and last terms leaves 780−78=702780 - 78 = 702.

Answer. 702

Sanity check. The terms are 5, 9, 13 and so on up to 73, which is 18 terms with mean 39, and 18×39=70218 \times 39 = 702.

Common wrong answers

  • 703: Removing only 77 from the total 780 gives 703; the first term 1 must be removed as well.

Key takeaway

The trap. Twenty terms are separated by nineteen steps.

How toppers think. They pair the terms about the mean to add them.

Remember. ∣A+A∣≥2n−1|A + A| \geq 2n - 1

More on Set Operations & Venn Diagrams