A067433: Triangle in which row n gives trajectory of n under the map k -> k/3 if k is divisible by 3, otherwise k -> next multiple of 3, st
Statement
These numbers converge to various last 3-digit endings and only to 2 last 2-digit numbers: 2,1 or 3,1. m=3. p=1 below. If m=2, p=1 you get the x+1 conjecture. If m=2, p=3 you get the 3x+1 conjecture. See Link for numbers with a large number of digits. Other conjectures are possible by trial-and-error input of m and n. It is interesting to note that for many m and p=m+1 the program converges to 1. However, for m prime and p=m+1 the program always converges to m^2, m, 1. Also for m+1 prime the program converges to m^2, m, 1 most of the time. An exception is m=6. The sequence converges but to what I call an uninteresting ending.
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-a067433.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-a067433.lean
import Mathlib /-! # A067433: Triangle in which row n gives trajectory of n under the map k -> k/3 if k is divisible by 3, otherwise k -> next multiple of 3, st Source: https://oeis.org/A067433 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_a067433 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_oeis_a067433