I would like to study the asymptotic behaviour of this sequence A014285, see as OEIS, that seems has few references and a good behaviour (see the sequence as graph) $$\sum_{k=1}^nkp_k,$$ where $p_k$ is the kth prime number.
I believe that with (if the following definition for $a(n)$ is well defined)
$$ a(n) = \begin{cases} k, & \text{if $n$ is the kth prime number} \\ 0, & \text{otherwise} \end{cases}$$ then that using Abel summation formula $$\sum_{k=1}^nkp_k=p_n\cdot\frac{n(n+1)}{2}-2-\int_2^{p_n}\left(\sum_{p_k\leq t}k\right)dt.$$
Question. Does previous identity holds? How do you get the asymptotic behaviour of such sequence $\sum_{k=1}^nkp_k$?
If my computations were rights, more or less I believe that, using Prime Number theorem, there is an equivalence with $\sim n^3\log n$, and thus one has $O(n^{3+\delta})$ for some little $\delta>0$. I don't know how do good approximations for the integral, in previous identity.
Summarizing, I believe that I could be mistakes in my computations but I would like to know how obtain previous computations in the right way, to know something about how grows this sequence (I know from an asnwer that $\sum_{p_k\leq x} p_k\sim\frac{x^2}{\log x}$, I say to me this last, to do a comparision) Thanks in advance.