-2

In Euclid's famous proof that there is no largest prime number he supposes $p_n$ is the largest prime and forms:

$$\prod_{i=1}^n p_i + 1$$

and notes that the product must be larger than any of its components and either a) this is a prime or b) it is the product of primes larger than $p_n$.

What is the first number where case b) holds? Are there an infinite number of these?

Robin
  • 6,201

1 Answers1

5

The numbers $$E_k = \prod_{i=1}^k p_i + 1$$ are called Euclid numbers. The first indices $k$ such that $E_k$ is prime are $$1, 2, 3, 4, 5, 11, 75, 171, 172, 384, 457, 616, 643, 1391, 1613, 2122, 2647, 2673, 4413, 13494, 31260, 33237, 304723, 365071, 436504, 498865,$$ see OEIS A014545.

It is not known whether infinitely many Euclid numbers are prime, see the wiki for example. If you look at the indices above, it does seem like infinitely many Euclid numbers should be composite, but this also seems to be an open problem.

Steven
  • 3,186