I am stuck on how to calculate the value of the following sum:
$\sum_{n=0}^\infty \frac{(-1)^n}{2n+1}$
I am aware that you need to find the corresponding function whose Fourier series is represented by the above, and then use the Parseval Identity to find the actual value similar to how you show that $\sum_{k=1}^\infty \frac{1}{k^2} = \frac{\pi^2}{6}$.
I believe finding the corresponding function has something to do with how the Fourier series is a convolution of the function and the Dirichlet kernel, but beyond that I'm stuck. Any hints are appreciated.
Edit: We need to consider the Fourier series of a function where for two values a1 and a2, f(x) = a1 if x $\geq$ 0 and f(x) = a2 if x < 0.