The Euclid–Mullin sequence is an infinite sequence of distinct prime numbers, in which each element is the least prime factor of one plus the product of all earlier elements. They are named after the ancient Greek mathematician Euclid, because their definition relies on an idea in Euclid's proof that there are infinitely many primes, and after Albert A. Mullin, who asked about the sequence in 1963. The first 51 elements of the sequence are These are the only known elements. Finding the next one requires finding the least prime factor of a 335-digit number.
Definition
The thelement of the sequence,, is the least prime factor of The first element is therefore the least prime factor of the empty productplus one, which is 2. The third element is +1 = 7. A better illustration is the fifth element in the sequence, 13. This is calculated by + 1 = 1806 + 1 = 1807, the product of two primes, 13 × 139. Of these two primes, 13 is the smallest and so included in the sequence. Similarly, the seventh element, 5, is the result of + 1 = 1,244,335, the prime factors of which are 5 and 248,867. These examples illustrate why the sequence can leap from very large to very small numbers.
Properties
The sequence is infinitely long and does not contain repeated elements. This can be proved using the method of Euclid's proof that there are infinitely many primes. That proof is constructive, and the sequence is the result of performing a version of that construction.
Conjecture
asked whether every prime number appears in the Euclid–Mullin sequence and, if not, whether the problem of testing a given prime for membership in the sequence is computable. conjectured, on the basis of heuristic assumptions that the distribution of primes is random, that every prime does appear in the sequence. However, although similar recursive sequences over other domains do not contain all primes, these problems both remain open for the original Euclid–Mullin sequence. The least prime number not known to be an element of the sequence is 41. The positions of the prime numbers from 2 to 97 are: where ? indicates that the position is unknown as of 2012.
Related sequences
A related sequence of numbers determined by the largest prime factor of one plus the product of the previous numbers is also known as the Euclid–Mullin sequence. It grows more quickly, but is not monotonic. The numbers in this sequence are Not every prime number appears in this sequence, and the sequence of missing primes, has been proven to be infinite. It is also possible to generate modified versions of the Euclid–Mullin sequence by using the same rule of choosing the smallest prime factor at each step, but beginning with a different prime than 2. Alternatively, taking each number to be one plus the product of the previous numbers gives Sylvester's sequence. The sequence constructed by repeatedly appending all factors of one plus the product of the previous numbers is the same as the sequence of prime factors of Sylvester's sequence. Like the Euclid–Mullin sequence, this is a non-monotonic sequence of primes, but it is known not to include all primes.