This question is related to: Probabilistic prime number theorem
The Cramér random model is a random model ${{\mathcal P}}$ that is a random subset of the natural numbers, suh that each natural number ${n > 2}$ has an independent probability of ${\frac{1}{\log n}}$ of lying in ${{\mathcal P}}$, show that almost surely, the quantity $\frac{1}{x/\log x} |\{n \leq x: n \in {\mathcal P}\}|$ converges to one as ${x \rightarrow \infty}$.
The hint is to use Chebyshev’s inequality to get $S_x = |\{n \leq x: n \in {\mathcal P}\}|$ close to $\sum_{n \leq x} \frac{1}{\log n}$, which one can show in turn to be somewhat close to $x /\log x$.
Question: Let $S_x = |\{n \leq x: n \in {\mathcal P}\}| = 1 + \sum_{2 < n \leq x} 1_{{\mathcal P}}(n)$, where the $1_{{\mathcal P}}(n)$ are independent Bernoulli random variables with parameters $1 / \log n$. By Chebyshev's inequality, we have
$\displaystyle {\bf P}(|\sum_{2 < n \leq x} 1_{{\mathcal P}}(n) - \sum_{2 < n \leq x} \frac{1}{\log n}| \geq \varepsilon) \leq \frac{1}{\varepsilon^2} \sum_{2 < n \leq x} \frac{1}{\log n}(1 - \frac{1}{\log n})$.
Also, it can be shown from integration by parts that
$\displaystyle \sum_{2 < n \leq x} \frac{1}{\log n} = \int_{3}^x \frac{dt}{\log t} + O(1) = \frac{x}{\log x} + \frac{x}{\log^2 x} + O(\frac{x}{\log^3 x}) + O(1)$.
I am not sure how to proceed with these bounds though, any help will be appreciated.