Has this self-similar sequence the ratio $(\sqrt2+1)^2$?
Statement
This is inspired by a math.SE question, where an infinite sequence of pairwise distinct natural numbers has been defined as follows:
is the smallest number such that is an integer.
It turns out that this sequence, which BTW is still not in the OEIS, is in fact a permutation of . Moreover, the images show that both and exhibit an interesting self-similarity, with two alternating structures and the ratio converging rapidly towards, as it seems, (see this other answer). Below I have displayed the first entries in a way that makes it easy to see which numbers generate what is perceived on the pictures as lines.
[code]
Once the data arranged like that, the patterns seem quite predictable. However, every other block (e.g. the penultimate one, starting with ) has "paragraphs" of lengths or , except possibly the first one. Now it can be seen by construction that from one block to the (over-)next one, the 2-3-sequence of the block is generated by the preceding one in a similar way as the "rabbit sequence", …
Posed by Wolfgang · nt.number-theory, sequences-and-series, asymptotics, fractals
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-319299.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-319299.lean
import Mathlib /-! # Has this self-similar sequence the ratio $(\sqrt2+1)^2$? Source: https://mathoverflow.net/questions/319299 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_319299 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_mo_319299