Title:Number of decompositions of into , where and are both odd primes
Statement:Conjecture: all items for are greater than or equal to . This is a stronger conjecture than the Goldbach conjecture.
| Subjects: | Number Theory (math.NT) |
| MSC classes: | 11 |
| Cite as: | NS.04482 [math.NT] · NS.04482v1 for this version |
| Declaration: | OeisA103151.conjecture |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 100, later ones: 10; accepted critique: up to 60 |
| Statement hash: | 350e7e5cd726299db793d1ca9c2a8a398d1a70bb91025a36ad5a74cfd1386688 |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/OEIS/103151.lean |
Formal statement
theorem conjecture (n : ℕ) (hn : n ≥ 4) : a n ≥ 1Show the full Challenge.lean (73 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Number of decompositions of $2n+1$ into $2p+q$, where $p$ and $q$ are both odd primes
*References:*
- [A103151](https://oeis.org/A103151)
-/
@[expose] public section
namespace OeisA103151
/--
The primary defining sequence `a`.
`a n` is the number of decompositions of `2n+1` into `2p+q`, where `p` and `q` are both odd primes.
-/
def a (n : ℕ) : ℕ :=
-- We count the number of odd primes $p$ that satisfy the constraints.
-- The range $p \le n$ is sufficient, as larger $p$ would make $q \le 1$, which is not prime.
Finset.card (Finset.filter (fun p : ℕ =>
-- p must be an odd prime.
p.Prime ∧
p ≠ 2 ∧
-- Ensure the expression for $q$ is positive, so Nat subtraction is well-defined for prime $q$.
2 * p < 2 * n + 1 ∧
-- q = 2n+1 - 2p must be prime (and is automatically odd).
Nat.Prime (2 * n + 1 - 2 * p)
) (Finset.range (n + 1)))
/-- Term theorems verifying the first few values of the sequence against the official OEIS b-file -/
@[category test, AMS 11]
theorem a_1 : a 1 = 0 := by decide
@[category test, AMS 11]
theorem a_2 : a 2 = 0 := by decide
@[category test, AMS 11]
theorem a_3 : a 3 = 0 := by decide
@[category test, AMS 11]
theorem a_4 : a 4 = 1 := by decide
@[category test, AMS 11]
theorem a_5 : a 5 = 1 := by decide
/--
Conjecture: all items for $n \ge 4$ are greater than or equal to $1$. This is a stronger
conjecture than the Goldbach conjecture.
-/
@[category research open, AMS 11]
theorem conjecture (n : ℕ) (hn : n ≥ 4) : a n ≥ 1 := by
sorry
end OeisA103151
To prove it: keep every definition of Challenge.lean unchanged and prove OeisA103151.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-103151 nosorry submit oeis-103151 nosorry/oeis-103151/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.