Title:Partitions of into with prime
Statement:Conjecture: if is different from .
| Subjects: | Number Theory (math.NT) |
| MSC classes: | 11 |
| Cite as: | NS.05391 [math.NT] · NS.05391v1 for this version |
| Declaration: | OeisA219791.conjecture_1 |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 100, later ones: 10; accepted critique: up to 60 |
| Statement hash: | 8d1473bddb9bad3e7d48d002b4b59e8aac5a6898c121e4e62882d8566a944745 |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/OEIS/219791.lean |
Formal statement
theorem conjecture_1 (n : ℕ) (hn : n > 0) (h1 : n ≠ 1) (h6 : n ≠ 6) (h16 : n ≠ 16) (h24 : n ≠ 24) :
a n > 0Show the full Challenge.lean (73 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Partitions of $n$ into $x + y$ with $(xy)^2 + 1$ prime
Number of ways to write $n = x + y$ ($0 < x \le y$) with $(xy)^2 + 1$ prime.
*References:*
- [A219791](https://oeis.org/A219791)
-/
@[expose] public section
namespace OeisA219791
/-- Number of ways to write $n = x + y$ ($0 < x \le y$) with $(xy)^2 + 1$ prime. -/
def a (n : ℕ) : ℕ :=
(Finset.Icc 1 (n / 2)).filter (fun x : ℕ => Nat.Prime ((x * (n - x)) ^ 2 + 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 = 2 := by decide
/--
Conjecture: $a(n) > 0$ if $n$ is different from $1, 6, 16, 24$.
-/
@[category research open, AMS 11]
theorem conjecture_1 (n : ℕ) (hn : n > 0) (h1 : n ≠ 1) (h6 : n ≠ 6) (h16 : n ≠ 16) (h24 : n ≠ 24) :
a n > 0 := by
sorry
/--
Conjecture: For any positive integer $k$, each
sufficiently large integer $n$ can be written as $x + y$ ($x > 0, y > 0$) with $(xy)^{2^k} + 1$
prime.
- _Zhi-Wei Sun_
-/
@[category research open, AMS 11]
theorem conjecture_2 (k : ℕ) (hk : 0 < k) :
∃ N : ℕ, ∀ n : ℕ, N ≤ n →
∃ x y : ℕ, 0 < x ∧ 0 < y ∧ x + y = n ∧ Nat.Prime ((x * y) ^ (2 ^ k) + 1) := by
sorry
end OeisA219791
To prove it: keep every definition of Challenge.lean unchanged and prove OeisA219791.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-219791 nosorry submit oeis-219791 nosorry/oeis-219791/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.