Prime counting functions: Prime counting function $\pi(x)$ = number of primes $\leq x$. It is approximately $\text{li}(x) \sim x/\ln x$
(and auxiliary big Pi function counting powers of primes by fractions. It is even more close to $\text{li}(x)$)
Logarithm of products of primes:
Prime theta function: $\vartheta(x) =$ logarithm of product of primes $\leq x$.
Prime psi function: $\psi(x)$ = logarithm of least common multiple of natural numbers $\leq x$.
Firstly let's define $\psi$ for $x\geq 1$:
$$\psi(x) = \sum_{\text{prime}\ p} \left\lfloor \log_p x \right\rfloor \ln p $$
it satisfies:
$$\sum_{1\leq n\leq x} \psi(x/n) = \ln \lfloor x \rfloor !$$
therefore (using Moebius inversion):
$$\psi(x) = \sum_{n\geq 1} \mu(n) \ln \lfloor x/n \rfloor !$$
Now using function $\theta$ defined using sum over primes $p$: