Main Index
Number Theory
Arithmetic functions
Main Index
Number Theory
Sequences
Primes
Subject Index
comment on the page
The prime-counting function (or the prime number function) is the function counting the number of prime numbers less than or equal to some real number . It is denoted by and denotes the number of primes less than or equal to , that is
(1) |
For instance, the primes under are 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, and 97 so . The following table shows the highly irregular character of the graph of the prime counting function for values .
To compute some values of the prime-counting function go to .
For bigger values of the argument we have the following values of the prime-counting function .
A simple lower bound for the prime-counting function gives the following result:
Theorem. For we have
(2) |
Proof. Consider the product
(3) |
Every series in parentheses on the right hand is convergent, and there we can multiply then term by term. Therefore
(4) |
where the dash denotes that the sum runs over those integers in which standard form appear only primes . Therefore we have
On the other hand,
The Theorem follows taking into account the proved inequalities.
Corollary. We have
(5) |
that is, there are infinitely many prime numbers.
This result was for the first time proved by other means in Proposition 20 of Book IX of Euclid’s Elements.
Cite this web-page as:
Štefan Porubský: Prime-counting Function.