I want to evaluate the following sum: \begin{equation} \sum_{-\infty}^{\infty}\frac{(-1)^n}{(n+a)^2} \end{equation} Where $a\in\mathbb{R}$ is not an integer. Such is similar to $\zeta(2,a)$, but it ranges over the entire line and it's alternating. I know you can just note that this is minus the residue of $f(z)=\pi\csc\pi z$ at $z = −a$, such that:
\begin{equation} \pi \frac{d}{dz} \csc(\pi z) \bigg|_{z = -a} = -\frac{\pi^2 \cos(-\pi a)}{\sin^2(-\pi a)}=-S \end{equation}
Yielding the result. That's fine and all, but I've been wanting a different approach. I've tried using the weierstrass factorization for trig functions, but got nowhere. Also tried Poisson's summation formula, but got nowhere also.
Any help is appreciated.