sum n=0 to infinity of (cos(nx))/(n^2 + 1)