It looks like this.
Limit[Sum[1/((2 n + 1) Pi I - x), {n, -m, m}], m -> ∞]
= -(1/2) Tanh[x/2]
Sum[1/((2 n + 1) Pi I - x), {n, -∞, ∞}]
Sum::div: Sum does not converge.
Turning on Regularization options does not help to converge. What is the problem here?
Sum[Re[1/(I (1 + 2 n) π - x)] // ComplexExpand, {n, -∞, ∞}]– Mariusz Iwaniuk Nov 20 '17 at 12:56(1/((2 n + 1) Pi I - x) /. n -> 0) + Sum[1/((2 n + 1) Pi I - x) + (1/((2 n + 1) Pi I - x) /. n -> -n), {n, 1, Infinity}] // Simplify– Bob Hanlon Nov 20 '17 at 13:31SumConvergenceonly seems to check convergence for "one-sided" sums, which are divergent in this case. (One can still try. ForDirection->1andDirection->-1the functionSumConvergenceapplied to1/((2 n + 1) Pi I - x)returns unevaluated, except forMethod -> "DivergenceTest", where it givesTrue. Also,SumConvergencegives the same results for the combination1/((2 n + 1) Pi I - x) + (1/((2 n + 1) Pi I - x) /. n -> -n)from @BobHanlon's comment, whose infinite sumSumdoes compute. Strange.) – Jules Lamers Nov 21 '17 at 18:22