login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A240071
Irregular triangle of the simple continued fraction of sqrt(n).
1
1, 1, 2, 1, 1, 2, 2, 2, 4, 2, 2, 4, 2, 1, 1, 1, 4, 2, 1, 4, 3, 3, 6, 3, 3, 6, 3, 2, 6, 3, 1, 1, 1, 1, 6, 3, 1, 2, 1, 6, 3, 1, 6, 4, 4, 8, 4, 4, 8, 4, 2, 1, 3, 1, 2, 8, 4, 2, 8, 4, 1, 1, 2, 1, 1, 8, 4, 1, 2, 4, 2, 1, 8, 4, 1, 3, 1, 8, 4, 1, 8, 5, 5, 10, 5, 5, 10
OFFSET
1,3
EXAMPLE
Irregular table in which the first term is the non-repeating part:
{1},
{1, 2},
{1, 1, 2},
{2},
{2, 4},
{2, 2, 4},
{2, 1, 1, 1, 4},
{2, 1, 4},
{3},
{3, 6},
{3, 3, 6},
{3, 2, 6},
{3, 1, 1, 1, 1, 6},
{3, 1, 2, 1, 6}
MATHEMATICA
Table[Flatten[ContinuedFraction[Sqrt[n]]], {n, 30}]
CROSSREFS
Cf. A067280 (length of the continued fraction of sqrt(n)).
Sequence in context: A117942 A290092 A066877 * A029255 A029272 A153904
KEYWORD
nonn,tabf
AUTHOR
T. D. Noe, Apr 04 2014
STATUS
approved