QlarIITy

MathematicsJEE Main 2025 · 29 JanuarySingle correct

Let P be the set of seven digit numbers with sum of their digits equal to 11 . If the numbers in P are formed by using the digits 1,2 and 3 only, then the number of elements in the set PP is :

  1. Option A: 173
  2. Option B: 164
  3. Option C: 158
  4. Option D: 161
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. If every digit were 1 the sum would be 7, so the extra 4 must come from 2s, each adding 1, and 3s, each adding 2. That allows three 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=11a + 2b + 3c = 11. Subtracting, b+2c=4b + 2c = 4, so (b,c)(b, c) is (4,0)(4, 0), (2,1)(2, 1) or (0,2)(0, 2), with a=3a = 3, 4 or 5.

  2. Step 2: Arrange

    The three cases can be arranged in 7!3!×4!=35\dfrac{7!}{3! \times 4!} = 35, 7!4!×2!=105\dfrac{7!}{4! \times 2!} = 105 and 7!5!×2!=21\dfrac{7!}{5! \times 2!} = 21 ways. The total is 35+105+21=16135 + 105 + 21 = 161.

Answer. (D) 161

Sanity check. Each case has seven digits adding to 11: 3 plus 8; then 4 plus 4 plus 3; then 5 plus 6.

Why the other options are wrong

  • (A) The value 173 is 12 more than the sum of the three cases, 35, 105 and 21.
  • (B) The value 164 is 3 more than the sum of the three cases, 35, 105 and 21.
  • (C) The value 158 is 3 short of the sum of the three cases, 35, 105 and 21.

Key takeaway

The trap. There can be several mixes 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