Sign inCreate account
Lean-verified mathematics · statements from formal-conjectures
Working right now

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Smallest prime factors of 22n+2+32^{2^n+2} + 3

Source:OEIS conjectures
Known result Solved on paper; nobody has proved it in Lean here yet. First verified proof: +10 points.
Statement:reviewed
Statement:

Conjecture 1: a(10n+2)=67a(10n+2) = 67 for n≥0n \ge 0. - Chai Wah Wu, Oct 21 2019

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.05899 [math.NT] · NS.05899v1 for this version
Declaration:OeisA248802.a_ten_mul_add_two_eq
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60
Statement hash:54b78a9c6b20a4b43907eb3c37983d37517e7b7510a28e3c6491d4acc4d0ac4e
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/OEIS/248802.lean

Formal statement

theorem a_ten_mul_add_two_eq (n : ℕ) : a (10 * n + 2) = 67
Show the full Challenge.lean (96 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Smallest prime factors of $2^{2^n+2} + 3$

Smallest prime factor of $2^{2^n+2} + 3$.

*References:*
- [A248802](https://oeis.org/A248802)
- [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 OeisA248802


/--
Smallest prime factor of $2^{2^n+2} + 3$.
-/
def a (n : ℕ) : ℕ := (2 ^ (2 ^ n + 2) + 3).minFac

/-- An index k is covered by Conjecture 1 if k = 10m + 2 for some m >= 0, predicting a(k)=67. -/
def CoveredByC1 (k : ℕ) : Prop := ∃ m : ℕ, k = 10 * m + 2

/-- An index k is covered by Conjecture 2 if k = 36m + 16 for some m >= 0,
and m is not 1 mod 5, predicting a(k)=271. -/
def CoveredByC2 (k : ℕ) : Prop := ∃ m : ℕ, k = 36 * m + 16 ∧ m % 5 ≠ 1

/-- An index k is covered by Conjecture 3 if k = 84m + 22 for some m >= 0,
and m is not 0 mod 5, predicting a(k)=523. -/
def CoveredByC3 (k : ℕ) : Prop := ∃ m : ℕ, k = 84 * m + 22 ∧ m % 5 ≠ 0


@[category test, AMS 11]
lemma a_0 : a 0 = 11 := by native_decide

@[category test, AMS 11]
lemma a_1 : a 1 = 19 := by native_decide

@[category test, AMS 11]
lemma a_2 : a 2 = 67 := by native_decide

@[category test, AMS 11]
lemma a_3 : a 3 = 13 := by native_decide

@[category test, AMS 11]
lemma a_4 : a 4 = 262147 := by native_decide


set_option linter.style.formal_proof_palomar false in
/--
Conjecture 1: $a(10n+2) = 67$ for $n \ge 0$. - _Chai Wah Wu_, Oct 21 2019

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/248802.wip.lean#L208"]
theorem a_ten_mul_add_two_eq (n : ℕ) : a (10 * n + 2) = 67 := by
    sorry


set_option linter.style.formal_proof_palomar false in
/--
Conjecture 4: $a(58n+26) = 1399$ for $n \ge 0$ and when it is not covered by Conjectures 1-3. - _Chai Wah Wu_, Oct 21 2019

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/248802.wip.lean#L982"]
theorem a_fifty_eight_mul_add_twenty_six_eq (n : ℕ) :
    (¬CoveredByC1 (58 * n + 26) ∧ ¬CoveredByC2 (58 * n + 26) ∧
    ¬CoveredByC3 (58 * n + 26)) → a (58 * n + 26) = 1399 := by
    sorry

end OeisA248802

To prove it: keep every definition of Challenge.lean unchanged and prove OeisA248802.a_ten_mul_add_two_eq with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_a_ten_mul_add_two_eq : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.

nosorry fetch oeis-248802
nosorry submit oeis-248802 nosorry/oeis-248802/Solution.lean --wait

Formal variants

Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.

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.