denote the
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
William 2007-06-01