Title:Vanishing of bases with for absolute Euler pseudoprimes
Statement:Conjecture: if is an absolute Euler pseudoprime, then .
A formal proof has been found with the methods described in arxiv/2605.22763.
| Subjects: | Number Theory (math.NT) |
| MSC classes: | 11 |
| Tags: | formal_proof |
| Cite as: | NS.06179 [math.NT] · NS.06179v1 for this version |
| Declaration: | OeisA307865.a_eq_zero_of_pseudoprime |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60 |
| Statement hash: | 5b961e2d612cb672daddcf3eca0cccbb928bcac21b616f1943a6241111c82657 |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/OEIS/307865.lean |
Formal statement
theorem a_eq_zero_of_pseudoprime (h : IsAbsoluteEulerPseudoprime (2 * n + 1)) : a n = 0Show the full Challenge.lean (89 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Vanishing of bases with $b^n \equiv -1 \pmod{2n+1}$ for absolute Euler pseudoprimes
$a(n)$ is the number of natural bases $b < 2n+1$ such that $b^n \equiv -1 \pmod{2n+1}$.
If $2n+1$ is an absolute Euler pseudoprime, then $a(n) = 0$.
*References:*
- [A307865](https://oeis.org/A307865)
- [arxiv/2605.22763](https://arxiv.org/abs/2605.22763) *Advancing Mathematics Research with AI-Driven Formal Proof Search* by George Tsoukalas et al.
-/
@[expose] public section
namespace OeisA307865
open Nat Finset ZMod
/--
$a(n)$ is the number of natural bases $b < 2n+1$ such that $b^n \equiv -1 \pmod{2n+1}$.
The bases $b$ are interpreted as $b \in \{1, 2, \dots, 2n\}$.
We check the condition in the ring $\mathbb{Z}/(2n+1)\mathbb{Z}$.
-/
def a (n : ℕ) : ℕ :=
let m : ℕ := 2 * n + 1
-- The set of bases is $\{1, 2, \dots, 2n\} = \text{Ico } 1 m$.
(Ico 1 m).filter (fun b : ℕ => (b : ZMod m) ^ n = (-1 : ZMod m)) |>.card
variable {n : ℕ}
/--
A natural number $m > 1$ is an absolute Euler pseudoprime if it is composite and
for all $b$ coprime to $m$, $b^{(m-1)/2} \equiv \pm 1 \pmod m$.
-/
def IsAbsoluteEulerPseudoprime (m : ℕ) : Prop :=
m > 1 ∧ ¬ Nat.Prime m ∧
(∀ b : ℕ, Nat.Coprime b m → (b : ZMod m) ^ ((m - 1) / 2) = 1 ∨ (b : ZMod m) ^ ((m - 1) / 2) = -1)
@[category test, AMS 11]
lemma a_0 : a 0 = 0 := by rfl
@[category test, AMS 11]
lemma a_1 : a 1 = 1 := by rfl
@[category test, AMS 11]
lemma a_2 : a 2 = 2 := by rfl
@[category test, AMS 11]
lemma a_3 : a 3 = 3 := by rfl
@[category test, AMS 11]
lemma a_4 : a 4 = 0 := by rfl
set_option linter.style.formal_proof_palomar false in
/--
Conjecture: if $2n+1$ is an absolute Euler pseudoprime, then $a(n) = 0$.
A formal proof has been found with the methods described in
[arxiv/2605.22763](https://arxiv.org/abs/2605.22763).
-/
@[category research solved, AMS 11, formal_proof using formal_conjectures at
"https://github.com/mo271/formal-conjectures/blob/a32396489dcb8f86c3549b93aa358ac6a10a3a1f/FormalConjectures/OEIS/307865.wip.lean#L190"]
theorem a_eq_zero_of_pseudoprime (h : IsAbsoluteEulerPseudoprime (2 * n + 1)) : a n = 0 := by
sorry
end OeisA307865
To prove it: keep every definition of Challenge.lean unchanged and prove OeisA307865.a_eq_zero_of_pseudoprime with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_a_eq_zero_of_pseudoprime : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry fetch oeis-307865 nosorry submit oeis-307865 nosorry/oeis-307865/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.