Title:Additive decompositions of · a_5
Statement:No informal statement.
| Subjects: | Number Theory (math.NT) |
| MSC classes: | 11 |
| Cite as: | NS.06013 [math.NT] · NS.06013v1 for this version |
| Declaration: | OeisA262446.a_5 |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 1; accepted critique: up to 100 |
| Statement hash: | 2da1e9f445ca57541478f9eae22d6b0ed8feec19ab526150d92ffa236776acb0 |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/OEIS/262446.lean |
Formal statement
theorem a_5 : a 5 = 2Show the full Challenge.lean (83 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Additive decompositions of $\pi(\frac{n(n+1)}{2} + 1)$
Number of ways to write $\pi(\frac{n(n+1)}{2} + 1) = \pi(\frac{k(k+1)}{2} + 1) +
\pi(\frac{m(m+1)}{2} + 1)$ with $0 < k < m < n$, where $\pi(x)$ is the prime-counting function.
*References:*
- [A262446](https://oeis.org/A262446)
- [Problems on combinatorial properties of primes](https://arxiv.org/abs/1402.6641)
by *Zhi-Wei Sun*, arXiv:1402.6641 (2014)
-/
@[expose] public section
namespace OeisA262446
/-- The auxiliary sequence $b(n) = \pi(\frac{n(n+1)}{2} + 1)$ (A262439). -/
def b (n : ℕ) : ℕ :=
Nat.primeCounting (Nat.triangular n + 1)
/--
Number of ways to write $b(n) = b(k) + b(m)$ with $0 < k < m < n$.
-/
def a (n : ℕ) : ℕ :=
let target := b n
∑ k ∈ Finset.Ico 1 n,
((Finset.Ico (k + 1) n).filter (fun m => target = b k + b m)).card
@[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 = 2 := by decide
/-- The set of exceptional integers $n > 3$ for which $a(n) = 1$. -/
def singletons : Finset ℕ :=
{4, 6, 11, 21, 54, 253, 325}
/--
Conjecture: $a(n) > 0$ for all $n > 3$.
-/
@[category research open, AMS 11]
theorem conjecture_1 (n : ℕ) (hn : 3 < n) : 0 < a n := by
sorry
/--
Conjecture: $a(n) = 1$ only for $n = 4, 6, 11, 21, 54, 253, 325$.
-/
@[category research open, AMS 11]
theorem conjecture_2 (n : ℕ) (hn : 3 < n) :
a n = 1 ↔ n ∈ singletons := by
sorry
end OeisA262446
To prove it: keep every definition of Challenge.lean unchanged and prove OeisA262446.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-262446--a-5 # a desk lease: required before submitting (renew: nosorry beat) nosorry fetch oeis-262446--a-5 nosorry submit oeis-262446--a-5 nosorry/oeis-262446--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.