AMC 10 Step by Step

2016 AMC 10A Problem 20

P16-20~4 minPrint

For some particular value of NN , when (a+b+c+d+1)N(a+b+c+d+1)^N is expanded and like terms are combined, the resulting expression contains exactly 10011001 terms that include all four variables a,b,c,a, b,c, and dd , each to some positive power. What is NN ?

Log in to save your progress.
Show solution without answering

Key insight

Each term records how many brackets give a, b, c, d or 1. With every letter used at least once, stars and bars gives N choose 4.

Solution

Step 1: what a term looks like. Expanding (a+b+c+d+1)N(a + b + c + d + 1)^N means choosing one item from each of the NN brackets and multiplying. After like terms are combined, a term is decided by how many brackets gave aa, how many gave bb, cc, dd, and how many gave 11. Call these counts i,j,k,li, j, k, l and mm. They add up to NN:
i+j+k+l+m=N.i + j + k + l + m = N.
Different lists of counts give different terms, so we are counting lists.

Step 2: small example. Take N=5N = 5. Each of a,b,c,da, b, c, d needs at least one bracket, which uses 44 of the 55 brackets. The last bracket can give aa, bb, cc, dd or 11, so the terms are a2bcda^2bcd, ab2cdab^2cd, abc2dabc^2d, abcd2abcd^2 and abcdabcd: 55 terms. Keep this check in mind.

Step 3: force each letter to appear. We need i,j,k,li, j, k, l all at least 11. Give each letter its one required bracket first. That uses 44 brackets and leaves N−4N - 4 brackets to hand out freely among the five kinds (a,b,c,d,1a, b, c, d, 1), where any kind may get zero.

Step 4: count with stars and bars. Handing out N−4N - 4 identical items to 55 kinds is the same as lining up N−4N - 4 stars and 44 bars (the bars split the line into 55 groups). That is NN symbols, and we choose which 44 of them are bars:
(N4).\binom{N}{4}.
For N=5N = 5 this gives 55, matching step 2.

Step 5: solve (N4)=1001\binom{N}{4} = 1001. Note 1001=7⋅11⋅131001 = 7 \cdot 11 \cdot 13. Try N=14N = 14:
(144)=14⋅13⋅12⋅114⋅3⋅2⋅1=2402424=1001.\binom{14}{4} = \frac{14 \cdot 13 \cdot 12 \cdot 11}{4 \cdot 3 \cdot 2 \cdot 1} = \frac{24024}{24} = 1001.
It matches, and (N4)\binom{N}{4} grows as NN grows, so N=14N = 14 is the only answer.

The answer is (B) 14\boxed{\textbf{(B)}\ 14}.

Why this works

Counting different terms in an expansion means counting the different ways to split the power among the pieces. The constant 11 acts like a fifth letter that soaks up whatever is left over. "Each letter at least once" is handled by giving each letter one bracket first, and then stars and bars counts the rest.

Alternative approach

Since the count is (N4)\binom{N}{4}, test the choices: (94)=126\binom{9}{4} = 126, (144)=1001\binom{14}{4} = 1001, (164)=1820\binom{16}{4} = 1820. Only 1414 works.

Concise solution

A shorter write-up, the way contest solutions are usually written. It may take a different route from the solution above.

After combining like terms, each distinct term is aibjckdla^i b^j c^k d^l where the exponents record how many of the NN factors contributed aa, bb, cc, dd, or 11. If mm factors contributed the 11, then
i+j+k+l+m=N,m≥0.i + j + k + l + m = N, \qquad m \ge 0.

We want the terms with i,j,k,l≥1i, j, k, l \ge 1. Give each of a,b,c,da, b, c, d one forced unit: set i′=i−1i' = i-1, etc. Then i′+j′+k′+l′+m=N−4i' + j' + k' + l' + m = N - 4 with all five variables nonnegative. By stars and bars the number of solutions is
((N−4)+44)=(N4).\binom{(N-4) + 4}{4} = \binom{N}{4}.

Set (N4)=1001=7⋅11⋅13\binom{N}{4} = 1001 = 7 \cdot 11 \cdot 13. Since (144)=14⋅13⋅12⋅1124=1001\binom{14}{4} = \frac{14\cdot 13\cdot 12\cdot 11}{24} = 1001, we get N=14N = 14. (The function (N4)\binom{N}{4} is increasing, so this is the only solution.)

The answer is (B) 14\boxed{\textbf{(B)}\ 14}.

Review in the AoPS books

Similar problems

Problem © Mathematical Association of America (MAA), American Mathematics Competitions. Reproduced for non-commercial educational use. Solution and commentary are original to this site.