

A040135


Continued fraction for sqrt(148).


0



12, 6, 24, 6, 24, 6, 24, 6, 24, 6, 24, 6, 24, 6, 24, 6, 24, 6, 24, 6, 24, 6, 24, 6, 24, 6, 24, 6, 24, 6, 24, 6, 24, 6, 24, 6, 24, 6, 24, 6, 24, 6, 24, 6, 24, 6, 24, 6, 24, 6, 24, 6, 24, 6, 24, 6, 24, 6, 24, 6, 24, 6, 24, 6, 24, 6
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

0,1


LINKS

Table of n, a(n) for n=0..65.
Index entries for continued fractions for constants
Index entries for linear recurrences with constant coefficients, signature (0, 1).


FORMULA

a(n)=15+9*(1)^n12*[C(2*n,n) mod 2], with n>=0 [From Paolo P. Lava, Jun 10 2009]


MAPLE

Digits := 100: convert(evalf(sqrt(N)), confrac, 90, 'cvgts'):


MATHEMATICA

ContinuedFraction[Sqrt[148], 300] (* Vladimir Joseph Stephan Orlovsky, Mar 13 2011*)
Block[{$MaxExtraPrecision=1000}, ContinuedFraction[Sqrt[148], 120]] (* or *) PadRight[{12}, 120, {24, 6}] (* Harvey P. Dale, Sep 03 2018 *)


CROSSREFS

Sequence in context: A075247 A257841 A173853 * A004015 A119870 A234516
Adjacent sequences: A040132 A040133 A040134 * A040136 A040137 A040138


KEYWORD

nonn,cofr,easy


AUTHOR

N. J. A. Sloane.


STATUS

approved



