Left to Solve
Problems / MathOverflow (not formalized)

Vector of only ones by activating the bits

Open, not yet stated in LeanMathOverflow (not formalized)Number TheoryCombinatoricsdifficulty55/100

Statement

Take any binary vector of length with . We can activate any bits. When a bit is activated, neighboring bits change their values -> , -> . Our goal is to turn the original binary vector into a vector of only ones by activating the bits.

Then I conjecture that if the value of the binary vector belongs to A158705, this is possible for a maximum of activations. Here A158705 is nonnegative integers with an odd number of even powers of in their base- representation.

Similarly for any binary vector of length with I conjecture that if the value of the binary vector belongs to A158704, this is possible for a maximum of activations. Here A158704 is nonnegative integers with an even number of even powers of in their base- representation.

Is there a way to prove it?

Posed by user231922 · nt.number-theory, co.combinatorics

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/mo-408352.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.

Question text by its MathOverflow author (CC BY-SA); see the link. 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/mo-408352.lean

import Mathlib

/-!
# Vector of only ones by activating the bits

Source: https://mathoverflow.net/questions/408352
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_mo_408352

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

theorem main : sorry := by
  sorry

end OMA.S_mo_408352