|
|
A040489
|
|
Continued fraction for sqrt(512).
|
|
3
|
|
|
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
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,1
|
|
LINKS
|
Table of n, a(n) for n=0..86.
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).
|
|
FORMULA
|
a(n)=(1/72)*{-251*(n mod 12)+7*[(n+1) mod 12]+7*[(n+2) mod 12]+13*[(n+3) mod 12]+31*[(n+4) mod 12]+37*[(n+5) mod 12]-23*[(n+6) mod 12]-17*[(n+7) mod 12]+[(n+8) mod 12]+7*[(n+9) mod 12]+7*[(n+10) mod 12]+265*[(n+11) mod 12]}-22*[C(2*n,n) mod 2], with n>=0 [From Paolo P. Lava, May 13 2009]
|
|
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 *)
|
|
CROSSREFS
|
Sequence in context: A297813 A156462 A040488 * A040490 A040487 A040486
Adjacent sequences: A040486 A040487 A040488 * A040490 A040491 A040492
|
|
KEYWORD
|
nonn,cofr,easy,less
|
|
AUTHOR
|
N. J. A. Sloane.
|
|
STATUS
|
approved
|
|
|
|