Skip to main content

2008 AMC 12A Problem 19

Problem 19 of 25HarderAlgebraCounting & Probability

In the expansion of (1+x+x2++x27)(1+x+x2++x14)2, \begin{aligned} &\left(1 + x + x^2 + \cdots + x^{27}\right) \\ &\quad {}\cdot \left(1 + x + x^2 + \cdots + x^{14}\right)^2, \end{aligned} what is the coefficient of x28?x^{28}?

Answer choices

Show solution

Solution

Each term is xa+b+cx^{a + b + c} with 0a270 \le a \le 27 and 0b,c14.0 \le b, c \le 14. To get x28x^{28} we need a=28bc.a = 28 - b - c. There are (14+1)2=225(14 + 1)^2 = 225 choices for (b,c).(b, c). For every choice except (b,c)=(0,0),(b, c) = (0, 0), the required a=28bca = 28 - b - c lies in [0,27],[0, 27], giving a valid term. The coefficient of x28x^{28} is therefore 2251=224.225 - 1 = 224. Thus, C is the correct answer.

More practice

Concepts: generating functions · partitions and compositions

Problem text and solution from the LIVE past-contest archive. See also the AoPS wiki page for community solutions.