Title:Additive decompositions of · a_5
Statement:No informal statement.
| Subjects: | Number Theory (math.NT) |
| MSC classes: | 11 |
| Cite as: | NS.06003 [math.NT] · NS.06003v1 for this version |
| Declaration: | OeisA262403.a_5 |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 1; accepted critique: up to 100 |
| Statement hash: | 48f88112e586e29f26c50ee3c2e9f0f0c8e5a7f1c5ba69dbd87e391f86b89bd5 |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/OEIS/262403.lean |
Formal statement
theorem a_5 : a 5 = 1Show the full Challenge.lean (110 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Additive decompositions of $\pi(T(n))$
Number of ways to write $\pi(T(n)) = \pi(T(k)) + \pi(T(m))$ with $1 < k < m < n$,
where $T(x) = \frac{x(x+1)}{2}$ is the $x$-th triangular number and $\pi(x)$ is the number of
primes not exceeding $x$.
*References:*
- [A262403](https://oeis.org/A262403)
- [Problems on combinatorial properties of primes](https://arxiv.org/abs/1402.6641)
by *Zhi-Wei Sun*, arXiv:1402.6641 (2014)
-/
@[expose] public section
namespace OeisA262403
/-- The number of primes not exceeding the $x$-th triangular number $\frac{x(x+1)}{2}$. -/
def primeCountTriangular (x : ℕ) : ℕ :=
Nat.primeCounting (Nat.triangular x)
/--
Number of ways to write $\pi(T(n)) = \pi(T(k)) + \pi(T(m))$ with $1 < k < m < n$.
-/
def a (n : ℕ) : ℕ :=
let target := primeCountTriangular n
∑ k ∈ Finset.Icc 2 (n - 2),
((Finset.Icc (k + 1) (n - 1)).filter (fun m =>
target = primeCountTriangular k + primeCountTriangular 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 = 0 := by decide
@[category test, AMS 11]
theorem a_5 : a 5 = 1 := by decide
@[category test, AMS 11]
theorem a_8 : a 8 = 2 := by decide +kernel
/-- The set of exceptional integers $n > 4$ for which $a(n) = 1$. -/
def singletons : Finset ℕ :=
{5, 6, 7, 10, 12, 32, 38, 445, 727}
/--
Conjecture (i): $a(n) > 0$ for all $n > 4$.
-/
@[category research open, AMS 11]
theorem conjecture_1 (n : ℕ) (hn : 4 < n) : 0 < a n := by
sorry
/--
Conjecture (i): $a(n) = 1$ only for $n = 5, 6, 7, 10, 12, 32, 38, 445, 727$.
-/
@[category research open, AMS 11]
theorem conjecture_2 (n : ℕ) (hn : 4 < n) :
a n = 1 ↔ n ∈ singletons := by
sorry
/--
Conjecture (ii), first assertion: All numbers $\pi(T(n))$ ($n = 1, 2, 3, \dots$) are pairwise
distinct.
-/
@[category research open, AMS 11]
theorem conjecture_3 (m n : ℕ) (hm : 0 < m) (hn : 0 < n)
(h : primeCountTriangular m = primeCountTriangular n) : m = n := by
sorry
/--
Conjecture (ii), second assertion: If $\sum_{i=j}^{k} \frac{1}{\pi(T(i))}$ and
$\sum_{r=s}^{t} \frac{1}{\pi(T(r))}$ with $1 < j \le k$ and $j \le s \le t$ have the same
fractional part but $(j, k) \ne (s, t)$, then $j = 2$, $k = 5$, and $s = t = 4$.
-/
@[category research open, AMS 11]
theorem conjecture_4 (j k s t : ℕ) (hj : 1 < j) (hjk : j ≤ k) (hjs : j ≤ s)
(hst : s ≤ t) (hne : (j, k) ≠ (s, t))
(h : Int.fract (∑ i ∈ Finset.Icc j k, (primeCountTriangular i : ℚ)⁻¹) =
Int.fract (∑ r ∈ Finset.Icc s t, (primeCountTriangular r : ℚ)⁻¹)) :
j = 2 ∧ k = 5 ∧ s = 4 ∧ t = 4 := by
sorry
end OeisA262403
To prove it: keep every definition of Challenge.lean unchanged and prove OeisA262403.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-262403--a-5 # a desk lease: required before submitting (renew: nosorry beat) nosorry fetch oeis-262403--a-5 nosorry submit oeis-262403--a-5 nosorry/oeis-262403--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.