A245691: Irregular triangle of Collatz like iteration, x -> 3x, then repeat (x -> ceiling(x/2) if divisible by 3, otherwise x -> 3x) while
Statement
It is conjectured that the number of steps for the trajectory to arrive at 6 is equal to the number of steps for the Collatz trajectory to arrive at 1 for the same starting value n (n>1), suggesting the length of the n-th row of the irregular array is given by A008908(n). Note that if the starting value of a trajectory in the Collatz sequence is not treated as a potential stopping value, then the conjecture would also be valid for n = 1. · Starting with x the first step in this sequence is always to multiply by 3. Thereafter if x <> 6, divide by 2 (rounding up) if x mod 3 = 0, otherwise multiply by 3. If the initial multiply-by-3 step is omitted the sequence still arrives at 6 for any starting value (conjecturally), but the length of the trajectory would no longer be the same as the length of the Collatz trajectory for starting values (n>1) that are divisible by 3.
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-a245691.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-a245691.lean
import Mathlib /-! # A245691: Irregular triangle of Collatz like iteration, x -> 3x, then repeat (x -> ceiling(x/2) if divisible by 3, otherwise x -> 3x) while Source: https://oeis.org/A245691 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_a245691 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_oeis_a245691