T3 Solutions
T3 Solutions
Week of January 29
T-3-1. For each of the following sets of compositions, obtain a rational function formula for the
generating series of that set (with respect to size).
Let the generating series for the sets below be A(x), B(x),..., E(x), respectively.
1
MATH 239 Winter 2024 Tutorial 3 Solutions
2
MATH 239 Winter 2024 Tutorial 3 Solutions
E(x) = 1+x+2x3 +x4 +3x5 +4x6 +5x7 +10x8 +11x9 +21x10 +27x11 +43x12 +64x13 +· · ·
T-3-2. Calculate [xn ](1 + x)−2 (1 − 2x)−2 . Give the simplest expression you can find.
Solution. The only useful technology we have at present is the Binomial Series expansion, so
let’s use it.
∞ ! ∞
1 1 X i+1 X j+1
2
· 2
= (−x)i (2x)j
(1 + x) (1 − 2x) 1 1
i=0 j=0
∞ X
X ∞
= (i + 1)(j + 1)(−1)i 2j xi+j
i=0 j=0
∞ k
!
X X
k i k−i
= x (−1) (i + 1)(k − i + 1)2 .
k=0 i=0
3
MATH 239 Winter 2024 Tutorial 3 Solutions
That is good enough for now. (Theorems 4.12 and 4.14 will give a much better answer later
on.) □