<s>[INST] Calculate residue at essential singularity I know you can calculate a residue at an essential singularity by just writing down the Laurent series and look at the coefficient of the $z^{-1}$ term, but what can you do if this isn't so easy?
For instance (a friend came up with this function): what is the residue at $z = 0$ of the function $\dfrac{\sin\left(\dfrac{1}{z}\right)}{z-3}$? 
The Laurent series of the sine is $\displaystyle \frac{1}{z} - \frac{1}{6z^{3}} + \frac{1}{120z^{5}} - \cdots + \cdots$
but if you divide by $(z-3)$, you get $\displaystyle \frac{1}{z(z-3)} - \frac{1}{6(z-3)z^{3}} + \frac{1}{120(z-3)z^{5}}+\cdots$
Now the series isn't a series solely "around" $z$! How to proceed further? Or shouldn't you try to write down the Laurent series?
Many thanks.
 [/INST] We can look at the power series $$\frac{1}{\frac{1}{z} - 3} = \frac{z}{1 - 3z} = z + 3z^2 + ...$$ and $$\sin(z) = z - \frac{1}{6}z^3 + ...$$ so $$\frac{\sin(z)}{\frac{1}{z} - 3} = \Big(z + 3z^2 + ...\Big)\Big(z - \frac{1}{6}z^3 +...\Big) = z^2 + 3z^3 + ...$$ and $$\frac{\sin(\frac{1}{z})}{z - 3} = \frac{1}{z^2} + \frac{3}{z^3} +...$$ has residue $0$ at $z = 0$.
</s>