Show that $\sum_{n\leq x}\frac{θ(n)}{n^2}=\ln x+O(1)$ where $θ$ is the Chebychev function. (We are searching for a solution without the prime number theorem, just Chebychev bounds or something like that, but the exercise is talking about a solution without the PNT.)
First my thought was to maybe use Shapiro for the fucntion $θ(n)/n$, but it doesn't seem to work.
Then I thought to use Shapiro together with the fact that $\sum_{n\leq x}θ(x/n)=x\log x+O(x)$ or the fact that $\sum_{n\leq x}ψ(x/n)=x\log x+O(x)$ so as to bring $\sum_{n\leq x}\frac{θ(n)[x/n]}{n}$ close to one of the 2 last sums (like minus $O(x)$ or $O(1)$) and then use Shapiro, but I cant find something clear. Any ideas, suggestions?
$\sum_{p\in (n,2n]} \log p \le \log {2n\choose n}=O(n)$ gives that $\sum_{p^k\le n} \log p =O(n)$
So $n \log n +O(n)= \log n! = \sum_{p^k\le n} \lfloor n/p^k \rfloor \log p= \sum_{p^k\le n} \frac{n }{ p^k}\log p +O(n)$ $= \sum_{p\le n} \frac{n }{ p}\log p+O(n)$
With a partial summation we get $O(1)+\log x=\sum_{p\le x}\frac{\log p}p= \frac{\theta(n)}n+\sum_{n\le x-1}\theta(n)(\frac1n-\frac1{n+1})= O(1)+\sum_{n\leq x}\frac{\theta(n)}{n^2}$