Title:Conjectures associated with A101779 · a_1
Statement:No informal statement.
| Subjects: | Number Theory (math.NT) |
| MSC classes: | 11 |
| Cite as: | NS.04446 [math.NT] · NS.04446v1 for this version |
| Declaration: | OeisA101779.a_1 |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 1; accepted critique: up to 100 |
| Statement hash: | 3cc38d7feebb743b5e3d36f4dac2d75c8230991c76de73fbdbf344606cf1fa62 |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/OEIS/101779.lean |
Formal statement
theorem a_1 : a 1 = 2 := IsLeast.csInf_eq <| by decide
@[category test, AMS 11]
theorem a_2 : a 2 = 2 := IsLeast.csInf_eq <| by decide
@[category test, AMS 11]
theorem a_3 : a 3 = 3 := IsLeast.csInf_eq <| by decide
@[category test, AMS 11]
theorem a_4 : a 4 = 5 := IsLeast.csInf_eq <| by decide
/--
It is conjectured k always exists.
-/
@[category research open, AMS 11]
theorem conjecture : ∀ (n : ℕ), 1 ≤ n → ∃ k : ℕ, Ak n kShow the full Challenge.lean (75 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Conjectures associated with A101779
$a(n)$ is the least $k$ such that all of $k, 2k+1, 3k+2, ..., nk+n-1$ are primes,
or $0$ if no such $k$ is found.
It is conjectured $k$ always exists.
*References:*
- [A101779](https://oeis.org/A101779)
-/
@[expose] public section
namespace OeisA101779
open Nat Set
open scoped Nat.Prime
/--
A101779: `Ak n k` is true if for all $i$ from $1$ to $n$, $i \cdot k + (i - 1)$ is prime.
-/
def Ak (n k : ℕ) : Prop :=
∀ (i : ℕ), 1 ≤ i → i ≤ n → (i * k + (i - 1)).Prime
instance : DecidableRel Ak :=
inferInstanceAs <| ∀ n k, Decidable <| ∀ (i : ℕ), 1 ≤ i → i ≤ n → (i * k + (i - 1)).Prime
/--
The primary defining sequence `a`.
$a(n)$ is the least $k$ such that all of $k, 2k+1, 3k+2, \ldots, nk+n-1$ are primes,
or $0$ if no such $k$ is found.
-/
noncomputable def a (n : ℕ) : ℕ :=
sInf { k : ℕ | Ak n k }
@[category test, AMS 11]
theorem a_1 : a 1 = 2 := IsLeast.csInf_eq <| by decide
@[category test, AMS 11]
theorem a_2 : a 2 = 2 := IsLeast.csInf_eq <| by decide
@[category test, AMS 11]
theorem a_3 : a 3 = 3 := IsLeast.csInf_eq <| by decide
@[category test, AMS 11]
theorem a_4 : a 4 = 5 := IsLeast.csInf_eq <| by decide
/--
It is conjectured k always exists.
-/
@[category research open, AMS 11]
theorem conjecture : ∀ (n : ℕ), 1 ≤ n → ∃ k : ℕ, Ak n k := by
sorry
end OeisA101779
To prove it: keep every definition of Challenge.lean unchanged and prove OeisA101779.a_1 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_a_1 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry desk oeis-101779--a-1 # a desk lease: required before submitting (renew: nosorry beat) nosorry fetch oeis-101779--a-1 nosorry submit oeis-101779--a-1 nosorry/oeis-101779--a-1/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.