TITLE: Asymptotic analysis of $\sum_{k=2}^n\frac{k}{\ln k}$
QUESTION [5 upvotes]: I know that by integrating, we can show $$\sum_{k=1}^n \ln(k)\sim n\ln n-n$$
Now what can we do for $$\sum_{k=2}^n\frac{k}{\ln k}$$ which doesn't admit an integral approximation in analytic form?
(Or perhaps there is a way to evaluate $\int \frac{x}{\ln  x}dx$? I am not sure how to do it.)
Since, for large $x$, $\ln x\sim~x^\epsilon$ for arbitrarily small $\epsilon$ (I know this is not a mathematically rigorous expression, but it is quite handy in analyzing asymptotic behavior), the sum will, in some sense, be of the order $n^{2-\epsilon}$ for arbitrarily small $\epsilon$. Thus, I guess it could be approximated by something like $n^2/\ln n$ or maybe $n^2/\ln(\ln n)$ that could have this order $n^{2-\epsilon}$.
What is then the correct approximation?

REPLY [3 votes]: If you consider
$$I=\int_2^n \frac{x}{\log (x)}\,dx$$ let $x=e^y$ to make
$$I=\int_{\log(2)}^{\log(n)}\frac {e^{2y}} y \,dy=\int_{\log(2)}^{\log(n)}\frac {e^{2y}} {2y} \,d(2y)=\text{Ei}(2 \log (n))-\text{Ei}(2 \log (2))$$ where appears the exponential integral function.
Now, for large values of $n$, as @Gary commented (have a look here)  a series expansion is
$$\text{Ei}(x)\sim\frac {e^x} x \sum_{k=0}^\infty \frac {k!} {x^k}$$
$$\text{Ei}(\log (n^2))\sim\frac{n^2} 2 \sum_{k=1}^\infty \frac {a_k}{\log^k(n)}$$ where the first $a_k$ form the sequence
$$\left\{1,\frac{1}{2},\frac{1}{2},\frac{3}{4},\frac{3}{2},\frac{15}{4},\frac{45}{4},\frac{315}{8},\frac{315}{2},\cdots\right\}$$
already given by @WhatsUp.
The numerators correspond to largest odd divisor of $k!$ (see sequence $A049606$ in $OEIS$) and the denominator correspond to  Dress's sequence (see sequence $A001316$ in $OEIS$).
For $n=1000$, the above truncated expression would give $78623.2$ while the corresponding summation gives $78698.5$.