\[\frac{\cot\left(\pi t\right)}{2i}=-\frac{1}{2}-\frac{1}{e^{-2\pi it}-1}=\frac{%
1}{2}+\frac{1}{e^{2\pi it}-1},\]