I'm reading Martin's: The art of enumerative combinatorics.
With:
$\quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad $
There are two things that are misterious to me:
Why the process of converting $(1+z+z^2+\cdots )^5$ to $\displaystyle \left[ \frac{(1-z^{11})}{(1-z)} \right]$ to $\displaystyle [1-z^{11}]^5 \left[\frac{1}{1-z} \right]^5$ works when we take all the coefficients $a_n,a_m$ such that $m+n=40$? This is probably the best I can explain my doubt, but it still seems a little bit misterious to me.
I don't understand why:
$\quad \quad \quad \quad \quad \quad $
It should be the sum of four terms, but here there are only 3 terms. I know he might have rewritten it in another way, I just can't see which way is that.


Ad 1: Expanding $(1+z+\ldots+z^{10})^5$ requires the multinomial formula, with a mess of terms over which we have no overview. But $(1-z^{11})^5$ and $(1-z)^{-1}$ can be tackled with the binomial formula (a simple sum each), and it remains to pair the terms whose exponents add up to $40$.
Ad 2: It's a typo. He meant $$-{5\choose 1}\left\langle\matrix{5\cr 29\cr}\right\rangle+{5\choose 2}\left\langle\matrix{5\cr 18\cr}\right\rangle\ .$$