This is just for recreational purposes.
I've been wondering how to evaluate the following integral:
$$\int_0^{\infty} \frac{\ln (x)}{1-x^n}\text{d}x$$
Because I noticed that certain values for $n$ lead to some nice rational multiples of $\pi^2$ when evaluated in WolframAlpha. This leads me to believe we should somehow get it into series form to turn it into something Basel-esque. However, I've been struggling with this. I managed to put into series form a related integral, to at least show some kind of context/effort, which is:
$$\int_0^{1} \frac{\ln (x)}{1-x^n}\text{d}x$$
When inputting the series expansion of $1-x^n$, one simply needs to evaluate an integral of the form $x^{kn} \ln(x)$, which is simple, and the following series emerges:
$$\int_0^{1} \frac{\ln (x)}{1-x^n}\text{d}x = \sum_{k=0}^{\infty} \frac{1}{(kn+1)^2}$$
However, this approach doesn't work with bounds from $0$ to $\infty$ for obvious reasons. Could someone give me some help?
Assuming[n \[Element] Integers \[And] n > 1, Integrate[Log[x]/(1-x^n),{x,0,\[Infinity]}]]
. $$- \frac{\pi^2 \csc^{-1} (\pi/n)}{n^2}$$ $\endgroup$