A376238: Sequence obtained from A376239 by deleting the substrings of k-1 copies of k starting at index k(k-1)/2 + 1 for each k > 1.
Statement
In A376239 we conjecture that the sequences S[r+1] = D S[r], starting with S[1] = A376239, will have the property P(r) for all r >= 1. Here D means to delete the subsequences of k repeated k-1 times, starting at index (k-1)r + T(k-2) + 1, for all k > 1. The property P(r) means that for all k > 1, the sequence has k-1 copies of k, starting at index (k-1)r + T(k-2) + 1, and each of these runs is preceded by r smaller terms. (Thus, r is the number of 1s preceding the first 2 in the sequence.)
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-a376238.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-a376238.lean
import Mathlib /-! # A376238: Sequence obtained from A376239 by deleting the substrings of k-1 copies of k starting at index k(k-1)/2 + 1 for each k > 1. Source: https://oeis.org/A376238 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_a376238 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_oeis_a376238