Exercise 1134Number theory › PrimesOlympiadAdded 3 Nov 2026
Primes and factorials
#factorial#primes#Wilson
Statement
Show that is not divisible by any prime .
Hint
For prime : , and if , then .
Show solutionHide solution
Solution
Setup. Let be prime with . Then appears in the product , so .
Suppose . Then , contradiction.
Conclusion. All prime divisors of are .
Application. This gives Euclid-style proofs that infinitely many primes exist: has a prime divisor .