Number of Configurations in the optimal Hanoi tower
Statement
There is a unique strategy how to move disks from the first rod to the second optimally and it takes steps, solution is obtained by simple recursion. I am interested into the following question, how many times during this strategy we have disks on the first rod, disks on the second and disks on the third. We can solve this question using dynamic programming and recursive relation for the optimal strategy, the recurrent formula is the following:
.
If we consider and , matches the following sequence ( is number of ways to arrange blue, red and green balls so that the first one is fixed and no pair of adjacent balls are of the same color, first and last are also considered adjacent):
http://oeis.org/search?q=2%2c8%2c44%2c268%2c1732
on the first 20 numbers, which makes me believe they are the same, though up to now I was unable to prove equivalence of these two sequences. Note that if we take different number of different color balls, the number of arranging them with the same conditions does not match with the number of respective configurations. …
Posed by kakia · co.combinatorics, sequences-and-series, integer-sequences, combinatorial-game-theory
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-129209.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-129209.lean
import Mathlib /-! # Number of Configurations in the optimal Hanoi tower Source: https://mathoverflow.net/questions/129209 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_129209 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_mo_129209