QlarIITy

MathematicsIIT-JEE 2009 · Paper 1Single 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: 55
  2. Option B: 66
  3. Option C: 77
  4. Option D: 88
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. Fix how many of each digit are used by solving a+b+c=7a+b+c=7 and a+2b+3c=10a+2b+3c=10, then count the arrangements of each multiset.

Concept refresher. The number of arrangements of nn objects in which aa are alike of one kind, bb of a second kind and cc of a third kind is n!a!b!c!\frac{n!}{a!b!c!}. Since only the digits 1, 2, 3 are used, there is no leading-zero issue.

Approach. Find how many 1s, 2s and 3s the number can contain, then count the arrangements in each case.

  1. Step 1: Set up the counts

    Let the number have aa ones, bb twos and cc threes. Then

    a+b+c=7,a+2b+3c=10a+b+c=7,\qquad a+2b+3c=10

    Subtracting, b+2c=3b+2c=3.

  2. Step 2: List the cases

    • c=0, b=3, a=4c=0,\ b=3,\ a=4: digits 1,1,1,1,2,2,21,1,1,1,2,2,2
    • c=1, b=1, a=5c=1,\ b=1,\ a=5: digits 1,1,1,1,1,2,31,1,1,1,1,2,3

    (c≥2c\ge 2 would need b<0b<0.)

  3. Step 3: Count arrangements

    7!4!3!=35,7!5!1!1!=42\frac{7!}{4!3!}=35,\qquad \frac{7!}{5!1!1!}=42

    Total =35+42=77=35+42=77.

Answer. (C)

Why the other options are wrong

  • (A) is below the true total: it misses part of the (5,1,1)(5,1,1) arrangements, where the 2 and the 3 are different digits and must be placed separately.
  • (B) also undercounts: both cases must be included in full, and 35+42=7735+42=77.
  • (D) overcounts; only the two cases (4,3,0)(4,3,0) and (5,1,1)(5,1,1) satisfy b+2c=3b+2c=3.

Key takeaway

The trap. Students count only the digit combinations instead of their arrangements, or miss the case with one 2 and one 3.

How toppers think. They subtract the equations to get b+2c=3b+2c=3, list the two cases, and add 35+4235+42.

Remember. Arrangements of nn digits with aa, bb, cc repeats: n!a! b! c!\frac{n!}{a!\,b!\,c!}.

More on Permutations