A278554: Number of distinct blocks of length n (a.k.a. subword complexity) of the characteristic sequence of the squarefree numbers A008966
Statement
Conjecture 1: this is the number of binary sequences S of length n such that, for all primes p such that p^2 <= n, at least one of the p^2 linearly indexed subsequences of S with gap p^2 starting at the 1st, 2nd, ..., p^2-th position of S, is the all-zeros sequence. In other words, every block that is not explicitly ruled out by congruence conditions for the primes p with p^2 <= n should occur. · Conjecture 2: the last new block to actually occur is always 0^n (n copies of 0). Cf. A020754.
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-a278554.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-a278554.lean
import Mathlib /-! # A278554: Number of distinct blocks of length n (a.k.a. subword complexity) of the characteristic sequence of the squarefree numbers A008966 Source: https://oeis.org/A278554 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_a278554 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_oeis_a278554