sum of (-1)^n/(a+2*n*pi*i) from -infinity to infinity