After playing with some series in a numerical math website, it seems to me like the following identity holds:
$$\sum_{n=-\infty}^{\infty}\frac{1-\cos(an)}{(an)^2}=\frac{\pi}{a}$$
It seems a little bit surprising to me, and I was wondering if there is an elementary way to see it. Convergence is trivial due to comparison with $\frac{1}{n^2}$, but the specific value is interesting. I would think that some Fourier analysis might be applicable, mainly because $\pi$ appeared here, but couldn't make it work.
P.S: Even a way to see the behavior $\sum_{k=-\infty}^{\infty}\frac{1-\cos(an)}{(an)^2}\propto \frac{1}{a}$ is interesting to me, and presumably simpler.
P.S2: It seems that for large $a$ (possibly just $a>2\pi$) the claim is incorrect, see comment. Still, it is interesting to calculate, even if only for $|a|<2\pi$.