Does anybody have any thoughts about how to integrate
$$I=\int_0^{\frac{\pi}{2}} x (\log\tan x)^{2n+1}\;dx$$
for integral $n$ where $n\ge 1$
In the case $n=0$
$$\int_0^{\frac{\pi}{2}} x \log\tan x \;dx=\lambda(3)=\frac{7}{8}\zeta(3)$$
I have managed to integrate the function when the exponent is even, that is $(\log\tan x)^{2n}$, using the substitution $y=\left(\frac{\pi}{2}-x \right)$ over the two intervals $[0,\frac{\pi}{4}]$ and $[\frac{\pi}{4},\frac{\pi}{2}]$, but the same trick does not apply in regard to the odd powers.
Basically via integration by parts I am left with the repeated integral
$$\int_0^{\frac{\pi}{2}} \int_0^x (\log\tan u)^{2n+1}\;du\;dx$$
As far as I know $(\log\tan u)^{2n+1}$ does not have a definite integral I can use, so I am stuck. I've tried a few substitutions and those have not helped. Any ideas how I might proceed?
Some Added Background Notes
- To obtain a function more suitable for numerical integration use the substitution $u=\log \tan x$ to give
$$\int_0^{\frac{\pi}{2}} x (\log\tan x)^{n}\;dx=\int_{-\infty}^{+\infty} \arctan(e^u)\frac{u^n}{e^u+e^{-u}} \;du$$
This shows that the integral $I$ is closely related to the standard integral for the $\beta(n)$ function. The analogous integral $\int_0^{\infty} x (\log\tanh x)^{n}\;dx$ via a similar change of variables is seen to be related to the standard integral for the $\lambda(n)$ function.