login
A040378
Continued fraction for sqrt(398).
1
19, 1, 18, 1, 38, 1, 18, 1, 38, 1, 18, 1, 38, 1, 18, 1, 38, 1, 18, 1, 38, 1, 18, 1, 38, 1, 18, 1, 38, 1, 18, 1, 38, 1, 18, 1, 38, 1, 18, 1, 38, 1, 18, 1, 38, 1, 18, 1, 38, 1, 18, 1, 38, 1, 18, 1, 38, 1, 18, 1, 38, 1, 18, 1, 38, 1, 18, 1, 38, 1, 18, 1, 38, 1, 18
OFFSET
0,1
FORMULA
From Amiram Eldar, Dec 20 2023: (Start)
Multiplicative with a(2) = 18, a(2^e) = 38 for e >= 2, and a(p^e) = 1 for an odd prime p.
Dirichlet g.f.: zeta(s) * (1 + 17/2^s + 5/2^(2*s-2)). (End)
MAPLE
with(numtheory): Digits := 300: convert(evalf(sqrt(398)), confrac);
MATHEMATICA
ContinuedFraction[Sqrt[398], 100] (* Amiram Eldar, Dec 20 2023 *)
CROSSREFS
Sequence in context: A040376 A040377 A377613 * A248124 A040379 A210938
KEYWORD
nonn,cofr,easy,mult
STATUS
approved