Negative reciprocal: the branch b/a ≥ 2
Provedburau_cf_std_neg_inv_ge_twocontinued-fractionseuclidean-algorithmreciprocity
Second branch of the negative-reciprocal rule of continued fractions. If and the leading quotient of the continued fraction of is at least , then
Together with the branch and the base case this covers the whole range ; the formula has been checked numerically in all 99 tested cases and is proved here by the shift lemma of the Euclidean descent.
Preamble
import Definitions.Def_burau_std_cf set_option autoImplicit false
Formal statement
theorem burau_cf_std_neg_inv_ge_two (a b : ℤ) (ha : 0 < a) (h : 2 ≤ b / a) :
cfStd b (-a) = [-1, a / (b - a) + 1] ++ cfStd (a % (b - a)) (b - a) := by sorry
Source
Euclidean continued fractions; cf. A. Ya. Khinchin, *Continued Fractions* (1964), Ch. II.