Skip to main content

2008 AMC 12A Problem 19

Problem 19 of 25HarderCombinatorics

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 0≤a≤270 \le a \le 27 and 0≤b,c≤14.0 \le b, c \le 14. To get x28x^{28} we need a=28−b−c.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=28−b−ca = 28 - b - c lies in [0,27],[0, 27], giving a valid term. The coefficient of x28x^{28} is therefore 225−1=224.225 - 1 = 224. Thus, C is the correct answer.
AoPS wiki

Tagged: generating functions · partitions and compositions

More practice