Title:Ways to write with six linear and quadratic forms prime · conjecture_2
Statement:Moreover, any integer can be written as with among such that are prime.
| Subjects: | Number Theory (math.NT) |
| MSC classes: | 11 |
| Cite as: | NS.05532 [math.NT] · NS.05532v1 for this version |
| Declaration: | OeisA229969.conjecture_2 |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 100, later ones: 10; accepted critique: up to 60 |
| Statement hash: | a57fc217bb8c2fcd2a2029acb03fa93e275c37a7e4173e0d60a3e51a5f1dee10 |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/OEIS/229969.lean |
Formal statement
theorem conjecture_2 (n : ℕ) (hn : n > 6) :
∃ x y z : ℕ, 0 < y ∧ 0 < z ∧ x + y + z = n ∧
x ∈ ({3, 4, 6, 10, 15} : Finset ℕ) ∧
(2 * y - 1).Prime ∧ (2 * z - 1).Prime ∧
(2 * x * y - 1).Prime ∧ (2 * x * z - 1).Prime ∧ (2 * y * z - 1).PrimeShow the full Challenge.lean (147 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Ways to write $n = x + y + z$ with six linear and quadratic forms prime
Number of ways to write $n = x + y + z$ with $0 < x \le y \le z$ such that all the six numbers
$2x-1, 2y-1, 2z-1, 2xy-1, 2xz-1, 2yz-1$ are prime.
*References:*
- [A229969](https://oeis.org/A229969)
-/
@[expose] public section
namespace OeisA229969
/-- Number of ways to write $n = x + y + z$ with $0 < x \le y \le z$ such that all the six numbers
$2x-1, 2y-1, 2z-1, 2xy-1, 2xz-1, 2yz-1$ are prime. -/
def a (n : ℕ) : ℕ :=
∑ x ∈ Finset.Icc 1 (n / 3),
∑ y ∈ Finset.Icc x ((n - x) / 2),
let z := n - x - y
if (2 * x - 1).Prime ∧ (2 * y - 1).Prime ∧ (2 * z - 1).Prime ∧
(2 * x * y - 1).Prime ∧ (2 * x * z - 1).Prime ∧ (2 * y * z - 1).Prime
then 1 else 0
@[category test, AMS 11]
theorem a_1 : a 1 = 0 := by rfl
@[category test, AMS 11]
theorem a_2 : a 2 = 0 := by rfl
@[category test, AMS 11]
theorem a_3 : a 3 = 0 := by rfl
@[category test, AMS 11]
theorem a_4 : a 4 = 0 := by rfl
@[category test, AMS 11]
theorem a_5 : a 5 = 0 := by rfl
@[category test, AMS 11]
theorem a_6 : a 6 = 1 := by rfl
@[category test, AMS 11]
theorem a_10 : a 10 = 2 := by decide
/--
Conjecture: $a(n) > 0$ for all $n > 5$.
-/
@[category research open, AMS 11]
theorem conjecture_1 (n : ℕ) (hn : n > 5) : a n > 0 := by
sorry
/--
Moreover, any integer $n > 6$ can be written as $x + y + z$ with $x$ among $3, 4, 6, 10, 15$ such
that $2y-1, 2z-1, 2xy-1, 2xz-1, 2yz-1$ are prime.
-/
@[category research open, AMS 11]
theorem conjecture_2 (n : ℕ) (hn : n > 6) :
∃ x y z : ℕ, 0 < y ∧ 0 < z ∧ x + y + z = n ∧
x ∈ ({3, 4, 6, 10, 15} : Finset ℕ) ∧
(2 * y - 1).Prime ∧ (2 * z - 1).Prime ∧
(2 * x * y - 1).Prime ∧ (2 * x * z - 1).Prime ∧ (2 * y * z - 1).Prime := by
sorry
/--
Conjecture (i), part 1: Any integer $n > 6$ can be written as $x + y + z$ ($x, y, z > 0$) with
$2x-1, 2y-1, 2z-1$ and $2xyz-1$ all prime and $x$ among $2, 3, 4$.
- _Zhi-Wei Sun_
-/
@[category research open, AMS 11]
theorem conjecture_3a (n : ℕ) (hn : n > 6) :
∃ x y z : ℕ, 0 < x ∧ 0 < y ∧ 0 < z ∧ x + y + z = n ∧
x ∈ ({2, 3, 4} : Finset ℕ) ∧
(2 * x - 1).Prime ∧ (2 * y - 1).Prime ∧ (2 * z - 1).Prime ∧
(2 * x * y * z - 1).Prime := by
sorry
/--
Conjecture (i), part 2: Each integer $n > 2$ can be written as $x + y + z$ ($x, y, z > 0$) with
$2x+1, 2y+1, 2z+1$ and $2xyz+1$ all prime and $x$ among $1, 2, 3$.
- _Zhi-Wei Sun_
-/
@[category research open, AMS 11]
theorem conjecture_3b (n : ℕ) (hn : n > 2) :
∃ x y z : ℕ, 0 < x ∧ 0 < y ∧ 0 < z ∧ x + y + z = n ∧
x ∈ ({1, 2, 3} : Finset ℕ) ∧
(2 * x + 1).Prime ∧ (2 * y + 1).Prime ∧ (2 * z + 1).Prime ∧
(2 * x * y * z + 1).Prime := by
sorry
/--
Conjecture (ii): Each integer $n > 4$ can be written as $x + y + z$ with $x = 3$ or $6$ such that
$2y+1, 2xyz-1$ and $2xyz+1$ are prime.
- _Zhi-Wei Sun_
-/
@[category research open, AMS 11]
theorem conjecture_4 (n : ℕ) (hn : n > 4) :
∃ x y z : ℕ, 0 < y ∧ 0 < z ∧ x + y + z = n ∧
(x = 3 ∨ x = 6) ∧
(2 * y + 1).Prime ∧ (2 * x * y * z - 1).Prime ∧ (2 * x * y * z + 1).Prime := by
sorry
/--
Conjecture (iii), part 1: Every integer $n > 5$ can be written as $x + y + z$ ($x, y, z > 0$) with
$xy-1, xz-1, yz-1$ all prime and $x$ among $2, 6, 10$.
- _Zhi-Wei Sun_
-/
@[category research open, AMS 11]
theorem conjecture_5a (n : ℕ) (hn : n > 5) :
∃ x y z : ℕ, 0 < x ∧ 0 < y ∧ 0 < z ∧ x + y + z = n ∧
x ∈ ({2, 6, 10} : Finset ℕ) ∧
(x * y - 1).Prime ∧ (x * z - 1).Prime ∧ (y * z - 1).Prime := by
sorry
/--
Conjecture (iii), part 2: Any integer $n > 2$ not equal to $16$ can be written as $x + y + z$
($x, y, z > 0$) with $xy+1, xz+1, yz+1$ all prime and $x$ among $1, 2, 6$.
- _Zhi-Wei Sun_
-/
@[category research open, AMS 11]
theorem conjecture_5b (n : ℕ) (hn : n > 2) (hne : n ≠ 16) :
∃ x y z : ℕ, 0 < x ∧ 0 < y ∧ 0 < z ∧ x + y + z = n ∧
x ∈ ({1, 2, 6} : Finset ℕ) ∧
(x * y + 1).Prime ∧ (x * z + 1).Prime ∧ (y * z + 1).Prime := by
sorry
end OeisA229969
To prove it: keep every definition of Challenge.lean unchanged and prove OeisA229969.conjecture_2 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_conjecture_2 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry fetch oeis-229969--conjecture-2 nosorry submit oeis-229969--conjecture-2 nosorry/oeis-229969--conjecture-2/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.