I would like to find a proof for the generating formula for odd values of Dirichlet beta function, namely: $$\beta(2k+1)=\frac{(-1)^kE_{2k}\pi^{2k+1}}{4^{k+1}(2k)!}$$
My try was to start with the cosine infinite product $$\cos{(\pi x)}=\prod_{n\ge 1} \left(1-\frac{4x^2}{(2n-1)^2}\right)\;,$$ Logarithmate and differentiate it, in order to get: $$-\pi\tan{(\pi x)}= \sum_{n\ge 1} \frac{\frac{-8x}{(2n-1)^2}}{1-\frac{4x^2}{(2n-1)^2}}$$ Then multiplying by $x$ and expanding the denominator into a geometric series, yields: $$\pi x\tan{(\pi x)}= 2\sum_{n\ge 1} \sum_{k\ge 0} \left(\frac{2x}{(2n-1)}\right)^{2k}\frac{4x^2}{(2n-1)}=2\sum_{n\ge 0} \sum_{k\ge 0} \left(\frac{2x}{(2n+1)}\right)^{2k+1}$$ Now, already in this post it has been shown how to expand $\tan(x)$ into power series, but I have $x\tan(x)$ and I don't know how to equate the coefficients this way. Can I get some help with this?
EDIT: Related: Euler numbers grow $2\left(\frac{2}{ \pi }\right)^{2 n+1}$-times slower than the factorial? However I am still interested in how to show this using my idea.