Title:Primitive roots of the form k² + 1
Statement:Zhi-Wei Sun's Conjecture (A239957): Every prime has a primitive root of the form , where is an integer.
| Subjects: | Number Theory (math.NT) |
| MSC classes: | 11 |
| Cite as: | NS.05801 [math.NT] · NS.05801v1 for this version |
| Declaration: | OeisA239957.conjecture |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 100, later ones: 10; accepted critique: up to 60 |
| Statement hash: | fa0844a26530dd4dd5940004e96233a9c776096ad025ddea910b4ff589717c75 |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/OEIS/239957.lean |
Formal statement
theorem conjecture (p : ℕ) (hp : p.Prime) : A pShow the full Challenge.lean (53 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Primitive roots of the form k² + 1
Every prime $p$ has a primitive root $0 < g < p$ of the form $k^2 + 1$, where $k$ is an integer.
Zhi-Wei Sun has offered a prize of RMB 2,000 for the first proof.
*References:*
- [A239957](https://oeis.org/A239957)
- Z.-W. Sun, "New observations on primitive roots modulo primes," arXiv:1405.0290 [math.NT], 2014.
-/
@[expose] public section
namespace OeisA239957
/-- The predicate that $p$ has a primitive root $0 < g < p$ of the form $k^2 + 1$, where $k$ is an integer. -/
def A (p : ℕ) : Prop :=
∃ k : ℤ, k ^ 2 + 1 < p ∧ orderOf (k ^ 2 + 1 : ZMod p) = p - 1
@[category test, AMS 11]
theorem a_2 : A 2 :=
⟨0, by norm_num, by norm_num⟩
/--
**Zhi-Wei Sun's Conjecture (A239957)**: Every prime $p$ has a primitive root $0 < g < p$ of the
form $k^2 + 1$, where $k$ is an integer.
-/
@[category research open, AMS 11]
theorem conjecture (p : ℕ) (hp : p.Prime) : A p := by
sorry
end OeisA239957
To prove it: keep every definition of Challenge.lean unchanged and prove OeisA239957.conjecture with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_conjecture : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry fetch oeis-239957 nosorry submit oeis-239957 nosorry/oeis-239957/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.