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”).

A040406
Continued fraction for sqrt(427).
1
20, 1, 1, 1, 40, 1, 1, 1, 40, 1, 1, 1, 40, 1, 1, 1, 40, 1, 1, 1, 40, 1, 1, 1, 40, 1, 1, 1, 40, 1, 1, 1, 40, 1, 1, 1, 40, 1, 1, 1, 40, 1, 1, 1, 40, 1, 1, 1, 40, 1, 1, 1, 40, 1, 1, 1, 40, 1, 1, 1, 40, 1, 1, 1, 40, 1, 1, 1, 40, 1, 1, 1, 40, 1, 1, 1, 40, 1, 1, 1, 40, 1, 1, 1
OFFSET
0,1
FORMULA
From Amiram Eldar, Dec 20 2023: (Start)
Multiplicative with a(2) = 1, a(2^e) = 40 for e >= 2, and a(p^e) = 1 for an odd prime p.
Dirichlet g.f.: zeta(s) * (1 + 39/2^(2*s)). (End)
MAPLE
with(numtheory): Digits := 300: convert(evalf(sqrt(427)), confrac);
MATHEMATICA
ContinuedFraction[Sqrt[427], 90] (* or *) PadRight[{20}, 90, {40, 1, 1, 1}] (* Harvey P. Dale, Mar 18 2013 *)
CROSSREFS
Sequence in context: A365911 A040404 A040405 * A040403 A040402 A040401
KEYWORD
nonn,cofr,easy,mult
STATUS
approved