login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A040867
Continued fraction for sqrt(897).
1
29, 1, 18, 1, 58, 1, 18, 1, 58, 1, 18, 1, 58, 1, 18, 1, 58, 1, 18, 1, 58, 1, 18, 1, 58, 1, 18, 1, 58, 1, 18, 1, 58, 1, 18, 1, 58, 1, 18, 1, 58, 1, 18, 1, 58, 1, 18, 1, 58, 1, 18, 1, 58, 1, 18, 1, 58, 1, 18, 1, 58, 1, 18, 1, 58, 1, 18, 1, 58, 1, 18, 1, 58, 1, 18
OFFSET
0,1
FORMULA
a(n) = a(n-4) for n > 4 with a(0) = 29, a(1) = a(3) = 1, a(2) = 18, a(4) = 58. - Wesley Ivan Hurt, Dec 31 2023
From Amiram Eldar, Jan 17 2024: (Start)
Multiplicative with a(2) = 18, a(2^e) = 58 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-3)). (End)
MAPLE
with(numtheory): Digits := 300: convert(evalf(sqrt(897)), confrac);
MATHEMATICA
ContinuedFraction[Sqrt[897], 80] (* or *) PadRight[{29}, 80, {58, 1, 18, 1}] (* Harvey P. Dale, Oct 14 2013 *)
CROSSREFS
Sequence in context: A040864 A040865 A040866 * A040868 A169980 A040869
KEYWORD
nonn,cofr,easy,mult
STATUS
approved