OFFSET
1,2
COMMENTS
Related to Zaremba's conjecture. - Charles R Greathouse IV, Sep 12 2013
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
EXAMPLE
Rationals given by continued fractions as lexicographically ordered tuples of 1s and 2s: [1] = 1/1, [2] = 2/1, [1,1] = 2/1, [1,2] = 3/2, [2,1] = 3/1, [2,2] = 5/2, [1,1,1] = 3/2. The list continues: 5/3, 4/3, 7/5, 5/2, 8/3, 7/3, 12/5, 5/3, 8/5, 7/4, 12/7, 7/5, 11/8, 10/7, 17/12, 8/3, 13/5, 11/4, 19/7, 12/5, 19/8, 17/7, 29/12.
MATHEMATICA
Sort[Union[Denominator[Map[FromContinuedFraction, Flatten[Map[Tuples[{1, 2}, #] &, Range[13]], 1]]]]]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Sep 04 2013
STATUS
approved