|
|
A040858
|
|
Continued fraction for sqrt(888).
|
|
1
|
|
|
29, 1, 3, 1, 58, 1, 3, 1, 58, 1, 3, 1, 58, 1, 3, 1, 58, 1, 3, 1, 58, 1, 3, 1, 58, 1, 3, 1, 58, 1, 3, 1, 58, 1, 3, 1, 58, 1, 3, 1, 58, 1, 3, 1, 58, 1, 3, 1, 58, 1, 3, 1, 58, 1, 3, 1, 58, 1, 3, 1, 58, 1, 3, 1, 58, 1, 3, 1, 58, 1, 3, 1, 58, 1, 3, 1, 58, 1, 3, 1, 58, 1, 3, 1
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,1
|
|
LINKS
|
|
|
FORMULA
|
G.f.: (29+x+3*x^2+x^3+29*x^4)/(1-x^4).
a(n) = 2+(-1)^n+55*((1+(-1)^(n/2))*(1+(-1)^n))/4, n>0. (End)
Multiplicative with a(2) = 3, a(2^e) = 58 for e >= 2, and a(p^e) = 1 for an odd prime p.
Dirichlet g.f.: zeta(s) * (1 + 1/2^(s-1) + 55/2^(2*s)). (End)
|
|
MAPLE
|
with(numtheory): Digits := 300: convert(evalf(sqrt(888)), confrac);
|
|
MATHEMATICA
|
CoefficientList[Series[(29 + x + 3 x^2 + x^3 + 29 x^4)/(1 - x^4), {x, 0, 30}], x] (* or *) Join[{29}, Table[2 + (-1)^n + 55 ((1 + (-1)^(n/2))*(1 + (-1)^n))/4, {n, 100}]] (* Wesley Ivan Hurt, Aug 29 2015 *)
ContinuedFraction[Sqrt[888], 100] (* Amiram Eldar, Jan 17 2024 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,cofr,easy,mult
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|