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

A088568: 3*n - 2*(partial sums of Kolakoski sequence A000002).

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

Statement

It is conjectured that a(n) = o(n). · It is conjectured that the density of 1's and that of 2's in the Kolakoski sequence A000002 are equal to 1/2. The deficit of 2's in the Kolakoski sequence at rank n being defined as n/2 - number of 2's in the Kolakoski word of length n, a(n) is equal to twice the deficit of 2's (or twice the excess of 1's). Equivalently, the number of 2's up to rank n in the Kolakoski sequence is (n - a(n))/2. · The conjecture about the densities of 1's and 2's is equivalent to a(n) = o(n). The graph shows that a(n) seems to oscillate around 0 with a pseudo-periodic and fractal pattern.

Posed by Daniel Forgues, Jean-Christophe Hervé, Peter Munn, Richard P. Brent · 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-a088568.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-a088568.lean

import Mathlib

/-!
# A088568: 3*n - 2*(partial sums of Kolakoski sequence A000002).

Source: https://oeis.org/A088568
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_a088568

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

theorem main : sorry := by
  sorry

end OMA.S_oeis_a088568