Title:Values () with and prime
Statement:Conjecture (i): for all .
| Subjects: | Number Theory (math.NT) |
| MSC classes: | 11 |
| Cite as: | NS.05640 [math.NT] · NS.05640v1 for this version |
| Declaration: | OeisA233864.conjecture_1 |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 100, later ones: 10; accepted critique: up to 60 |
| Statement hash: | 23e6094aa783ccbf5d1628db547f8d98810b6158cc160a62cc108e1abb3e84d0 |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/OEIS/233864.lean |
Formal statement
theorem conjecture_1 (n : ℕ) (hn : 3 < n) : 0 < a nShow the full Challenge.lean (90 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Values $m = \sigma(k)$ ($0 < m < 2n$) with $2n - 1 - m$ and $2n - 1 + m$ prime
Let $\sigma$ denote the sum-of-divisors function. The sequence $a(n)$ counts the integers
$0 < m < 2n$ of the form $m = \sigma(k)$ ($k > 0$) such that $2n - 1 - m$ and $2n - 1 + m$ are
both prime.
*References:*
- [A233864](https://oeis.org/A233864)
-/
@[expose] public section
namespace OeisA233864
open ArithmeticFunction
open scoped ArithmeticFunction.sigma
/--
Number of integers $m$ with $0 < m < 2n$ such that $m = \sigma(k)$ for some $k > 0$,
and both $2n - 1 - m$ and $2n - 1 + m$ are prime, where $\sigma(k)$ is the sum of the positive
divisors of $k$.
-/
def a (n : ℕ) : ℕ :=
if n = 0 then 0
else
let twiceN : ℕ := 2 * n
let bigN : ℕ := twiceN - 1
let kDomain : Finset ℕ := Finset.Ico 1 twiceN
let sigmaValues : Finset ℕ := kDomain.image (σ 1)
(sigmaValues.filter (fun m : ℕ =>
m < bigN ∧
(bigN - m).Prime ∧
(bigN + m).Prime
)).card
@[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 = 1 := by rfl
@[category test, AMS 11]
theorem a_5 : a 5 = 1 := by rfl
@[category test, AMS 11]
theorem a_6 : a 6 = 2 := by rfl
/--
Conjecture (i): $a(n) > 0$ for all $n > 3$.
-/
@[category research open, AMS 11]
theorem conjecture_1 (n : ℕ) (hn : 3 < n) : 0 < a n := by
sorry
/--
Conjecture (ii): For any even number $2n > 0$, $2n + \sigma(k)$ is prime for some $0 < k < 2n$.
-/
@[category research open, AMS 11]
theorem conjecture_2 (n : ℕ) (hn : 0 < n) :
∃ k, 0 < k ∧ k < 2 * n ∧ Nat.Prime (2 * n + σ 1 k) := by
sorry
end OeisA233864
To prove it: keep every definition of Challenge.lean unchanged and prove OeisA233864.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-233864 nosorry submit oeis-233864 nosorry/oeis-233864/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.