Title: = the number of values of such that is prime
Statement:Conjecture: where A006880(n) is the number of primes .
| Subjects: | Number Theory (math.NT) |
| MSC classes: | 11 |
| Cite as: | NS.04840 [math.NT] · NS.04840v1 for this version |
| Declaration: | OeisA115366.conjecture |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 100, later ones: 10; accepted critique: up to 60 |
| Statement hash: | 64e2ee1a0c474aa4d5bdc6fa82d3240cbc9a6907977db93cc19ce15fb54984a3 |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/OEIS/115366.lean |
Formal statement
theorem conjecture :
∃ L : ℝ,
Tendsto (fun n : ℕ => (a n : ℝ) / (Nat.primeCounting' (10 ^ n) : ℝ)) atTop (nhds L) ∧
1.77 ≤ L ∧ L ≤ 1.78Show the full Challenge.lean (70 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# $a(n)$ = the number of values of $k <= 10^n$ such that $\sqrt{k(k+1)(k+2)(k+3)+1}$ is prime
Since $\sqrt{k(k+1)(k+2)(k+3)+1} = k^2 + 3k + 1$,
$a(n) = \#\{k \in \mathbb{N} \mid 1 \le k \le 10^n \land (k^2 + 3k + 1) \text{ is prime} \}.$
*References:*
- [A115366](https://oeis.org/A115366)
-/
@[expose] public section
namespace OeisA115366
open Filter Real Topology
/--
The primary defining sequence `a`.
$a(n) = \#\{k \in \mathbb{N} \mid 1 \le k \le 10^n \land (k^2 + 3k + 1) \text{ is prime} \}.$
-/
def a (n : ℕ) : ℕ :=
Finset.card <|
Finset.filter
(fun k : ℕ => Nat.Prime (k ^ 2 + 3 * k + 1))
(Finset.Icc 1 (10 ^ n))
@[category test, AMS 11]
theorem a_0 : a 0 = 1 := by decide
@[category test, AMS 11]
theorem a_1 : a 1 = 9 := by decide
@[category test, AMS 11]
theorem a_2 : a 2 = 50 := by native_decide
@[category test, AMS 11]
theorem a_3 : a 3 = 313 := by native_decide
/--
Conjecture: $a(n)/A006880(n) \rightarrow 1.77...$
where A006880(n) is the number of primes $\le 10^n$.
-/
@[category research open, AMS 11]
theorem conjecture :
∃ L : ℝ,
Tendsto (fun n : ℕ => (a n : ℝ) / (Nat.primeCounting' (10 ^ n) : ℝ)) atTop (nhds L) ∧
1.77 ≤ L ∧ L ≤ 1.78 := by
sorry
end OeisA115366
To prove it: keep every definition of Challenge.lean unchanged and prove OeisA115366.conjecture with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_conjecture : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry fetch oeis-115366 nosorry submit oeis-115366 nosorry/oeis-115366/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.