In the paper Vacuum $\langle \phi^2 \rangle$ in Schwarzschild Spacetime by Candalas and Howard, they say that for each non-zero $\epsilon$ it is true that $$ \sum_{n=1}^\infty \cos\left( n \kappa \epsilon \right) \ = \ - \frac{1}{2} $$
This is equation (2.7) in the paper, where $\kappa$ is a constant (later set as the surface gravity for the black hole) and $\epsilon \to 0^{+}$ is taken as a regulator.
In what sense is this true? As some kind of distributional statement? Because this doesn't converge in the strict sense.