Title:Square odd-indexed terms in the recurrence · a_3
Statement:No informal statement.
| Subjects: | Number Theory (math.NT) |
| MSC classes: | 11 |
| Cite as: | NS.04762 [math.NT] · NS.04762v1 for this version |
| Declaration: | OeisA113254.a_3 |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 1; accepted critique: up to 100 |
| Statement hash: | 46acf4e31b51ce780f6ed55c4f7a5413e0d078a7c00234a25cc21733ccfdd151 |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/OEIS/113254.lean |
Formal statement
lemma a_3 : a 3 = 3136Show the full Challenge.lean (84 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Square odd-indexed terms in the recurrence $a(n) = 8a(n-1) - 8a(n-2) + 8a(n-3) - a(n-4)$
A113254: Corresponds to $m = 8$ in a family of 4th-order linear recurrence sequences.
The sequence $a(n)$ is defined by the initial conditions $a(0)=-1, a(1)=4, a(2)=176, a(3)=3136$,
and the linear recurrence relation
$a(n) = -4 * a (n-1) + 256 * a (n-3) + 4096 * a (n-4)$ for $n \ge 4$.
*References:*
- [A113254](https://oeis.org/A113254)
- [arxiv/2605.22763](https://arxiv.org/abs/2605.22763) *Advancing Mathematics Research with AI-Driven Formal Proof Search* by George Tsoukalas et al.
-/
@[expose] public section
namespace OeisA113254
open Nat Int
/--
The sequence $a(n)$ is defined by the initial conditions $a(0)=-1, a(1)=4, a(2)=176, a(3)=3136$,
and the linear recurrence relation
$a(n) = -4 * a (n-1) + 256 * a (n-3) + 4096 * a (n-4)$ for $n \ge 4$.
-/
def a (n : ℕ) : ℤ :=
match n with
| 0 => -1
| 1 => 4
| 2 => 176
| 3 => 3136
| n' + 4 => -4 * a (n' + 3) + 256 * a (n' + 1) + 4096 * a n'
@[category test, AMS 11]
lemma a_0 : a 0 = -1 := by rfl
@[category test, AMS 11]
lemma a_1 : a 1 = 4 := by rfl
@[category test, AMS 11]
lemma a_2 : a 2 = 176 := by rfl
@[category test, AMS 11]
lemma a_3 : a 3 = 3136 := by rfl
@[category test, AMS 11]
lemma a_4 : a 4 = -15616 := by rfl
set_option linter.style.formal_proof_palomar false in
/--
Conjecture: $a(8, 2n+1)$ is a perfect square for all $n$ (see A113249).
A formal proof has been found with the methods described in
[arxiv/2605.22763](https://arxiv.org/abs/2605.22763).
-/
@[category research solved, AMS 11, formal_proof using formal_conjectures at
"https://github.com/mo271/formal-conjectures/blob/a32396489dcb8f86c3549b93aa358ac6a10a3a1f/FormalConjectures/OEIS/113254.wip.lean#L130"]
theorem a_odd_is_square : ∀ n : ℕ, IsSquare (a (2 * n + 1)) := by
sorry
end OeisA113254
To prove it: keep every definition of Challenge.lean unchanged and prove OeisA113254.a_3 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_a_3 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry desk oeis-113254--a-3 # a desk lease: required before submitting (renew: nosorry beat) nosorry fetch oeis-113254--a-3 nosorry submit oeis-113254--a-3 nosorry/oeis-113254--a-3/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.