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

A343327: Start with a(1)=1; thereafter a(n+1) = Sum_{k=1..n such that d(a(k)) = d(a(n))} d(a(k)) where d = A000005.

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

Statement

Every nonzero number occurs in the sequence since all terms in A000005 are included. The multiplicity of any term m (> 2) is d(m)-1 (since m > 2 cannot be created by adding m 1s). Prime 2 occurs twice, consecutively (see example), and thereafter no two adjacent terms can be prime because the term prior to a prime q is the first occurrence of 2^(q-1) (composite for q > 2), and since d(q)=2, the following term is a multiple (> 1) of 2. Thus each prime > 2 is flanked by composite even numbers, and occurs once only. Conjecture: The primes, after the first appearance of 2, appear in their natural order.

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-a343327.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-a343327.lean

import Mathlib

/-!
# A343327: Start with a(1)=1; thereafter a(n+1) = Sum_{k=1..n such that d(a(k)) = d(a(n))} d(a(k)) where d = A000005.

Source: https://oeis.org/A343327
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_a343327

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

theorem main : sorry := by
  sorry

end OMA.S_oeis_a343327