Evaluate
$$\frac 1 {2\pi}\left(\frac{\pi^3}{3\times1!}-\frac{\pi^5}{5\times3!}+\frac{\pi^7}{7\times5!}-\cdots+\frac{(-1)^{n-1}\pi^{2n+1}}{(2n+1)\times(2n-1)!}+\cdots\right)$$
I tried it by using the fact that $\dfrac{(-1)^{n-1}\pi^{2n-1}}{(2n-1)!}$ is a general term of the sine series, but I'm not getting how to introduce the term $(2n+1)$ in the denominator term?
$$ \sin x=\sum_{k=0}^\infty\frac{(-1)^k x^{2k+1}}{(2k+1)!}\Rightarrow\\ \int_0^\pi x\sin x\, dx=\sum_{k=0}^\infty\frac{(-1)^k}{(2k+1)!}\int_0^\pi x^{2k+2}\, dx=\sum_{k=0}^\infty\frac{(-1)^k}{(2k+1)!}\frac{x^{2k+3}}{2k+3}\Big|_0^\pi=\sum_{k=0}^\infty\frac{(-1)^k}{(2k+1)!}\frac{\pi^{2k+3}}{2k+3}. $$
The computation of $\int_0^\pi x\sin x\, dx$ is left as an exercise.