|
|
A040460
|
|
Continued fraction for sqrt(482).
|
|
2
|
|
|
21, 1, 20, 1, 42, 1, 20, 1, 42, 1, 20, 1, 42, 1, 20, 1, 42, 1, 20, 1, 42, 1, 20, 1, 42, 1, 20, 1, 42, 1, 20, 1, 42, 1, 20, 1, 42, 1, 20, 1, 42, 1, 20, 1, 42, 1, 20, 1, 42, 1, 20, 1, 42, 1, 20, 1, 42, 1, 20, 1, 42, 1, 20, 1, 42, 1, 20, 1, 42, 1, 20, 1, 42, 1, 20
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,1
|
|
LINKS
|
Table of n, a(n) for n=0..74.
Index entries for continued fractions for constants
Index entries for linear recurrences with constant coefficients, signature (0, 0, 0, 1).
|
|
FORMULA
|
a(n)=(1/22)*{-91*(n mod 4)+89*[(n+1) mod 4]+-25*[(n+2) mod 4]+155*[(n+3) mod 4]}-21*[C(2*n,n) mod 2], with n>=0 [From Paolo P. Lava, May 13 2009]
|
|
MAPLE
|
with(numtheory): Digits := 300: convert(evalf(sqrt(482)), confrac);
|
|
MATHEMATICA
|
ContinuedFraction[Sqrt[482], 120] (* or *) PadRight[{21}, 120, {42, 1, 20, 1}] (* Harvey P. Dale, Aug 20 2015 *)
|
|
CROSSREFS
|
Sequence in context: A040458 A093192 A040459 * A040461 A260531 A252939
Adjacent sequences: A040457 A040458 A040459 * A040461 A040462 A040463
|
|
KEYWORD
|
nonn,cofr,easy,less
|
|
AUTHOR
|
N. J. A. Sloane.
|
|
STATUS
|
approved
|
|
|
|