How would you prove that $$\sum_{n \ \text{odd}} \text{sgn}(a + nb ) e^{- | a + n b |} = - \frac{\sinh(a)}{\sinh(b)}$$
where $|a| < b$ and the sum runs over all odd integers between $-\infty$ and $+ \infty$?
How would you prove that $$\sum_{n \ \text{odd}} \text{sgn}(a + nb ) e^{- | a + n b |} = - \frac{\sinh(a)}{\sinh(b)}$$
where $|a| < b$ and the sum runs over all odd integers between $-\infty$ and $+ \infty$?
Note that we may write the series as $$S\left(a,b\right)=\sum_{n\in\mathbb{Z}}\textrm{sgn}\left(a+\left(2n+1\right)b\right)e^{-\left|a+\left(2n+1\right)b\right|} $$ now note that $$a+\left(2n+1\right)b>0\Leftrightarrow n>-\frac{a+b}{2b}. $$ Since $\left|a\right|