# Sum of Gaps 2

Calculus Level 3

Given that $$\displaystyle \pi = 4\sum_{k=1}^{\infty} \frac{\left(-1\right)^{k+1}}{2k-1},$$ what is the value of

$\sum_{n=1}^{\infty} \left( \pi - 4\sum_{k=1}^{n} \frac{\left(-1\right)^{k+1}}{2k-1} \right)?$

Inspiration

×