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

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Conjectures associated with A113255

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 m,nm, n (see A113249). Specialized for m=9m=9, which is A113255.

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

Formal statement

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

public import FormalConjecturesUtil

/-!
# Conjectures associated with A113255

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

This sequence is defined by the recurrence relation
$a(n) = -4 a(n-1) + 324 a(n-3) + 6561 a(n-4)$ for n > 3.
Initial values are $a(0) = -1, a(1) = 4, a(2) = 227, a(3) = 5329$.

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

@[expose] public section

namespace OeisA113255

/--
a n is the sequence defined by the linear recurrence
$a(n) = -4 a(n-1) + 324 a(n-3) + 6561 a(n-4)$ with initial values $-1, 4, 227, 5329$.
-/
def a : ℕ → ℤ
| 0 => -1
| 1 => 4
| 2 => 227
| 3 => 5329
| n + 4 => -4 * a (n + 3) + 324 * a (n + 1) + 6561 * 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 = 227 := by rfl

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

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

set_option linter.style.formal_proof_palomar false in
/--
Conjecture: $a(m, 2n+1)$ is a perfect square for all $m, n$ (see A113249).
Specialized for $m=9$, which is A113255.
-/
@[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#L126-L134"]
theorem conjecture : ∀ n : ℕ, IsSquare (a (2 * n + 1)) := by
  sorry

end OeisA113255

To prove it: keep every definition of Challenge.lean unchanged and prove OeisA113255.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-113255
nosorry submit oeis-113255 nosorry/oeis-113255/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.