Prime numbers

Prime numbers


Prime numbers and their properties were first studied extensively by the ancient Greek mathematicians.

The mathematicians of Pythagoras's school (500 BC to 300 BC) were interested in numbers for their mystical and numerological properties. They understood the idea of primality and were interested in perfect and amicable numbers.
(A perfect number is one whose proper divisors sum to the number itself. e.g. The number 6 has proper divisors 1, 2 and 3 and 1 + 2 + 3 = 6, 28 has divisors 1, 2, 4, 7 and 14 and 1 + 2 + 4 + 7 + 14 = 28.
A pair of amicable numbers is a pair like 220 and 284 such that the proper divisors of one number sum to the other and vice versa.)

By the time Euclid's Elements appeared in about 300 BC, several important results about primes had been proved. In Book IX of the Elements , Euclid proves that there are infinitely many prime numbers. This is one of the first proofs known which uses the method of contradiction to establish a result. Euclid also gives a proof of the Fundamental Theorem of Arithmetic: Every integer can be written as a product of primes in an essentially unique way.

Euclid also showed that if the number 2^n - 1 is prime then the number 2^n^-^1(2^n - 1) is a perfect number. The mathematician Euler (much later in 1747) was able to show that all even perfect numbers are of this form. It is not known to this day whether there are any odd perfect numbers.

In about 200 BC the Greek Eratosthenes devised an algorithm for calculating primes called the Sieve of Eratosthenes .

There is then a long gap in the history of prime numbers during what is usually called the Dark Ages.

The next important developments were made by Fermat at the beginning of the 17th Century. He proved a speculation of Albert Girard that every prime number of the form 4n + 1 can be written in a unique way as the sum of two squares and was able to show how any number could be written as a sum of four squares.
He devised a new method of factorising large numbers which he demonstrated by factorising the number 2027651281 = 44021 x 46061.

He proved what has come to be known as Fermat's Little Theorem (to distinguish it from his so-called Last Theorem ).
This states that if p is a prime then for any integer a we have a^p = a modulo p.
This proves one half of what has been called the Chinese hypothesis which dates from about 2000 years earlier, that an integer n is prime if and only if the number 2^n - 2 is divisible by n. The other half of this is false, since, for example, 2^3^4^1 - 2 is divisible by 341 even though 341 = 23 x 11 is composite. Fermat's Little Theorem is the basis for many other results in Number Theory and is the basis for methods of checking whether numbers are prime which are still in use on today's electronic computers.

Fermat corresponded with other mathematicians of his day and in particular with the monk Marin Mersenne. In one of his letters to Mersenne he conjectured that the numbers 2^n + 1 were always prime if n is a power of 2. He had verified this for n = 1, 2, 4, 8 and 16 and he knew that if n were not a power of 2, the result failed. Numbers of this form are called Fermat numbers and it was not until more than 100 years later that Euler showed that the next case 2^3^2 + 1 = 4294967297 is divisible by 641 and so is not prime.

Number of the form 2^n - 1 also attracted attention because it is easy to show that if unless n is prime these number must be composite. These are often called Mersenne numbers Mn because Mersenne studied them.

Not all numbers of the form 2^n - 1 with n prime are prime. For example 2^1^1 - 1 = 2047 = 23x89 is composite, though this was first noted as late as 1536.
For many years numbers of this form provided the largest known primes. The number M1M9 was proved to be prime by Cataldi in 1588 and this was the largest known prime for about 200 years until Euler proved that M31 is prime. This established the record for another century and when Lucas showed that M127 (which is a 39 digit number) is prime that took the record as far as the age of the electronic computer.
In 1952 the Mersenne numbers M521, M607, M1279, M2203 and M2281 were proved to be prime by Robinson using an early computer and the electronic age had begun.

By 1994 a total of 33 Mersenne primes have been found. The largest and most recent is M859433 which has about 258715 decimal digits.

Euler's work had a great impact on number theory in general and on primes in particular.
He extended Fermat's Little theorem and introduced the Euler phi-function , as mentioned above he factorised the 5th Fermat Number 2^3^2 + 1, he found 60 pairs of the amicable numbers referred to above, and he stated (but was unable to prove) what became known as the Law of Quadratic Reciprocity.
He was the first to realise that number theory could be studied using the tools of analysis and in so-doing founded the subject of Analytic Number Theory. He was able to show that not only is the so-called Harmonic series ·(1/n) divergent, but the series

1/2 + 1/3 + 1/5 + 1/7 + 1/11 + ...
formed by summing the reciprocals of the prime numbers, is also divergent. The sum to n terms of the Harmonic series grows roughly like log(n), while the latter series diverges even more slowly like log(log(n)). This means, for example, that summing the reciprocals of all the primes that have been listed, even by the most powerful computers, only gives a sum of about 4, but the series still diverges to infinity.

At first sight the primes seem to be distributed among the integers in rather a haphazard way. For example in the 100 numbers immediately before 10 000 000 there are 9 primes, while in the 100 numbers after there are only 2 primes. However, on a large scale, the way in which the primes are distributed is very regular. Legendre and Gauss both did extensive calculations of the density of primes. Gauss (who was a prodigious calculator) told a friend that whenever he had a spare 15 minutes he would spend it in counting the primes in a 'chiliad' (a range of 1000 numbers). By the end of his life it is estimated that he had counted all the primes up to about 3 million. Both Legendre and Gauss came to the conclusion that for large n the density of primes near n is about 1/log(n). Legendre gave an estimate for pi(n) the number of primes  lte n of

pi(n) = n/(log(n) - 1.08366)
while Gauss's estimate is in terms of the logarithmic integral
pi(n) = (integral)(1/log(t) dt where the range of integration is 2 to n.
You can see the Legendre estimate and the Gauss estimate and can compare them.

The statement that the density of primes is 1/log(n) is known as the Prime Number Theorem . Attempts to prove it continued throughout the 19th Century with notable progress being made by Chebyshev and Riemann who was able to relate the problem to something called the Riemann Hypothesis : a still unproved result about the zeros in the Complex plane of something called the Riemann zeta-function. The result was eventually proved (using powerful methods in Complex analysis) by Hadamard and de la Vallée Poussin in 1896.

There are still many open questions (some of them dating back hundreds of years) relating to prime numbers.

Some unsolved problems

  1. The Twin Primes Conjecture that there are infinitely many pairs of primes only 2 apart.
  2. Golbach's Conjecture (made in a letter by C Goldbach to Euler in 1742) that every even integer greater than 2 can be written as the sum of two primes.
  3. Are there infinitely many primes of the form n^2 + 1 ? (Dirichlet proved that every arithmetic progression : {a + bn | n belongs N} with a, b coprime contains infinitely many primes.)
  4. Is there always a prime between n^2 and (n + 1)^2 ?
    (The fact that there is always a prime between n and 2n was called Bertrand's conjecture and was proved by Chebyshev.)
  5. Are there infinitely many prime Fermat numbers? Indeed, are there any prime Fermat numbers after the fourth one?
  6. Are there infinitely long arithmetic progressions of consecutive primes? e.g. 251, 257, 263, 269 has length 4. None of length 7 appears to be known.
  7. Are there infinitely many sets of 3 consecutive primes in arithmetic progression. (True if we omit the word consecutive.)
  8. Are there infinitely many primes of the form n^2+1?
  9. n^2-n+41 is prime for 0 lte n lte 40. Are there infinitely many primes of this form? The same question applies to n^2 - 79n + 1601 which is prime for 0 lte n lte 79.
  10. Are there infinitely many primes of the form n3+1? ( n3 is the product of all primes  lte n.)
  11. Are there infinitely many primes of the form n3-1?
  12. Are there infinitely many primes of the form n! +1?
  13. Are there infinitely many primes of the form n! - 1?
  14. If p is a prime is 2^p - 1 always square free? i.e. not divisible by the square of a prime.
  15. Does the Fibonacci sequence contain an infinite number of primes?

Here are the latest prime records that we know.

The largest known prime is 2^8^5^9^4^3^3 - 1. It has 258716 digits and was announced on 4 January 1994 by Slowinski and Gage. It is, of course, also the largest known Mersenne prime.

The largest known twin primes are 242206083.2^3^8^8^8^0 + or - 1. They have 11713 digits and were announced by Indlekofer and Ja'rai in November, 1995.

The largest known factorial prime (prime of the form n! + or - 1) is 3610!-1. It is a number of 11277 digits and was announced by Caldwell in 1993.

The largest known primorial prime (prime of the form n# + or - 1 where n# is the product of all primes  lte n) is 24029#+1. It is a number of 10387 digits and was announced by Caldwell in 1993.

Other Web sites:

You can find other prime records at Waterloo, Canada.

References:

  1. L E Dickson, History of the Theory of Numbers (New York, 1919-23, reprinted 1966) (3 volumes).
  2. O Ore, Number Theory and Its History (1948, reprinted 1988).
  3. A Weil, Number Theory: An Approach Through History from Hammurapi to Legendre (1984).
  4. H Cohen, Les nombres premiers, La recherche 26 (278) (1995.), 760-765.
  5. P Ribenboim, The little book of big primes (New York, 1991).
  6. R de La Taille, Nombres premiers : 2000 ans de recherche, Science et vie 838 (1987), 16-20, 146.
  7. P Ribenboim, The book of prime number records (New York, 1989).

Previous (Topic) Next            History Topics Index
Biographies Index Famous curves index Chronologies Welcome Page Birthplace Map Mathematicians of the day Anniversaries for the year Search Form Simple Search Form Search Suggestions

JOC/EFR February 1996