How do you evaluate $\displaystyle\sum\limits_{n=0}^\infty \frac{1}{4n^2+1}$ by using complex contour integration?
I'm trying to attempt this question by considering the integral of some function about a square in the complex plane, whose residues at each singularity on the real axis evaluate to $\large\frac{1}{4k^2+1}$ for all integers $k$. Maybe a function similar to $$\frac {\cot \pi z}{4z^2+1}$$
Maybe then define a square centred on the origin with sides of length $2N+1$ then letting $N \to \infty$ we can split up the integral to evaluate the sum of the residues? Which would be our summation. Sorry if this is poorly explained, but as I say, i'm having trouble understanding this, so i'm not that sure myself, I know it's possible though!