# Numbers of Primes with at most n Digits

## Theorem

Let $p: \Z_{>0} \to \Z_{>0}$ be the mapping defined as:

$\forall n \in \Z_{>0}: p \left({n}\right) =$ the number of prime numbers with no more than $n$ digits

Then the value of $p$ for the first few numbers is given below:

$n$ $p \left({n}\right)$
$1$ $4$
$2$ $25$
$3$ $168$
$4$ $1229$
$5$ $9592$
$6$ $78 \, 498$
$7$ $664 \, 579$
$8$ $5 \, 761 \, 455$
$9$ $50 \, 847 \, 534$
$10$ $455 \, 052 \, 511$

## Historical Note

The number of primes less than $10^{10}$ was calculated by Derrick Norman Lehmer.