Find all the singularities in the finite plane and the corresponding residues. Show the details.
$$f(z) = \frac{1}{1-e^z}$$
So I'm trying to find the singularities. So the singularities are located when the denominator = 0 and that occurs when $e^z = 1$ which occurs when $z = 2 \pi in$ when $n \in \mathbb{R}$
Now what? How can I find the residues?
so the residue formula that I know is:
$$\operatorname{Res}_{z = z_0}f(z) = \lim_{z \to z_0} (z-z_0) f(z)$$
That's what I'm trying to use. But how do I determine this when $z_0$ isn't fixed?