QlarIITy

MathematicsJEE Main 2022 · 29 JulyInteger

Let S={4,6,9}S = \{4, 6, 9\} and T={9,10,11,…,1000}T = \{9, 10, 11, \ldots, 1000\}. IfA={a1+a2+…+ak:k∈N,a1,a2,a3,…,ak∈S}A = \{a_1 + a_2 + \ldots + a_k : k \in N, a_1, a_2, a_3, \ldots, a_k \in S\}then the sum of all the elements in the set T−AT - A 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. Two even numbers give all even totals, and one odd number shifts them to odd totals.

Concept refresher. A number nn belongs to the set of sums when it can be written as

n=4a+6b+9cn = 4a + 6b + 9c

with whole numbers aa, bb, cc that are not all zero.

Picture the situation. The set AA contains every number that can be made by adding 4s, 6s and 9s, using at least one of them. The set TT starts at 9. So the question is which numbers from 9 to 1000 cannot be made, and what they add up to.

Approach. Settle the even numbers, then the odd numbers, and collect the numbers of the range that cannot be made.

  1. Step 1: Even numbers

    Every even number from 4 upward is a sum of 4s and 6s: 4, 6, 8 as 4 plus 4, 10 as 4 plus 6, and adding 4 repeatedly reaches all the rest. So every even number in TT is in AA.

  2. Step 2: Odd numbers

    An odd sum needs a 9 together with an even sum or nothing. That gives 9 itself, and 9+4=139 + 4 = 13, 9+6=159 + 6 = 15, 9+8=179 + 8 = 17 and every odd number after that. The number 11 would need 9+29 + 2, and 2 cannot be made.

  3. Step 3: The sum

    So the only element of TT that is not in AA is 11, and the required sum is 11.

Answer. 11

Sanity check. Using three 9s gives 27 or more, and those odd numbers are already covered, so nothing further is lost or gained.

Common wrong answers

  • 23: Adding 5 and 7, which also cannot be made, gives 23; but 5 and 7 are not in TT, which starts at 9.
  • 20: Missing that 9 itself is in AA, as a sum with one term, adds 9 and gives 20.

Key takeaway

The trap. Only numbers inside the given range are to be added.

How toppers think. They settle the even numbers first and treat odd numbers as 9 plus an even number.

Remember. Odd totals: 9 plus an even sum.

More on Combinations