Title:Representations of using prime pairs with prime gaps of
Statement:Conjecture: for all even and odd .
| Subjects: | Number Theory (math.NT) |
| MSC classes: | 11 |
| Cite as: | NS.05384 [math.NT] · NS.05384v1 for this version |
| Declaration: | OeisA219055.conjecture_1 |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 100, later ones: 10; accepted critique: up to 60 |
| Statement hash: | be28a31bb6c8bedab9f015c117f56d3f5602fc11dfba4c1e62b79e463ed269e6 |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/OEIS/219055.lean |
Formal statement
theorem conjecture_1 (n : ℕ) (hn : (Even n ∧ 8012 < n) ∨ (Odd n ∧ 15727 < n)) : a n > 0Show the full Challenge.lean (80 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Representations of $n$ using prime pairs with prime gaps of $6$
Number of ways to write $n = p + q(3 - (-1)^n)/2$ with $p > q$ and $p, q, p - 6, q + 6$ all prime.
*References:*
- [A219055](https://oeis.org/A219055)
-/
@[expose] public section
namespace OeisA219055
/-- Number of ways to write $n = p + q(3 - (-1)^n)/2$ with $p > q$ and $p, q, p - 6, q + 6$ all
prime. -/
def a (n : ℕ) : ℕ :=
(Finset.range n).filter (fun q : ℕ =>
((1 + n % 2) + 1) * q < n ∧
q.Prime ∧
(q + 6).Prime ∧
(n - (1 + n % 2) * q).Prime ∧
(n - (1 + n % 2) * q - 6).Prime
) |>.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_16 : a 16 = 1 := by decide
@[category test, AMS 11]
theorem a_18 : a 18 = 2 := by decide
/--
Conjecture: $a(n) > 0$ for all even $n > 8012$ and odd $n > 15727$.
-/
@[category research open, AMS 11]
theorem conjecture_1 (n : ℕ) (hn : (Even n ∧ 8012 < n) ∨ (Odd n ∧ 15727 < n)) : a n > 0 := by
sorry
/--
Conjecture: For any two multiples $d_1$ and $d_2$ of
$6$, all sufficiently large integers $n$ can be written as $p + q(3 - (-1)^n)/2$ with $p > q$ and
$p, q, p - d_1, q + d_2$ all prime.
- _Zhi-Wei Sun_
-/
@[category research open, AMS 11]
theorem conjecture_2 (d₁ d₂ : ℤ) (hd₁ : 6 ∣ d₁) (hd₂ : 6 ∣ d₂) :
∃ N : ℕ, ∀ n : ℕ, N ≤ n →
∃ p q p' q' : ℕ, q < p ∧ p.Prime ∧ q.Prime ∧ p'.Prime ∧ q'.Prime ∧
(p : ℤ) - d₁ = p' ∧ (q : ℤ) + d₂ = q' ∧ n = p + (1 + n % 2) * q := by
sorry
end OeisA219055
To prove it: keep every definition of Challenge.lean unchanged and prove OeisA219055.conjecture_1 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_conjecture_1 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry fetch oeis-219055 nosorry submit oeis-219055 nosorry/oeis-219055/Solution.lean --wait
Formal variants
Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.
- conjecture-2 — open
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.