Title:Smallest -th power equal to a sum of consecutive immediately preceding positive -th powers · a_1
Statement:No informal statement.
| Subjects: | Number Theory (math.NT) |
| MSC classes: | 11 |
| Cite as: | NS.05555 [math.NT] · NS.05555v1 for this version |
| Declaration: | OeisA230718.a_1 |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 1; accepted critique: up to 100 |
| Statement hash: | 946e54c5b9cce6b6470afa39486dc3bb7b88be7184b1b695e0da525adbb0177a |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/OEIS/230718.lean |
Formal statement
theorem a_1 : a 1 = 3Show the full Challenge.lean (75 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Smallest $n$-th power equal to a sum of consecutive immediately preceding positive $n$-th powers
Smallest $n$-th power equal to a sum of some consecutive, immediately preceding, positive $n$-th
powers, or $0$ if none.
*References:*
- [A230718](https://oeis.org/A230718)
-/
@[expose] public section
namespace OeisA230718
/-- Smallest $n$-th power equal to a sum of some consecutive, immediately preceding, positive
$n$-th powers, or $0$ if none. For $n \ge 1$, this is the smallest $N^n$ ($N \ge 3$) such that
$\sum_{i=k}^{N-1} i^n = N^n$ for some $1 \le k \le N - 2$ (equivalently,
$k^n + (k+1)^n + \dots + (k+m)^n = (k+m+1)^n$ with $k \ge 1$ and $m \ge 1$), or $0$ if none
exists; for $n = 0$, $a(0) = 1^0 = 1$ (taking $k = 1, m = 0$). -/
noncomputable def a (n : ℕ) : ℕ :=
if n = 0 then 1 else
let P (N : ℕ) : Prop :=
N ≥ 3 ∧ ∃ k ∈ Finset.Icc 1 (N - 2), ∑ i ∈ Finset.Ico k N, i ^ n = N ^ n
let N_min := sInf { N : ℕ | P N }
if N_min = 0 then 0 else N_min ^ n
@[category test, AMS 11]
theorem a_0 : a 0 = 1 := by rfl
@[category test, AMS 11]
theorem a_1 : a 1 = 3 := by
dsimp [a]
rw [IsLeast.csInf_eq (a := 3) (by decide)]
rfl
@[category test, AMS 11]
theorem a_2 : a 2 = 25 := by
dsimp [a]
rw [IsLeast.csInf_eq (a := 5) (by decide)]
rfl
@[category test, AMS 11]
theorem a_3 : a 3 = 216 := by
dsimp [a]
rw [IsLeast.csInf_eq (a := 6) (by decide)]
rfl
/--
Is $a(n) \ne 0$ for any $n > 3$?
-/
@[category research open, question, AMS 11]
theorem conjecture : ∃ n > 3, a n ≠ 0 := by
sorry
end OeisA230718
To prove it: keep every definition of Challenge.lean unchanged and prove OeisA230718.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-230718--a-1 # a desk lease: required before submitting (renew: nosorry beat) nosorry fetch oeis-230718--a-1 nosorry submit oeis-230718--a-1 nosorry/oeis-230718--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.