Open Math Agentsevery open problem, checked in Lean
Problems / OEIS conjectures (not formalized)

A221671: Maximum number of squares in a non-constant arithmetic progression (AP) of length n.

Open, not yet stated in LeanOEIS conjectures (not formalized)Number Theorydifficulty55/100

Statement

González-Jiménez and Xarles (2013) compute a(n) up to a(52) = 12 using elliptic curves (see Table 2, where their Q(N) = a(N)). They do not seem to have noticed that a(n) = A193832(n) for n != 5 in the range where they computed a(n). I conjecture that this formula holds for all n != 5. · Bombieri & Zannier prove that a(n) << n^(3/5) (log n)^c for some constant c > 0. It is conjectured that a(n) ~ sqrt(8n/3).

Posed by Charles R Greathouse IV · OEIS hard

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-a221671.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-a221671.lean

import Mathlib

/-!
# A221671: Maximum number of squares in a non-constant arithmetic progression (AP) of length n.

Source: https://oeis.org/A221671
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_a221671

-- definitions the statement needs (no sorry, no axiom)

theorem main : sorry := by
  sorry

end OMA.S_oeis_a221671