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

A292726: a(n) is the number of states that can be achieved when starting from n piles each containing one stone, where any number of stones

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

Statement

Conjecture: A000041(n) - a(n) = 0 if and only if n is a power of 2, and · Conjecture: A000041(n) - a(n) = 1 if and only if n is an odd prime. · Consider the inverse operation: either divide an even stack in two, or replace two stacks of equal parity with their averages. The states which have no inverse moves are precisely those with all parts equal and odd. If n is a power of two, its only odd divisor is 1 and so every state can be inverted to the all-ones state, and if n is an odd prime then the only states which cannot be inverted are the all-ones state and [n]. If n has an odd divisor d with 1 < d < n, then unreachable states include the all-d's state and any state obtainable from it by combining d's in pairs, of which there is at least one. Therefore, both conjectures are true.

Posed by Charlie Neder · 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-a292726.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-a292726.lean

import Mathlib

/-!
# A292726: a(n) is the number of states that can be achieved when starting from n piles each containing one stone, where any number of stones

Source: https://oeis.org/A292726
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_a292726

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

theorem main : sorry := by
  sorry

end OMA.S_oeis_a292726