Prime Numbers |
A prime number is an integer \(p\) greater than \(1\) that has no positive integer divisors other than \(1\) and \(p\) itself. A composite number is an integer greater than \(1\) that is not a prime number.
Example. \(2,3,5,7,11\) are primes and \(4,6,9,12,14\) are composites.
All composites are product of some other integers, in particular some primes. We denote the set of prime numbers by \(\mathbb P\).
Question. How many prime numbers are there? (\(|\mathbb P|=?\))
Theorem. There are infinitely many primes.
Question. How often prime numbers occur? (prime distribution)
First let us define a function \(\pi\) by \(\pi(n)\) being the number of primes less than equal to \(n\). For example, \(\pi(1)=0,\; \pi(2)=1,\; \pi(10)=4,\;\pi(10^6)=78498\) and by the preceding theorem \(\displaystyle\lim_{n\to \infty} \pi(n)=\infty\). The following theorem gives an asymptotic estimate of \(\pi(n)\).
Theorem (The Prime Number Theorem). \(\pi(n) \approx n/\ln n\) for large \(n\), more formally, \(\pi(n) \sim n/\ln n\), i.e., \[\displaystyle\lim_{n\to \infty} \frac{\pi(n)}{n/\ln n}=1.\]
Example. For \(n=10^6\), \(n/\ln n\approx 72,382\) and \(\pi(n)=78,498 \).
First two proofs of the PNT were independently given by Jacques Hadamard and Charles Jean de la Vallée-Poussin in 1896. The following are two interesting consequence of the PNT.
Corollary. For large \(n\),
For example, for \(n=10^6\), \(n\ln n\approx 13,815,510\) and \(p_n=15,485,863\).
Dirichlet function \(li\) is defined by \(li(n)=\displaystyle\int_2^n\frac{dt}{\ln t}\) which is also a good estimate of \(\pi(n)\).
Question. How to determine if a given integer \(n\) is prime? (primality test)
A naive way is to check if any integer from \(2\) to \(n-1\) divides \(n\). A little better way is to concentrate on prime numbers from \(2\) to \(n-1\). The following result gives a much more efficient test.
Theorem. If a positive integer \(n\) has no prime divisor \(p\leq \sqrt{n}\), then \(n\) is prime.
Example. For \(n=163\), primes \(p\leq \sqrt{n}\approx 12.8\) are \(p=2,3,5,7,11\). None of them divides \(163\). So \(163\) is prime.
Some Structured Primes:
Some Prime Conjectures:
In 1912 German mathematician Edmund Landau popularized four problems about primes.
Goldbach's conjecture: Every even integer greater than \(2\) can be written as the sum of two primes.
Twin prime conjecture: There are infinitely many primes \(p\) such that \(p + 2\) is also a prime.
Legendre's conjecture: There is a prime number between \(n^2\) and \((n + 1)^2\) for every positive integer \(n\).
Near-square prime conjecture: There are infinitely many primes of the form \(n^2 + 1\).
As of today these conjectures are still unresolved.
Mathematicians have tried in vain to this day to discover some order in the sequence of prime numbers, and we have reason to believe that it is a mystery into which the human mind will never penetrate.--- Leonhard Euler
Last edited