A semiprime is a number that is the product of two prime numbers.
What is an upper bound for the number of numbers of the form $pq$ less than $n$?
$p,q$ are prime numbers smaller than $n$.
A semiprime is a number that is the product of two prime numbers.
What is an upper bound for the number of numbers of the form $pq$ less than $n$?
$p,q$ are prime numbers smaller than $n$.
Recall that by the PNT we have $\pi(n) \sim \frac{n}{\log n}$ where $\pi(n)$ is the number of primes less than or equal to $n$. The number of semiprimes $\pi_2(n)$ is approximately
$$\pi_2(n) \sim \sum_{p \le \sqrt{n}} \pi \left( \left\lfloor \frac{n}{p} \right\rfloor \right)$$
where the sum runs over primes. The summand is approximately $\frac{n}{p \log n}$, so overall this sum is approximately
$$\pi_2(n) \sim \frac{n}{\log n} \sum_{p \le \sqrt{n}} \frac{1}{p}.$$
The sum $\sum_{p \le \sqrt{n}} \frac{1}{p}$ is known to be asymptotically $\log \log n$, so overall we get
$$\pi_2(n) \sim \frac{n \log \log n}{\log n}$$
at least heuristically. This is in fact the correct asymptotic by a result of Landau.