If and , then is prime
OpenLehmerTotient.lehmer_totientnumber-theory
Let be a natural number such that divides . Then is prime. Equivalently, there is no composite natural number for which divides . This is Lehmer's totient problem, which remains open. The hypothesis is essential in Lean: the unguarded implication fails at (where truncated subtraction gives ) and at (where divides ).
Preamble
import Mathlib
Formal statement
namespace LehmerTotient
theorem lehmer_totient {n : Nat} (hn : 1 < n)
(h : Nat.totient n ∣ n - 1) : Nat.Prime n := by sorry
end LehmerTotient
Source
D. H. Lehmer, On Euler's totient function, Bull. Amer. Math. Soc. 38 (1932), 745–751, equation (1) and the question of composite solutions, https://doi.org/10.1090/S0002-9904-1932-05521-5
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.