A010206 Continued fraction for sqrt(157).
12, 1, 1, 7, 1, 5, 2, 1, 1, 1, 1, 2, 5, 1, 7, 1, 1, 24, 1, 1, 7, 1, 5, 2, 1, 1, 1, 1, 2, 5, 1, 7, 1, 1, 24, 1, 1, 7, 1, 5, 2, 1, 1, 1, 1, 2, 5, 1, 7, 1, 1, 24, 1, 1, 7, 1, 5, 2, 1, 1, 1, 1, 2, 5, 1, 7, 1, 1, 24, 1, 1, 7, 1, 5, 2, 1, 1, 1, 1
Offset: 0
Links
- 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,0,0,0,0,0,1).
Programs
-
Maple
Digits := 100: convert(evalf(sqrt(N)),confrac,90,'cvgts'):
-
Mathematica
ContinuedFraction[Sqrt[157],300] (* Vladimir Joseph Stephan Orlovsky, Mar 23 2011 *) PadRight[{12},120,{24,1,1,7,1,5,2,1,1,1,1,2,5,1,7,1,1}] (* Harvey P. Dale, Jun 06 2021 *)