The prime numbers do not satisfies Benford's law

1.8k Views Asked by At

A set of numbers is said to satisfy Benford's law if the leading digit d (d ∈ {1, ..., 9}) occurs with probability,

$$ P(d)=\log_{10}(d+1)-\log_{10}d,$$

how do you prove that the prime numbers do not satisfies Benford's law?

1

There are 1 best solutions below

0
On BEST ANSWER

Essentially you face the same problem as the question of whether the natural numbers satisfy Benford's law: if you look at the pattern up to some maximum value $m$ then the distribution depends on what $m$ is, and there is no convergence as $m$ increases because the first digit of $m$ is not stable, though there is a degree of uniformity in the distribution.

From the prime number theorem, the number of primes between $d \times 10^k$ and $(d+1) \times 10^k$ is about $\dfrac{10^k}{\ln((d+\frac12) \times 10^k)}$ while the number between $(d+1) \times 10^k$ and $(d+2) \times 10^k$ is about $\dfrac{10^k}{\ln((d+\frac32) \times 10^k)}$.

The ratio of these tends towards $1$ as $k$ increases, so if you look at the distribution of first digits of primes below $10^k$ then this tends towards uniform as $k$ increases. Nothing like Benford's law.

But if you look at at the distribution of first digits of primes below $3 \times 10^k$, then for large $k$ there will be almost ten times as high a proportion starting with $1$ (or $2$) than with $3$ (or each of the higher digits).