My problem is that for a given $a>1$, we have that $$\lim_{n\to\infty}n\int_{1}^{a}\frac{1}{1+x^n}dx=\ln 2$$
The natural idea seems to be to add and substract $x^n$ from the numerator and we obtain easily that $$n\int_{1}^{a}\frac{1}{1+x^n}dx=n(a-1)-a\ln(1+a^n)+\ln2+\int_1^a\ln(1+x^n)dx$$ which would sort of explain the $\ln 2$ result but I can't continue from here.