Let $\psi(x)=\sum_{n\leq x} \Lambda(n)$ be the weighted prime counting function/Chebyshev prime counting function. I am trying to evaluate the limit $$\lim_{n\to\infty}\frac{1}{n}\int_{1}^{\infty}\frac{\psi(x)-x}{x^{2}} L_{n-1}^{(2)}(\log x) \, \mathrm{d}x$$ where $L_{n}^{(\alpha)}(x)=\sum_{k=0}^n (-1)^k \binom{n+\alpha}{k+\alpha}\frac{x^k}{k!}$ is the Generalized Laguerre polynomial.
I tried the following code in Mathematica:
p[x_] := Sum[MangoldtLambda[n], {n, 2, x}]
f[x_] := 1/n*(p[x] - x)/x^2 * LaguerreL[n - 1, 2, Log [x]]
AsymptoticIntegrate[f[x], {x, 1, Infinity}, n -> Infinity]
I have also asked the question on Mathematica.SE and the limit is numerically close to $-1$.
Any help would be highly appreciated.
Edit: Denote $$I_{n+1}=\int_{1}^{\infty}\frac{\psi(x)-x}{x^{2}} L_{n}^{(2)}(\log x) \, \mathrm{d}x$$ So we need to prove, $$\lim_{n\to\infty} \frac{I_{n+1}}{n+1}=-1$$ Using the generating function of Generalized Laguerre polynomial we have $$\sum_{n=0}^\infty L_{n}^{(2)}(t) z^{n}=\frac{e^{-\frac{z}{1-z}x}}{(1-z)^{3}},\ \ \text{where}\ \ |z|<1$$ We define $$S(z)=\sum_{n=1}^\infty I_{n+1} z^{n} \ \ \text {where}\ \ \left|z-\frac{1}{2}\right|<\frac{1}{2}$$ Using Dominated convergence theorem for $\{z\in\mathbb{C}:\left|z-\frac{1}{2}\right|<\frac{1}{2}\}$, $$S(z)=\frac{1}{(1-z)^3}\int_{1}^{\infty}\frac{\psi(x)-x}{x^{2+\frac{z}{1-z}}} \, \mathrm{d}x$$ This can be written as $$S(z)=\frac{1}{(1-z)^3}\int_{1}^{\infty}\frac{\psi(x)-x}{x^{1+\frac{1}{1-z}}} \, \mathrm{d}x$$ By Mellin transform of Chebyshev function $$\int_1^\infty \frac{\psi(x)}{x^{s+1}}\ dx=\frac{-1}{s}\frac{\zeta'(s)}{\zeta(s)}\ \ \text{where}\ \ \Re(s)>1$$ So that for $s=\frac{1}{1-z}$, $\Re (s)>1$ gives $|z-\frac{1}{2}|<\frac{1}{2}$ and we obtain $$S(z)=-\frac{1}{z(1-z)^2}-\frac{1}{(1-z)^2}\frac{\zeta'\left(\frac{1}{1-z}\right)}{\zeta\left(\frac{1}{1-z}\right)}$$ Now let $$S(z)=A(z)+B(z),$$ $$A(z)= -\frac{1}{z(1-z)^2}$$ $$B(z)=-\frac{1}{(1-z)^2}\frac{\zeta'\left(\frac{1}{1-z}\right)}{\zeta\left(\frac{1}{1-z}\right)}$$ Let, [$z^n$] $f(z)$ be the coefficient of $z^n$ in $f(z)$. Then $$I_{n+1}=[z^n] S(z)$$ We have $$[z^n]A(z)=-(n+2)$$ Hence we get $$I_{n+1}=-(n+2)+[z^n]B(z)$$ So we obtain $$\lim_{n\to\infty} \frac{I_{n+1}}{n+1}=-1+\lim_{n\to\infty}\frac{[z^n]B(z)}{n+1}$$ How do we find the remaining limit?