Exercise 1336Number theory › PrimesOlympiadAdded 5 Nov 2026
Prime divisors of n² + n + 1
#order#Fermat's little theorem#primes in progressions
Statement
- Let be a prime dividing for some integer . Prove that or .
- Deduce that there are infinitely many primes .
Hint
. What can you say about the multiplicative order of modulo ?
Show solutionHide solution
Solution
1. Since , we have (otherwise ), and , so . The order of modulo divides , so .
- If , then and , so .
- If , then by Fermat's little theorem , so divides , that is .
2. Let and put , . For every prime we have , hence . So every prime divisor of is larger than , in particular different from . By part 1 each prime divisor of is ; and has at least one. So for every there is a prime larger than .
Lesson. A prime factor of (here ) is unless it divides : this is the standard route to "infinitely many primes ".