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”).

A010149
Continued fraction for sqrt(70).
2
8, 2, 1, 2, 1, 2, 16, 2, 1, 2, 1, 2, 16, 2, 1, 2, 1, 2, 16, 2, 1, 2, 1, 2, 16, 2, 1, 2, 1, 2, 16, 2, 1, 2, 1, 2, 16, 2, 1, 2, 1, 2, 16, 2, 1, 2, 1, 2, 16, 2, 1, 2, 1, 2, 16, 2, 1, 2, 1, 2, 16, 2, 1, 2, 1, 2, 16, 2, 1, 2, 1, 2, 16, 2, 1
OFFSET
0,1
EXAMPLE
8.366600265340755479781720257... = 8 + 1/(2 + 1/(1 + 1/(2 + 1/(1 + ...)))). - Harry J. Smith, Jun 08 2009
MATHEMATICA
ContinuedFraction[Sqrt[70], 300] (* Vladimir Joseph Stephan Orlovsky, Mar 08 2011 *)
PadRight[{8}, 120, {16, 2, 1, 2, 1, 2}] (* Harvey P. Dale, Mar 25 2020 *)
PROG
(PARI) { allocatemem(932245000); default(realprecision, 19000); x=contfrac(sqrt(70)); for (n=0, 20000, write("b010149.txt", n, " ", x[n+1])); } \\ Harry J. Smith, Jun 08 2009
CROSSREFS
Cf. A010522 Decimal expansion. - Harry J. Smith, Jun 08 2009
Sequence in context: A262080 A164800 A011008 * A199796 A368300 A021553
KEYWORD
nonn,cofr
STATUS
approved