2
votes
0answers
91 views

Lower bound for the length of continued fraction

Define $\mathscr L: \mathbb Q \mapsto \mathbb N$ as the minimal number of terms in the continued fraction of a rational number. Example: the continued fraction of $\frac{5}{8}$ is ...
1
vote
1answer
67 views

Defining piecewise summation of continued fractions and rationality of sums

Let $a=[a_1,a_2\dots]$ and $b=[b_1,b_2\dots]$ be two real numbers and their continued fraction representations. They may be infinite or finite. Let us define a thing $+^*$ so that ...
6
votes
1answer
451 views

Faster arithmetic with finite continued fractions

I was curious about different representations of rational numbers and came across the finite continued fraction (see wp:Finite_continued_fractions ). Note: I will refer to traditional rational ...
0
votes
2answers
103 views

Narrowing a Stern-Brocot tree

Say I only wanted to enumerate the rational numbers between 0 and $a$. Is there a way to "narrow" a Stern-Brocot tree to provide this? I tried keeping my left bound at "$\frac{0}{1}$" and setting my ...