Consider the series: $$\sum_{n=1}^ \infty \frac{z^ {n-1}}{(1-z^n)(1-z^ {n+1})}$$ show this converges to:
(a) $\frac{1}{(1-z)^2}$ for $|z|<1$
(b) $\frac{1}{z(1-z)^2}$ for $|z|>1$
Finally, show that this convergence is uniform for $|z| \leq c <1$ in (a) and for $|z| \geq c >1$ in (b).
This is my first course in complex analysis and I'm struggling a bit with seeing why this is true. Question (a) suggests recognising the product of two geometric series $$\frac{1}{1-z} \cdot \frac{1}{1-z}= \sum z^ k \cdot \sum z^ k $$ But I do not see how to rewrite the expression. I have no idea how one would derive the expression in question $(b)$ any hints on that would be greatly appreciated. Once I know how to derive these expressions I will maybe also know a way to apply the Weierstrass M-test for uniform convergence. Since the uniform limit must equal the pointwise limit all we need to show that the series converges uniformly on some domain of definition. Can someone provide some guidance on how to tackle this question, drop some small hints so I can maybe proceed?