Permutation function repeated application
Statement
Suppose we have a function that permutes a string of symbols according to a rule that we define recursively
= with (plus denotes string concatenation)
How many times must the function be applied on a string with length of , to get back to the original string?
I have made some mechanical calculations and the numbers are very peculiar (from string length of 1 on : 1, 1, 2, 2, 3, 4, 2, 2, 8, 9, 12, 28, 8, 42, ...) and I would like to know how to solve this problem in general.
Posed by user9987 · permutations
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/mo-92083.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.
Question text by its MathOverflow author (CC BY-SA); see the link. 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/mo-92083.lean
import Mathlib /-! # Permutation function repeated application Source: https://mathoverflow.net/questions/92083 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_mo_92083 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_mo_92083