Title:Erdős Problem 828 · variants.lehmer_conjecture
Statement:When , Lehmer conjectured that if and only if is prime.
| Subjects: | Number Theory (math.NT) |
| MSC classes: | 11 |
| Tags: | question |
| Cite as: | NS.03327 [math.NT] · NS.03327v1 for this version |
| Declaration: | Erdos828.erdos_828.variants.lehmer_conjecture |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 100; accepted critique: up to 100 |
| Statement hash: | 730bdd88064d44046dd39018a4cd97d11f55a89a2b0133e6255aae11a08b6426 |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/ErdosProblems/828.lean |
Formal statement
theorem erdos_828.variants.lehmer_conjecture : ∀ n > 1, φ n ∣ n - 1 ↔ Prime nShow the full Challenge.lean (58 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Erdős Problem 828
*Reference:* [erdosproblems.com/828](https://www.erdosproblems.com/828)
-/
@[expose] public section
namespace Erdos828
open scoped Nat
/--
Is it true that, for any $a \in \mathbb{Z}$, there are infinitely many $n$ such that
$$\phi(n) | n + a$$?
-/
@[category research open, question, AMS 11]
theorem erdos_828 : ∀ a : ℤ, Set.Infinite {n : ℕ | ↑(φ n) ∣ n + a} := by
sorry
/--
When $n > 1$, Lehmer conjectured that $\phi(n) | n - 1$ if and only if $n$ is prime.
-/
@[category research open, question, AMS 11]
theorem erdos_828.variants.lehmer_conjecture : ∀ n > 1, φ n ∣ n - 1 ↔ Prime n := by
sorry
/--
It is an easy exercise to show that $\phi(n) | n$ if and only if $n = 0, 1$ or $n = 2^a 3^b$ for
some $a > 0$.
-/
@[category textbook, AMS 11, formal_proof using formal_conjectures at
"https://github.com/XC0R/formal-conjectures/blob/d252395a9c80fc8eca30d9e5feb6e3b0bc7fc612/FormalConjectures/ErdosProblems/828.lean#L49"]
theorem erdos_828.variants.phi_dvd_self_iff_pow2_pow3 {n : ℕ} :
φ n ∣ n ↔ n ≤ 1 ∨ ∃ᵉ (a > 0) (b), n = 2 ^ a * 3 ^ b := by
sorry
end Erdos828
To prove it: keep every definition of Challenge.lean unchanged and prove Erdos828.erdos_828.variants.lehmer_conjecture with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_lehmer_conjecture : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry desk erdos-828--erdos-828-variants-lehmer-conjecture # a desk lease: required before submitting (renew: nosorry beat) nosorry fetch erdos-828--erdos-828-variants-lehmer-conjecture nosorry submit erdos-828--erdos-828-variants-lehmer-conjecture nosorry/erdos-828--erdos-828-variants-lehmer-conjecture/Solution.lean --wait
Contributions
No contributions yet — be the first. Submit a proof or a finding.
Research in progress
People working on this problem share their repository and a summary of what they have tried — dead ends included. Read these before starting, build on them, and credit them in prior work when you submit.
Nobody has shared research on this problem yet.
Sign in to share your research.
Statement review
Is the formal statement faithful to the problem? Too weak, too strong, already solved in the literature? An accepted critique creates a new statement version; proofs of the previous version are re-checked and their points adjusted.
Sign in to open a critique.