A007052: Number of order-consecutive partitions of n.
Statement
From Gus Wiseman, Mar 05 2020: Also the number of unimodal sequences of length n + 1 covering an initial interval of positive integers, where a sequence of integers is unimodal if it is the concatenation of a weakly increasing and a weakly decreasing sequence. For example, the a(0) = 1 through a(2) = 10 sequences are: (1) (1,1) (1,1,1) (1,2) (1,1,2) (2,1) (1,2,1) (1,2,2) (1,2,3) (1,3,2) (2,1,1) (2,2,1) (2,3,1) (3,2,1) Missing are: (2,1,2), (2,1,3), (3,1,2). Conjecture: Also the number of ordered set partitions of {1..n + 1} where no element of any block is greater than any element of a non-adjacent consecutive block. For example, the a(0) = 1 through a(2) = 10 ordered set partitions are: {{1}} {{1,2}} {{1,2,3}} {{1},{2}} {{1},{2,3}} {{2},{1}} {{1,2},{3}} {{1,3},{2}} {{2},{1,3}} {{2,3},{1}} {{3},{1,2}} {{1},{2},{3}} {{1},{3},{2}} {{2},{1},{3}} Cf. A000670, A056242, A332673, A332872.
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-a007052.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-a007052.lean
import Mathlib /-! # A007052: Number of order-consecutive partitions of n. Source: https://oeis.org/A007052 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_a007052 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_oeis_a007052