Math 2.0

Number theory Proof

Proof of Euclid's theorem using n! + 1

Builds on Prime numberExistence of a prime divisorDivisibility

Proof

We show that n!+1n! + 1 has a prime divisor larger than nn.

  1. Let nn be a natural number, and put N=n!+1N = n! + 1. Here n!=1⋅2⋯nn! = 1 \cdot 2 \cdots n, with 0!=10! = 1.
  2. Since n!≥1n! \ge 1, N≥2N \ge 2. By the existence of a prime divisor, there is a prime number pp with p∣Np \mid N.
  3. Suppose p≤np \le n. Since p≥2p \ge 2, pp is one of the factors 1,2,…,n1, 2, \dots, n of n!n!, so pp divides n!n!.
  4. Then pp divides N−n!=1N - n! = 1. But p≥2p \ge 2, and 22 or more cannot divide 11. This is a contradiction.
  5. So p>np > n, and in particular p≥np \ge n. This proves the second form of the statement.
  6. Suppose there were only finitely many primes. Let nn be one more than the largest of them.
  7. By step 5, there is a prime p≥np \ge n. Then pp is larger than every prime, which is impossible. So there are infinitely many primes.

Idea

Every number from 22 to nn divides n!n!, so it leaves remainder 11 when it divides n!+1n! + 1. Hence every prime factor of n!+1n! + 1 is larger than nn, and there is always a prime beyond any given bound.

Reading path

To understand this page from the ground up, read these 20 pages in order. The foundations come first. The path takes the proofs Proof of the commutativity of addition by induction, Proof of strong induction from ordinary induction, Proof of the well-ordering principle from strong induction, Proof of the existence of a prime divisor.

Show the path as a graph
Definition by recursion, concept, no evidence levelDefinition by recursi…conceptDivisibility, definition, no evidence levelDivisibilitydefinitionMathematical induction, concept, no evidence levelMathematical inductionconceptNatural numbers, object, no evidence levelNatural numbersobjectPeano axioms, concept, no evidence levelPeano axiomsconceptPrime number, definition, no evidence levelPrime numberdefinitionSuccessor function, definition, no evidence levelSuccessor functiondefinitionAddition of natural numbers, definition, no evidence levelAddition of natural n…definitionThe successor function is injective, statement, no evidence levelThe successor functio…statementZero is not a successor, statement, no evidence levelZero is not a success…statementProof of the commutativity of addition by induction, proof, no evidence levelProof of the commutat…proofOrder on the natural numbers, definition, no evidence levelOrder on the natural …definitionCommutativity of addition, statement, no evidence levelCommutativity of addi…statementProof of strong induction from ordinary induction, proof, no evidence levelProof of strong induc…proofStrong induction, statement, no evidence levelStrong inductionstatementProof of the well-ordering principle from strong induction, proof, no evidence levelProof of the well-ord…proofWell-ordering principle, statement, no evidence levelWell-ordering princip…statementProof of the existence of a prime divisor, proof, no evidence levelProof of the existenc…proofExistence of a prime divisor, statement, no evidence levelExistence of a prime …statementProof of Euclid's theorem using n! + 1, proof, no evidence levelProof of Euclid's the…proof
Each page uses the pages above it. The colour of the bar on a box shows how strong the evidence is, and the box also gives it as text. The list has the same pages.
  • no evidence level
  1. Definition by recursion concept
  2. Divisibility definition
  3. Mathematical induction concept
  4. Natural numbers object
  5. Peano axioms concept
  6. Prime number definition
  7. Successor function definition
  8. Addition of natural numbers definition
  9. The successor function is injective statement
  10. Zero is not a successor statement
  11. Proof of the commutativity of addition by induction proof
  12. Order on the natural numbers definition
  13. Commutativity of addition statement
  14. Proof of strong induction from ordinary induction proof
  15. Strong induction statement
  16. Proof of the well-ordering principle from strong induction proof
  17. Well-ordering principle statement
  18. Proof of the existence of a prime divisor proof
  19. Existence of a prime divisor statement
  20. Proof of Euclid's theorem using n! + 1 proof

Where this leads

4 pages build on this one.

Further reading

  1. Web https://en.wikipedia.org/wiki/Euclid%27s_theorem, Euclid's proof, Variations
About this page
TagTMXSM5BNVK
URIm2://TMXSM5BNVK
Kindproof
WritingW0 stub
MSC11A41
ProvesEuclid's theorem
UsesPrime number, Existence of a prime divisor, Divisibility
Changed4 November 2026

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • an inventory row: the row of the inventory that the node accounts for (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.