Title:Number of such that is prime
Statement:Conjecture: for all .
| Subjects: | Number Theory (math.NT) |
| MSC classes: | 11 |
| Cite as: | NS.05745 [math.NT] · NS.05745v1 for this version |
| Declaration: | OeisA237578.conjecture_1 |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 100, later ones: 10; accepted critique: up to 60 |
| Statement hash: | bb0dc6d918019ce8df7095303c35340e8d8cbb6078aa23543eeb77e0f406fc12 |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/OEIS/237578.lean |
Formal statement
theorem conjecture_1 (n : ℕ) (hn : 2 < n) : 0 < a nShow the full Challenge.lean (80 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Number of $0 < k < n$ such that $\pi(kn)$ is prime
Let $\pi$ denote the prime counting function. The sequence $a(n)$ counts the number of integers
$0 < k < n$ such that $\pi(kn)$ is prime.
*References:*
- [A237578](https://oeis.org/A237578)
-/
@[expose] public section
namespace OeisA237578
/-- $a(n)$ is the number of integers $0 < k < n$ such that $\pi(k \cdot n)$ is prime. -/
def a (n : ℕ) : ℕ :=
∑ k ∈ Finset.Ico 1 n,
if (Nat.primeCounting (k * n)).Prime then 1 else 0
@[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 = 2 := by decide
@[category test, AMS 11]
theorem a_4 : a 4 = 2 := by decide
@[category test, AMS 11]
theorem a_5 : a 5 = 1 := by decide
/--
Conjecture: $a(n) > 0$ for all $n > 2$.
-/
@[category research open, AMS 11]
theorem conjecture_1 (n : ℕ) (hn : 2 < n) : 0 < a n := by
sorry
/--
and $a(n) = 1$ only for $n = 5, 8, 13$.
-/
@[category research open, AMS 11]
theorem conjecture_2 (n : ℕ) :
a n = 1 ↔ n = 5 ∨ n = 8 ∨ n = 13 := by
sorry
/--
Moreover, for each $n = 1, 2, 3, \dots$, there is a positive integer $k < 3\sqrt{n} + 3$ with
$\pi(kn)$ prime.
-/
@[category research open, AMS 11]
theorem conjecture_3 (n : ℕ) (hn : 1 ≤ n) :
∃ k : ℕ, 0 < k ∧ (k : ℝ) < 3 * Real.sqrt (n : ℝ) + 3 ∧
(Nat.primeCounting (k * n)).Prime := by
sorry
end OeisA237578
To prove it: keep every definition of Challenge.lean unchanged and prove OeisA237578.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-237578 nosorry submit oeis-237578 nosorry/oeis-237578/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
- conjecture-3 — 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.