I am trying to get from
$$\frac{z^7 + 1}{z^2(z^4+1)}$$
to
$$\frac{1}{z^2} + z - \frac{z+z^2}{1+z^4}.$$
The author did this by doing a partial fractions decomposition. I don't see how, however.. If I compute the partial fractions decomposition, I first find the roots of the denominator, but that's not what's done here. What he does is something that he calls "partial" partial fractions decomposition. Any help?
This is another way of doing what is in Paul Garret answer, avoiding to compute more than we are looking for.
You get the polynomial part $z$ by doing long division of $z^7+1$ by $z^2(z^4+1)$.
You get the principal part corresponding to the factor $z^2$ in the denominator by computing the first two steps of long division of $z^7+1$ by $(z^4+1)$ but organizing the terms in decreasing degrees before dividing. The first two coefficients you get are the coefficients of $\frac{A}{z^2}+\frac{B}{z}$ in that order. The other fraction you can get subtracting $\frac{1}{z^2}+z$ from $\frac{z^7+1}{z^2(z^4+1)}$.