Power Series Expansion for Cotangent Function

Theorem
The (real) cotangent function has a Taylor series expansion:

where $B_{2 n}$ denotes the Bernoulli numbers.

This converges for $0 < \left|{x}\right| < \pi$.