The prime number theorem states that
$$\pi(x) \sim \frac x {\ln(x)}$$
Morally, this seems to suggest that there is a fundamental connection between primes and the natural logarithm. But since we're just dealing with asymptotics here, the choice of right hand side is not unique. In fact, we have
$$\pi(x) \sim \frac x {\ln(x)} + f(x)$$
For any $f\in o(\frac x {\ln(x)})$. What if the appearance of $\ln$ here is just an artefact of the specific method used to prove the PNT? Maybe for a suitable choice of $f$ you could make it looks like the primes have a deep connection to any function you like. Is there any argument that could in some sense show that $\ln$ is not arbitrary here?