A401548: Numbers k such that the greedy algorithm for writing k as a sum of positive squares uses the least possible number of squares; i.e
Statement
Conjecture: the number of terms <= N is asymptotic to c*N^(15/16) for some constant c > 0. Heuristic: if the number of k <= x with A053610(k) <= j grows like x^ej, then since the greedy remainder is O(sqrt(x)), e(j+1) = (ej+1)/2, giving e1 = 1/2, e2 = 3/4, e3 = 7/8, e_4 = 15/16; and greedy with A053610(k) = 4 is optimal exactly for k in A004215, which has density 1/6.
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-a401548.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-a401548.lean
import Mathlib /-! # A401548: Numbers k such that the greedy algorithm for writing k as a sum of positive squares uses the least possible number of squares; i.e Source: https://oeis.org/A401548 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_a401548 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_oeis_a401548