This question is from my number theory assignment and I was unable to solve it. I have been following Dekonick and Luca.
Let $\Omega(n)$ be the number of prime divisors of n, counted with multiplicity ie the number of prime powers dividing n, for instance $\Omega(12) = 3$. Show that mean value of $\Omega(n)$ is $\log\log n$: $\frac{1}{N}\sum_{n\leq N} \Omega(n) = \log\log N+O(1)$.
Attempt: I thought of using Abel's Identity : $\sum_{n\leq N} f(n) = f(N)[N]- \int_{1}^x [t] f'(t)\,dt$.
Here $f(n) = f(p_1^{x_1} \cdots p_r^{x_r}) = x_1 + \dots + x_r$
So, I got $\sum_{n\leq N} f(n) = (x_1 + \dots + x_r)[N]- \int_{1}^{x} [t] (x_1+\dots+x_r) \log t\,dt$. Dividing by $N$, $((x_1 + \dots + x_r)[N])/N =O(1)$, and the other term after simplifying I got as $$(x_1+\dots+x_r)(\log N -1-(N\log N)/2+N/4+1/N(3/4))$$ which is not equal to what has to be proved.
So, please help.
Using a collection of useful results (left as a home exercise to polish the details) ... let's note by: $$d(n,k)=\left\{\begin{matrix} 1, & k\mid n \\ 0, & k \nmid n \end{matrix}\right.$$ Then, where $p_i$ is the $i$-th prime: $$\Omega(n)=\sum\limits_{p^\alpha \mid n}1= \sum\limits_{i=1}\sum\limits_{\alpha=1}d(n, p_i^\alpha)$$ And $$\sum\limits_{n=1}^N\Omega(n)= \sum\limits_{n=1}^N \left(\sum\limits_{i=1}\sum\limits_{\alpha=1}d(n, p_i^\alpha)\right)= \sum\limits_{i=1} \left(\sum\limits_{n=1}^N\sum\limits_{\alpha=1}d(n, p_i^\alpha)\right)=\\ \sum\limits_{i=1} \left(\sum\limits_{\alpha=1}\sum\limits_{n=1}^N d(n, p_i^\alpha)\right)= \sum\limits_{i=1} \left(\sum\limits_{\alpha=1}\left\lfloor \frac{N}{p_i^{\alpha}} \right\rfloor\right)=...$$ which is $$...=\sum\limits_{i=1} \nu_{p_i}(N!)=...$$ in fact $$...=\sum\limits_{i=1}^{\pi(N)} \nu_{p_i}(N!)$$ Given $$\frac{n}{p-1}-\log_2(n+1)<\frac{n}{p-1}-\log_p(n+1)\le\nu_p(n!)\le\frac{n}{p-1}$$ we have $$\sum\limits_{p\leq N}\frac{1}{p-1} - \frac{\pi(N)\log_2(N+1)}{N}<\frac{\sum\limits_{i=1}^{\pi(N)} \nu_{p_i}(N!)}{N}<\sum\limits_{p\leq N}\frac{1}{p-1}$$ Or $$\sum\limits_{p\leq N}\frac{1}{p} - \frac{\pi(N)\log_2(N+1)}{N}<\frac{\sum\limits_{i=1}^{\pi(N)} \nu_{p_i}(N!)}{N}<\sum\limits_{p\leq N}\frac{1}{p} + \sum\limits_{p\leq N}\frac{1}{p(p-1)}$$
The final result follows from the Prime Number Theorem and the summation of the reciprocals of the primes.