Recurrences & Generating Functions

Answer & solution
Official answer: 10.0 : 10.0
Our answer: 10
Factor the series as x³/(1−x). Its cube is x⁹(1−x)−3, so the coefficient of x¹² equals that of x³ in(1−x)−3, namely C(5, 2)=10. Equivalently distribute three excess units across three exponents, each originally at least 3.
Each of the three factors contributes one exponent at least 3. Write those exponents as 3+i,3+j,3+k with i,j,k≥0. To total 12, their excesses must satisfy i+j+k=3. Stars-and-bars counts C(3+3−1,3−1)=10 solutions. The three factors are distinguishable, so choices such as(3,4,5) and(4,3,5) contribute separately; counting unordered partitions would undercount the coefficient.








