Anyone can find/calculate a closed form expression for the sum
$$
\sum_{n=0}^{\infty} J_n^2(x) \cos(ny),
$$
where
$J_n$ is the Bessel function?