
12, 2, 24, 2, 24, 2, 24, 2, 24, 2, 24, 2, 24, 2, 24, 2, 24, 2, 24, 2, 24, 2, 24, 2, 24, 2, 24, 2, 24, 2, 24, 2, 24, 2, 24, 2, 24, 2, 24, 2, 24, 2, 24, 2, 24, 2, 24, 2, 24, 2, 24, 2, 24, 2, 24, 2, 24, 2, 24, 2, 24, 2, 24, 2, 24, 2
(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)=13+11*(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[156], 300] (* Vladimir Joseph Stephan Orlovsky, Mar 23 2011*)
PadRight[{12}, 120, {24, 2}] (* Harvey P. Dale, Aug 26 2014 *)


CROSSREFS

Sequence in context: A238718 A303782 A335043 * A163599 A334700 A007207
Adjacent sequences: A040140 A040141 A040142 * A040144 A040145 A040146


KEYWORD

nonn,cofr,easy


AUTHOR

N. J. A. Sloane.


STATUS

approved

