I have to solve following integral:
$$\int_{|z|=3}\frac{\mathrm{e}^{1/(1-z)}}z\,\mathrm{d}z$$
So I decided to use the Residue Theorem. This function has two singularities at the points $z=0$ and $z=1$.
$z=0$ is a simple pole and the residue is equal to $\mathrm{e}$ at this point. But $z=1$ is an essential singularity. I tried to write the Laurent series, and I am able to do it for $\mathrm{e}^{1/(1-z)}$, but I don't know what to do about $\frac1z$. Maybe I have to change variable?
Any hints? Thanks!
Note that the only singularities are at $0$ and $1$. Hence, from Cauchy's Integral Theorem, we have for any $R>3$
$$\begin{align} \oint_{|z|=3}\frac{e^{\left(\frac1{z-1}\right)}}{z}\,dz&=\oint_{|z|=R}\frac{e^{\left(\frac1{z-1}\right)}}{z}\,dz\\\\ &\overbrace{=}^{z=Re^{i\phi}}i\int_0^{2\pi}e^{\left(\frac{1}{Re^{i\phi}-1}\right)} \,d\phi\\\\ \end{align}$$
Letting $R\to \infty$, we find that
$$\oint_{|z|=3}\frac{e^{\left(\frac1{z-1}\right)}}{z}\,dz=2\pi i$$