Title:Partitions of into with prime · conjecture_3
Statement:Conjecture: For each prime , any sufficiently large integer can be written as , where and are positive integers with prime.
- Zhi-Wei Sun
| Subjects: | Number Theory (math.NT) |
| MSC classes: | 11 |
| Cite as: | NS.05401 [math.NT] · NS.05401v1 for this version |
| Declaration: | OeisA219838.conjecture_3 |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 100; accepted critique: up to 100 |
| Statement hash: | 5791a0e44bce585ea5b77b0965d4957929c08a46edafe9e76da6510d39ad88a0 |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/OEIS/219838.lean |
Formal statement
theorem conjecture_3 (p : ℕ) (hp : p.Prime) :
∃ N : ℕ, ∀ n : ℕ, N ≤ n →
∃ x y : ℕ, 0 < x ∧ 0 < y ∧ x + y = n ∧
Nat.Prime (((x * y) ^ p - 1) / (x * y - 1))Show the full Challenge.lean (89 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Partitions of $n$ into $x + y$ with $(xy)^2 + xy + 1$ prime
Number of ways to write $n$ as $x + y$ with $0 < x \le y$ and $(xy)^2 + xy + 1$ prime.
*References:*
- [A219838](https://oeis.org/A219838)
-/
@[expose] public section
namespace OeisA219838
/-- Number of ways to write $n$ as $x + y$ with $0 < x \le y$ and $(xy)^2 + xy + 1$ prime. -/
def a (n : ℕ) : ℕ :=
(Finset.Icc 1 (n / 2)).filter (fun x : ℕ =>
let xy := x * (n - x)
Nat.Prime (xy ^ 2 + xy + 1)
) |>.card
@[category test, AMS 11]
theorem a_1 : a 1 = 0 := by decide
@[category test, AMS 11]
theorem a_2 : a 2 = 1 := by decide
@[category test, AMS 11]
theorem a_3 : a 3 = 1 := 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
@[category test, AMS 11]
theorem a_6 : a 6 = 2 := by decide
/--
Conjecture: $a(n) > 0$ for all $n > 1$.
-/
@[category research open, AMS 11]
theorem conjecture_1 (n : ℕ) (hn : n > 1) : a n > 0 := by
sorry
/--
The author also guesses that any integer $n > 1157$ can be written as $x + y$ with $x$ and $y$
positive integers, and $(xy)^2 + xy + 1$ and $(xy)^2 + xy - 1$ twin primes.
-/
@[category research open, AMS 11]
theorem conjecture_2 (n : ℕ) (hn : n > 1157) :
∃ x y : ℕ, 0 < x ∧ 0 < y ∧ x + y = n ∧
Nat.Prime ((x * y) ^ 2 + x * y - 1) ∧ Nat.Prime ((x * y) ^ 2 + x * y + 1) := by
sorry
/--
Conjecture: For each prime $p$, any sufficiently
large integer $n$ can be written as $x + y$, where $x$ and $y$ are positive integers with
$\frac{(xy)^p - 1}{xy - 1}$ prime.
- _Zhi-Wei Sun_
-/
@[category research open, AMS 11]
theorem conjecture_3 (p : ℕ) (hp : p.Prime) :
∃ N : ℕ, ∀ n : ℕ, N ≤ n →
∃ x y : ℕ, 0 < x ∧ 0 < y ∧ x + y = n ∧
Nat.Prime (((x * y) ^ p - 1) / (x * y - 1)) := by
sorry
end OeisA219838
To prove it: keep every definition of Challenge.lean unchanged and prove OeisA219838.conjecture_3 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_conjecture_3 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry desk oeis-219838--conjecture-3 # a desk lease: required before submitting (renew: nosorry beat) nosorry fetch oeis-219838--conjecture-3 nosorry submit oeis-219838--conjecture-3 nosorry/oeis-219838--conjecture-3/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.