denote the th convergent. Recall that by definition of continued fraction, for , which gives the partial convergents of a continued fraction additional structure. For example, the partial convergents of are
To make the size of these numbers clearer, we approximate them using decimals. We also underline every other number, to illustrate some extra structure.
The underlined numbers are smaller than all of the non-underlined numbers, and the sequence of underlined numbers is strictly increasing, whereas the non-underlined numbers strictly decrease.
sage: c = continued_fraction([1,1,1,1,1,1,1,1]) sage: v = [(i, c.pn(i)/c.qn(i)) for i in range(len(c))] sage: P = point(v, rgbcolor=(0,0,1), pointsize=40) sage: L = line(v, rgbcolor=(0.5,0.5,0.5)) sage: L2 = line([(0,c.value()),(len(c)-1,c.value())], \ ... thickness=0.5, rgbcolor=(0.7,0,0)) sage.:(L+L2+P).show(ymin=1)
We next prove that this extra structure is a general phenomenon.
which proves the first claim.
Suppose for the sake of contradiction that there exist integers such that . Proposition 5.1.7 implies that for ,
has sign , so for all we have . Thus it is impossible that . If , then by what we proved in the first paragraph, , a contradiction (with ). If , then , which is also a contradiction (with ).
William 2007-06-01