QlarIITy

MathematicsJEE Main 2021 · 26 FebruarySingle correct

The number of seven digit integers with sum of the digits equal to 10 and formed by using the digits 1, 2 and 3 only is:

  1. Option A: 77
  2. Option B: 82
  3. Option C: 42
  4. Option D: 35
Try it before you look.The full solution is on this page, below the options, the moment you check. No sign-in needed.

Solution

Core idea. The counts of each digit come from two linear conditions.

Concept refresher. Objects with repeats pp and qq among nn can be arranged in

N=n!p!q!N = \dfrac{n!}{p!q!}

ways; independent choices multiply and separate cases add.

Picture the situation. The number has seven digits, each 1, 2 or 3, adding to 10. If every digit were 1 the sum would be 7, so the extra 3 must come from 2s, each adding 1, and 3s, each adding 2. That allows only two mixes of digits, and each mix can be arranged in several ways.

Approach. Find the possible counts of each digit, arrange each case with repeats, and add.

  1. Step 1: The cases

    With aa ones, bb twos and cc threes, a+b+c=7a + b + c = 7 and a+2b+3c=10a + 2b + 3c = 10. Subtracting, b+2c=3b + 2c = 3, so (b,c)(b, c) is (3,0)(3, 0) or (1,1)(1, 1), with a=4a = 4 or a=5a = 5.

  2. Step 2: Arrange

    The digits 1, 1, 1, 1, 2, 2, 2 can be arranged in 7!4!×3!=35\dfrac{7!}{4! \times 3!} = 35 ways, and 1, 1, 1, 1, 1, 2, 3 in 7!5!=42\dfrac{7!}{5!} = 42 ways. The total is 35+42=7735 + 42 = 77.

Answer. (A) 77

Sanity check. Both cases have digit sum 10: four 1s and three 2s give 4 plus 6, and five 1s with a 2 and a 3 give 5 plus 5.

Why the other options are wrong

  • (B) The value 82 is 5 more than the sum of the two cases, 35 and 42.
  • (C) The value 42 counts only the case with five 1s, one 2 and one 3.
  • (D) The value 35 counts only the case with four 1s and three 2s.

Key takeaway

The trap. There can be more than one mix of digits with the required sum.

How toppers think. They start from all 1s and see how the extra sum can be made up.

Remember. N=n!p!q!N = \dfrac{n!}{p!q!}

More on Permutations