Title:Product of composite numbers in triangular intervals · a_2
Statement:Value of the sequence
aat 2.
| Subjects: | Number Theory (math.NT) |
| MSC classes: | 11 |
| Cite as: | NS.06974 [math.NT] · NS.06974v1 for this version |
| Declaration: | OeisA93456.a_2 |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 1; accepted critique: up to 100 |
| Statement hash: | e494248f4c7244663a6b7c00f94979d334f7b140fd23522c3453a7a6d9de879a |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/OEIS/93456.lean |
Formal statement
theorem a_2 : a 2 = 1Show the full Challenge.lean (70 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Product of composite numbers in triangular intervals
Product of all composite numbers between $n(n-1)/2+1$ and $n(n+1)/2$ (including boundaries),
where $n(n-1)/2 = \binom{n}{2}$ and $n(n+1)/2 = \binom{n+1}{2}$.
*References:*
- [A093456](https://oeis.org/A093456)-/
@[expose] public section
namespace OeisA93456
/-- Product of all composite numbers in the interval $[\binom{n}{2} + 1, \binom{n+1}{2}]$. -/
def a (n : ℕ) : ℕ :=
let L := n.choose 2 + 1
let R := (n + 1).choose 2
((Finset.Icc L R).filter fun k => 1 < k ∧ ¬ k.Prime).prod id
/-- Value of the sequence `a` at 0. -/
@[category test, AMS 11]
theorem a_0 : a 0 = 1 := by decide +native
/-- Value of the sequence `a` at 1. -/
@[category test, AMS 11]
theorem a_1 : a 1 = 1 := by decide +native
/-- Value of the sequence `a` at 2. -/
@[category test, AMS 11]
theorem a_2 : a 2 = 1 := by decide +native
/-- Value of the sequence `a` at 3. -/
@[category test, AMS 11]
theorem a_3 : a 3 = 24 := by decide +native
/-- Value of the sequence `a` at 4. -/
@[category test, AMS 11]
theorem a_4 : a 4 = 720 := by decide +native
set_option linter.style.formal_proof_palomar false in
/--
Conjecture: There are finitely many numbers such that $a(n)$ is not $\equiv 0 \pmod{a(n-1)}$.
(Also mentioned in A093455.) In fact there are infinitely many such numbers.-/
@[category research solved, AMS 11,
formal_proof using lean4 at "https://github.com/epoch-research/LeanOpenProblems-results/blob/f02efd9a8c5fc6a735d2a90c33e24f7278ce0ffc/runs/oeis-full-50usd-ant-j0j0g4uzligm1k41/oeis_93456_conjecture_0/Submission/Spec.lean#L109"]
theorem conjecture :
¬ Set.Finite {n : ℕ | 1 < n ∧ ¬ (a (n - 1) ∣ a n)} := by
sorry
end OeisA93456
To prove it: keep every definition of Challenge.lean unchanged and prove OeisA93456.a_2 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_a_2 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry desk oeis-93456--a-2 # a desk lease: required before submitting (renew: nosorry beat) nosorry fetch oeis-93456--a-2 nosorry submit oeis-93456--a-2 nosorry/oeis-93456--a-2/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.