Compute the principal part of the Laurent series of $\cot(\pi z)$ on $1<|z|<2$.
EDIT: After using either of the approaches below, we get that the principal part is equal to
$$ \frac 1 \pi \left( \frac 3 z + \sum_{n=1}^\infty \frac 2 {z^{2n+1}}\right)$$
Recalling that: $$ \frac{\sin(\pi z)}{\pi z}=\prod_{n\geq 1}\left(1-\frac{z^2}{n^2}\right)\tag{1}$$ and considering $\frac{d}{dz}\log(\cdot)$ of both sides we have: $$ -\frac{1}{z}+\pi\cot(\pi z) = \sum_{n\geq 1}\frac{2z}{z^2-n^2}\tag{2} $$ or: $$ \cot(\pi z)=\frac{1}{\pi z}+\frac{2}{\pi}\sum_{n\geq 1}\left(\frac{1}{z-n}+\frac{1}{z+n}\right).\tag{3}$$ Can you finish from there?