I'm trying to use the residue theorem to find the limit of $$\sum_{n=1}^{\infty} \frac{1}{n^4}.$$
So I am considering the function $$f(z) = \frac{\pi \cos(\pi z)}{\sin (\pi z)z^4}$$ on a square contour.
Now I am trying to find the residues of this function but am having some difficulty. I can see that we have singularities at $z = n$ for $n \in \mathbb{Z}$ which are simple except at $z=0$ and that is the residue I am having difficulty with.
Do I have no choice but to calculate the Laurent series here (I would need to take quite a lot of terms because of the $z^4$ in the denominator) or is there a better method that I haven't spotted.
Thanks