|
|
A040166
|
|
Continued fraction for sqrt(180).
|
|
1
|
|
|
13, 2, 2, 2, 26, 2, 2, 2, 26, 2, 2, 2, 26, 2, 2, 2, 26, 2, 2, 2, 26, 2, 2, 2, 26, 2, 2, 2, 26, 2, 2, 2, 26, 2, 2, 2, 26, 2, 2, 2, 26, 2, 2, 2, 26, 2, 2, 2, 26, 2, 2, 2, 26, 2, 2, 2, 26, 2, 2, 2, 26, 2, 2, 2, 26, 2, 2, 2, 26, 2, 2, 2
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,1
|
|
LINKS
|
Table of n, a(n) for n=0..71.
Index entries for continued fractions for constants
Index entries for linear recurrences with constant coefficients, signature (0, 0, 0, 1).
|
|
FORMULA
|
a(n)=(1/3)*{-14*(n mod 4)+4*[(n+1) mod 4]+4*[(n+2) mod 4]+22*[(n+3) mod 4]}-13*[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[180], 300] (* Vladimir Joseph Stephan Orlovsky, Mar 26 2011*)
PadRight[{13}, 100, {26, 2, 2, 2}] (* Harvey P. Dale, Sep 13 2014 *)
|
|
CROSSREFS
|
Sequence in context: A010222 A086266 A217436 * A100395 A051310 A010224
Adjacent sequences: A040163 A040164 A040165 * A040167 A040168 A040169
|
|
KEYWORD
|
nonn,cofr,easy
|
|
AUTHOR
|
N. J. A. Sloane.
|
|
STATUS
|
approved
|
|
|
|