Exercise 2199Number theory › PrimesM1Added 3 Nov 2026
Proth's theorem
#Proth#primes#primality
Statement
State Proth's theorem and apply it to .
Hint
Proth numbers are with odd. is prime iff there exists with .
Show solutionHide solution
Solution
Theorem. Let with odd. is prime iff there exists with .
Apply to . , so , , . Need . Try : ... compute more carefully. Actually , not prime, so no such exists.
Correction. is composite; Proth's theorem confirms no such exists.
Conclusion. The theorem is used to certify primality of Proth numbers efficiently.