Exercise · ZW-PARTITION-GENERATING-FUNCTION-008 · ★★☆ Intermediate
What is the coefficient of \(x^5\) in \(\frac{1}{(1-x)(1-x^2)}\)?
Choose one option.
Show answer
- C. 3
Exercise · ZW-PARTITION-GENERATING-FUNCTION-008 · ★★☆ Intermediate
Choose one option.
The ways to write 5 with parts 1 and 2 are \(2+2+1\), \(2+1+1+1\), and \(1+1+1+1+1\), three in total. Leaving one out gives 2, and adding a nonexistent way gives 4.
The partition generating function is the formal series \(\sum_{n\ge 0} p(n)\,x^n\), where \(p(n)\) counts the partitions of the integer \(n\).
← ZW-PARTITION-GENERATING-FUNCTION-007 ZW-PARTITION-GENERATING-FUNCTION-009 →