A297789: The number of length 2n - 1 strings over the alphabet {0, 1} such that the first half of any initial odd length substring is a per
Statement
Conjecture: lim{n->infinity} a(n+1)/a(n) exists and is a value in [1, 2]. [The following comment suggests that on the contrary, this limit may not exist. - N. J. A. Sloane, Jan 30 2018, following a comment from Peter Kagey_, Jan 29 2017] · From Peter Kagey, Jan 27 2018: a(2^k + 1) = 2 * a(2^k) - 1 for n > 0. Conjecture: a(n) is odd for all n > 4.
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-a297789.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-a297789.lean
import Mathlib
/-!
# A297789: The number of length 2n - 1 strings over the alphabet {0, 1} such that the first half of any initial odd length substring is a per
Source: https://oeis.org/A297789
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_a297789
-- definitions the statement needs (no sorry, no axiom)
theorem main : sorry := by
sorry
end OMA.S_oeis_a297789