QlarIITy

MathematicsJEE Main 2021 · 24 FebruaryInteger

Let A={n∈N:nA = \{n \in N : n is a 3-digit number}\},B={9k+2:k∈N}B = \{9k + 2 : k \in N\}andC={9k+l:k∈N}C = \{9k + l : k \in N\}for some l(0<l<9)l (0 < l < 9). If the sum of all the elements of the set A∩(B∪C)A \cap (B \cup C) is 274×400274 \times 400, then ll 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. The members of a residue class in a range form an arithmetic progression whose sum shifts with the residue.

Concept refresher. An arithmetic progression of nn terms with first term aa and last term ll has the sum

S=n(a+l)2S = \dfrac{n(a + l)}{2}

Picture the situation. The three-digit numbers of BB are 101, 110, ..., 992, and those of CC are 99+l99 + l, 108+l108 + l, ..., 990+l990 + l. Each list has 100 terms. If ll were 2 the lists would coincide; the given total is about twice the sum of one list, so the lists are different and have no common member.

Approach. Sum the first list, subtract from the total, and match the remainder with the sum of the second list.

  1. Step 1: The first class

    The numbers from 101 to 992 with common difference 9 are 100 terms, and their sum is 100(101+992)2=54650\dfrac{100(101 + 992)}{2} = 54650.

  2. Step 2: The second class

    The total is 274×400=109600274 \times 400 = 109600, so the second class adds up to 109600−54650=54950109600 - 54650 = 54950.

  3. Step 3: The value of l

    The second class has 100 terms from 99+l99 + l to 990+l990 + l, with sum 50(1089+2l)=54450+100l50(1089 + 2l) = 54450 + 100l. Setting this equal to 54950 gives l=5l = 5.

Answer. 5

Sanity check. For l=5l = 5 the class runs from 104 to 995, and 50×(104+995)=5495050 \times (104 + 995) = 54950.

Common wrong answers

  • 2: Taking l=2l = 2 makes CC the same as BB, and the sum is then only 54650.

Key takeaway

The trap. Two equal classes contribute once to a union, not twice.

How toppers think. They write the sum of a class as a base sum plus one hundred times the residue.

Remember. 54450+100l=5495054450 + 100l = 54950

More on Set Operations & Venn Diagrams