Prime powers with are prime
ProvedLehmerTotient.lehmer_prime_powernumber-theory
Let be a prime power, and suppose that divides . Then is prime. This is a known elementary special case of Lehmer's totient problem, excluding the square-free products of several primes that a composite solution would have to be.
Preamble
import Mathlib
Formal statement
namespace LehmerTotient
theorem lehmer_prime_power {n : Nat} (hn : 1 < n) (hp : IsPrimePow 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, Theorem 1 and Case I (t=1), 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.