A040489 Continued fraction for sqrt(512).
22, 1, 1, 1, 2, 6, 11, 6, 2, 1, 1, 1, 44, 1, 1, 1, 2, 6, 11, 6, 2, 1, 1, 1, 44, 1, 1, 1, 2, 6, 11, 6, 2, 1, 1, 1, 44, 1, 1, 1, 2, 6, 11, 6, 2, 1, 1, 1, 44, 1, 1, 1, 2, 6, 11, 6, 2, 1, 1, 1, 44, 1, 1, 1, 2, 6, 11, 6, 2, 1, 1, 1, 44, 1, 1, 1, 2, 6, 11, 6, 2, 1, 1, 1, 44, 1, 1
Offset: 0
Links
- 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).
Programs
-
Maple
with(numtheory): Digits := 300: convert(evalf(sqrt(512)),confrac);
-
Mathematica
ContinuedFraction[Sqrt[512],90] (* or *) PadRight[{22},90,{44,1,1,1,2,6,11,6,2,1,1,1}] (* Harvey P. Dale, Mar 07 2014 *)