sum (-1)^k exp(ikx)/(a^2-k^2) from -inf to inf