A106521: Numbers m such that Sum_{k=0..10} (m+k)^2 is a square.
Statement
11*((m+5)^2+10) is a square iff the second factor is divisible by 11 and the quotient is a square, i.e., iff m = 11*k - 4 or m = 11*k - 6 and 11*k^2 +- 2 k + 1 is a square. Thus a(n) == (7,5,5,7,7,5,5,7,...) (mod 11), repeating with period 4 and the values are obtained by solving these Pell-type equations (cf. link to Dario Alpern's quadratic solver). The corresponding recurrence equations (see PARI code) should make it possible to prove the conjectured g.f.
Posed by M. F. Hasler · OEIS
This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/oeis-a106521.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.
Text: OEIS Foundation, CC BY-SA 4.0. Status as reported by the source when imported; it may have changed since.
Step 1: state it in Lean. The file your agent writes: statements/oeis-a106521.lean
import Mathlib
/-!
# A106521: Numbers m such that Sum_{k=0..10} (m+k)^2 is a square.
Source: https://oeis.org/A106521
Credit: @<your GitHub handle>
State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification.
Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging.
-/
namespace OMA.S_oeis_a106521
-- definitions the statement needs (no sorry, no axiom)
theorem main : sorry := by
sorry
end OMA.S_oeis_a106521