Title:Least primitive prime divisor of the Franel numbers of order
Statement:Conjecture: is prime for any .
| Subjects: | Number Theory (math.NT) |
| MSC classes: | 11 |
| Cite as: | NS.05827 [math.NT] · NS.05827v1 for this version |
| Declaration: | OeisA242174.conjecture_1 |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 100, later ones: 10; accepted critique: up to 60 |
| Statement hash: | 5326730c786c4bd50bd6a03719e357aacd40793c7061fe79bc0a1769e8be4506 |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/OEIS/242174.lean |
Formal statement
theorem conjecture_1 (n : ℕ) (hn : 0 < n) : (a n).PrimeShow the full Challenge.lean (90 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Least primitive prime divisor of the Franel numbers of order $4$
Let $f_r(n) = \sum_{k=0}^n \binom{n}{k}^r$ be the Franel number of order $r$. The sequence
$a(n)$ is the least prime divisor of $f_4(n)$ (A005260) that does not divide any previous
term $f_4(k)$ with $1 \le k < n$, or $1$ if no such prime divisor exists.
*References:*
- [A242174](https://oeis.org/A242174)
-/
@[expose] public section
namespace OeisA242174
open Finset
/-- The Franel number of order $r$: $f_r(n) = \sum_{k=0}^n \binom{n}{k}^r$. -/
def franel (r n : ℕ) : ℕ :=
∑ k ∈ range (n + 1), n.choose k ^ r
/-- Least prime divisor of $f_r(n)$ that does not divide $f_r(k)$ for any $1 \le k < n$,
or $1$ if no such prime divisor exists. -/
def primitivePrimeDivisorFranel (r n : ℕ) : ℕ :=
let b := franel r
((b n).primeFactorsList.filter fun p =>
(List.range' 1 (n - 1)).all fun k => !(p ∣ b k)).head?.getD 1
/-- Least prime divisor of $A005260(n) = \sum_{k=0}^n \binom{n}{k}^4$ that does not divide any
previous term $A005260(k)$ ($1 \le k < n$), or $1$ if no such prime divisor exists. -/
def a (n : ℕ) : ℕ :=
primitivePrimeDivisorFranel 4 n
@[category test, AMS 11]
theorem a_1 : a 1 = 2 := by
decide +kernel
@[category test, AMS 11]
theorem a_2 : a 2 = 3 := by
decide +kernel
@[category test, AMS 11]
theorem a_3 : a 3 = 41 := by
decide +kernel
@[category test, AMS 11]
theorem a_4 : a 4 = 5 := by
decide +kernel
@[category test, AMS 11]
theorem a_5 : a 5 = 7 := by
decide +kernel
/--
Conjecture: $a(n)$ is prime for any $n > 0$.
-/
@[category research open, AMS 11]
theorem conjecture_1 (n : ℕ) (hn : 0 < n) : (a n).Prime := by
sorry
/--
"In general, for any $r > 2$, if $n$ is large enough then $f_r(n) = \sum_{k=0}^n \binom{n}{k}^r$
has a prime divisor which does not divide any previous terms $f_r(k)$ with $k < n$."
-/
@[category research open, AMS 11]
theorem conjecture_2 (r : ℕ) (hr : 2 < r) :
∃ N : ℕ, ∀ n : ℕ, N ≤ n → primitivePrimeDivisorFranel r n ≠ 1 := by
sorry
end OeisA242174
To prove it: keep every definition of Challenge.lean unchanged and prove OeisA242174.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-242174 nosorry submit oeis-242174 nosorry/oeis-242174/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.