Title:Primes congruent to · a_5
Statement:is in the sequence A003625.
| Subjects: | Number Theory (math.NT) |
| MSC classes: | 11 |
| Cite as: | NS.06309 [math.NT] · NS.06309v1 for this version |
| Declaration: | OeisA3625.a_5 |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 1; accepted critique: up to 100 |
| Statement hash: | fe0df576d559a2b2a8f9b2d987028eb98b70ea95b319eebce7f52add0f4f9ee3 |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/OEIS/3625.lean |
Formal statement
theorem a_5 : A 5Show the full Challenge.lean (85 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Primes congruent to $\{3, 5, 6\} \pmod 7$
Primes congruent to $3, 5, \text{ or } 6 \pmod 7$.
*References:*
- [A003625](https://oeis.org/A003625)
-/
@[expose] public section
namespace OeisA3625
/-- A prime $p$ is in A003625 if $p \equiv 3, 5, \text{ or } 6 \pmod 7$. -/
def A (p : ℕ) : Prop :=
p.Prime ∧ (p % 7 = 3 ∨ p % 7 = 5 ∨ p % 7 = 6)
open Polynomial
/-- $3$ is in the sequence A003625. -/
@[category test, AMS 11]
theorem a_3 : A 3 := by
unfold A
decide +native
/-- $5$ is in the sequence A003625. -/
@[category test, AMS 11]
theorem a_5 : A 5 := by
unfold A
decide +native
/-- $13$ is in the sequence A003625. -/
@[category test, AMS 11]
theorem a_13 : A 13 := by
unfold A
decide +native
/-- $17$ is in the sequence A003625. -/
@[category test, AMS 11]
theorem a_17 : A 17 := by
unfold A
decide +native
/-- $19$ is in the sequence A003625. -/
@[category test, AMS 11]
theorem a_19 : A 19 := by
unfold A
decide +native
set_option linter.style.formal_proof_palomar false in
/--
Conjecture: Represents primes $p$ where the polynomial $x^2 + x + 2$ is irreducible over $\text{GF}(p)$.
- _Federico Provvedi_, Jul 21 2018
Answer: true, the equivalence is classical (complete the square: $4(x^2+x+2) = (2x+1)^2 + 7$,
then use quadratic reciprocity).
-/
@[category research solved, AMS 11,
formal_proof using lean4 at
"https://github.com/KitaKen1/oeis-a003625-irreducibility/blob/d6c9f90827805142d81eee4e3d9099c8b48cbcc8/lean/OeisA3625FC.lean#L103-L104"]
theorem conjecture (p : ℕ) (hp : p.Prime) :
A p ↔ Irreducible (X ^ 2 + X + 2 : (ZMod p)[X]) := by
sorry
end OeisA3625
To prove it: keep every definition of Challenge.lean unchanged and prove OeisA3625.a_5 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_a_5 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry desk oeis-3625--a-5 # a desk lease: required before submitting (renew: nosorry beat) nosorry fetch oeis-3625--a-5 nosorry submit oeis-3625--a-5 nosorry/oeis-3625--a-5/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.