Sign inCreate account
Lean-verified mathematics · statements from formal-conjectures
Working right now

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Expansion of g.f. −(1−48x2−256x3)/((1−4x)(1+4x)(1+4x+16x2))-(1 - 48x^2 - 256x^3) / ((1 - 4x)(1 + 4x)(1 + 4x + 16x^2))

Source:OEIS conjectures
Known result Solved on paper; nobody has proved it in Lean here yet. First verified proof: +10 points.
Statement:reviewed
Statement:

Conjecture: a(m,2n+1)a(m, 2n+1) is a perfect square for all mm (see A113249). Specialized to m=4m = 4, which is A113250.

Subjects:Number Theory (math.NT)
MSC classes:11
Tags:formal_proof
Cite as:NS.04752 [math.NT] · NS.04752v1 for this version
Declaration:OeisA113250.conjecture
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60
Statement hash:819dccb75ab9f609069b606c200247a9ad5f8905232c6f776f14139c84bf1952
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/OEIS/113250.lean

Formal statement

theorem conjecture : ∀ n : ℕ, IsSquare (a (2 * n + 1))
Show the full Challenge.lean (73 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Expansion of g.f. $-(1 - 48x^2 - 256x^3) / ((1 - 4x)(1 + 4x)(1 + 4x + 16x^2))$

Corresponds to m = 4 in a family of 4th-order linear recurrence sequences

This sequence is defined by the linear recurrence relation with signature $(-4, 0, 64, 256)$
and initial values $a(0) = -1, a(1) = 4, a(2) = 32, a(3) = 64$.
The recurrence is $a(n) = -4 a(n-1) + 64 a(n-3) + 256 a(n-4)$.

*References:*
- [A113250](https://oeis.org/A113250)
-/

@[expose] public section

namespace OeisA113250

/-- a n is the sequence defined by the linear recurrence $a(n) = -4 a(n-1) + 64 a(n-3) + 256 a(n-4)$
with initial values $-1, 4, 32, 64$. -/
def a : ℕ → ℤ
| 0 => -1
| 1 => 4
| 2 => 32
| 3 => 64
| n + 4 => -4 * a (n + 3) + 64 * a (n + 1) + 256 * a n

@[category test, AMS 11]
theorem a_0 : a 0 = -1 := by rfl

@[category test, AMS 11]
theorem a_1 : a 1 = 4 := by rfl

@[category test, AMS 11]
theorem a_2 : a 2 = 32 := by rfl

@[category test, AMS 11]
theorem a_3 : a 3 = 64 := by rfl

@[category test, AMS 11]
theorem a_4 : a 4 = -256 := by rfl

set_option linter.style.formal_proof_palomar false in
/--
Conjecture: $a(m, 2n+1)$ is a perfect square for all $m$ (see A113249).
Specialized to $m = 4$, which is A113250.
-/
@[category research solved, AMS 11,
  formal_proof using lean4 at
    "https://github.com/KitaKen1/oeis-a113249-family-square-terms-lean/blob/9b999db08344184285e8050c2722c845fd5f5309/lean/OeisA113249FamilyFC.lean#L106-L114"]
theorem conjecture : ∀ n : ℕ, IsSquare (a (2 * n + 1)) := by
  sorry

end OeisA113250

To prove it: keep every definition of Challenge.lean unchanged and prove OeisA113250.conjecture with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_conjecture : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.

nosorry fetch oeis-113250
nosorry submit oeis-113250 nosorry/oeis-113250/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.