calculating the sum of a series I was wondering if there is a way to use complex-analysis to solve the sum of the following series? (just like you can use it to solve integrals of some kinds (using fourier's transform for integrals).

$$\sum^{\infty}_{n=0}\frac{1}{n^2+25}$$

and

$$\sum^{\infty}_{n=0}\frac{(-1)^n}{n^2+25}$$

And if not, how to solve them otherwise?
thanks in advance!

Solution via Fourier's series:
Note that (see  here)
$$
\int \cos {nx} ~ \cosh {bx} dx = \dfrac{1}{n^2+b^2}
\left(n \sin nx \cosh bx + b \cos nx \sinh bx \right) + C
$$
(form is very close to given $\pm\dfrac{1}{n^2+25}$).
Now consider function 
$$
f(x)=\cosh {5x}, \qquad x\in [-\pi,\pi];
$$
and make it $2\pi$-periodic (so, $f(x)$ is continuous function).
Fourier series of this even function will have form
$$
f(x) = \dfrac{a_0}{2} + \sum_{n=1}^{\infty} a_n \cos{nx},
$$
where 
coefficients $a_n$ are:
$$
a_n = \dfrac{2}{\pi}\int_{0}^{\pi} \cosh {5x} ~ \cos nx \; dx 
= 
\dfrac{10 \cos {n\pi} \sinh{5\pi}}{\pi(n^2+25)} = \dfrac{10\sinh{5\pi}}{\pi} \cdot \dfrac{(-1)^n }{n^2+25}.
$$
As $f(x)$ is continuous, then 
$$
\dfrac{a_0}{2}+f(0) 
= \sum\limits_{n=0}^{\infty} a_n \cos (n \cdot 0) 
= \sum\limits_{n=0}^{\infty} a_n 
= \dfrac{10\sinh{5\pi}}{\pi} \sum\limits_{n=0}^{\infty} \dfrac{(-1)^n}{n^2+25},
$$
$$
\dfrac{a_0}{2} + f(\pi) 
= \sum\limits_{n=0}^{\infty} a_n \cos n\pi 
= \sum\limits_{n=0}^{\infty}(-1)^n a_n 
= \dfrac{10\sinh{5\pi}}{\pi} \sum\limits_{n=0}^{\infty} \dfrac{1}{n^2+25}.
$$
Note that
$~~\dfrac{a_0}{2}+f(0) = \dfrac{\sinh 5\pi}{5\pi}+1$, 
$~~\dfrac{a_0}{2}+f(\pi) = \dfrac{\sinh 5\pi}{5\pi}+\cosh{5\pi}$,
so
$$
\sum_{n=0}^\infty \dfrac{(-1)^n}{n^2+25} = \dfrac{\pi\left(\frac{\sinh 5\pi}{5\pi}+1\right)}{10\sinh 5\pi} 
= \dfrac{1}{50}+\dfrac{\pi}{10}\dfrac{1}{\sinh 5\pi},
$$
$$
\sum_{n=0}^\infty \dfrac{1}{n^2+25} = \dfrac{\pi\left(\frac{\sinh 5\pi}{5\pi}+\cosh{5\pi}\right)}{10\sinh 5\pi}
= \dfrac{1}{50}+\dfrac{\pi}{10}\dfrac{\cosh 5\pi}{\sinh 5\pi}.
$$
