A010154 Continued fraction for sqrt(76).
8, 1, 2, 1, 1, 5, 4, 5, 1, 1, 2, 1, 16, 1, 2, 1, 1, 5, 4, 5, 1, 1, 2, 1, 16, 1, 2, 1, 1, 5, 4, 5, 1, 1, 2, 1, 16, 1, 2, 1, 1, 5, 4, 5, 1, 1, 2, 1, 16, 1, 2, 1, 1, 5, 4, 5, 1, 1, 2, 1, 16, 1, 2, 1, 1, 5, 4, 5, 1, 1, 2, 1, 16, 1, 2, 1, 1, 5
Offset: 0
Examples
8.717797887081347104473963967... = 8 + 1/(1 + 1/(2 + 1/(1 + 1/(1 + ...)))). - _Harry J. Smith_, Jun 09 2009
Links
- Harry J. Smith, Table of n, a(n) for n = 0..20000
- G. Xiao, Contfrac
- Index entries for continued fractions for constants
- Index entries for linear recurrences with constant coefficients, signature (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1).
Crossrefs
Cf. A010528 Decimal expansion. - Harry J. Smith, Jun 09 2009
Programs
-
Mathematica
ContinuedFraction[Sqrt[76],300] (* Vladimir Joseph Stephan Orlovsky, Mar 08 2011 *) PadRight[{8},100,{16,1,2,1,1,5,4,5,1,1,2,1}] (* Harvey P. Dale, Jul 06 2021 *)
-
PARI
{ allocatemem(932245000); default(realprecision, 18000); x=contfrac(sqrt(76)); for (n=0, 20000, write("b010154.txt", n, " ", x[n+1])); } \\ Harry J. Smith, Jun 09 2009