## Heuristic Derivation of Prime Number Theorem

The Prime Number theorem says that the probability *P*(*x*) that a large integer *x* is prime is about 1/log *x*. At about age 16 Gauss apparently conjectured this estimate after studying tables of primes. Hugh Bray via Greg Martin suggested to me the following heuristic way to approach the same conjecture, which appeared in my Math Chat column on August 19, 1999:

Suppose that there is a nice probability function *P*(*x*) that a large integer *x* is prime. As *x* increases by the new potential divisor *x* is prime with probability *P*(*x*) and divides future numbers with probability 1/*x*. Hence *P* gets multiplied by or roughly

The general solution to this differential equation is *P*(*x*) = 1/log *cx*.