Lower bounds for period length of continued fraction of square root
Statement
EDIT: Dror answered this to my complete satisfaction. The simple continued fraction for has length exactly the same, no dependence on !!!!! No lower bound of the type I wanted is possible. The adjacent reduced indefinite binary quadratic forms in the complete cycle are for a cycle length of 2.
The first nontrivial solution to the Pell equation becomes
So no lower bound on cycle lengths can depend only on the approximate size of the number of which one is taking the square root, and all my crap below is useless. Oh, well, I put in the effort to write the question carefully, and I got an answer. There is still Dror's idea of short c.f's for where avoids this kind of special pattern.
EDIT: evidently Schinzel studied these "sleepers, creepers, jeepers, etc." with known very short continued fraction lengths. So Dror had explicitly asked me whether I wanted to disregard those but I could not recognize the terminology and gave a misleading answer. So my method may be useless, but …
Posed by Will Jagy · nt.number-theory, continued-fractions
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-23134.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-23134.lean
import Mathlib /-! # Lower bounds for period length of continued fraction of square root Source: https://mathoverflow.net/questions/23134 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_23134 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_mo_23134