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

A010157
Continued fraction for sqrt(79).
3
8, 1, 7, 1, 16, 1, 7, 1, 16, 1, 7, 1, 16, 1, 7, 1, 16, 1, 7, 1, 16, 1, 7, 1, 16, 1, 7, 1, 16, 1, 7, 1, 16, 1, 7, 1, 16, 1, 7, 1, 16, 1, 7, 1, 16, 1, 7, 1, 16, 1, 7, 1, 16, 1, 7, 1, 16, 1, 7, 1, 16, 1, 7, 1, 16, 1, 7, 1, 16, 1, 7, 1, 16
OFFSET
0,1
FORMULA
From Amiram Eldar, Nov 13 2023: (Start)
Multiplicative with a(2) = 7, a(2^e) = 16 for e >= 2, and a(p^e) = 1 for an odd prime p.
Dirichlet g.f.: zeta(s) * (1 + 3/2^(s-1) + 9/4^s). (End)
EXAMPLE
8.88819441731558885009144167... = 8 + 1/(1 + 1/(7 + 1/(1 + 1/(16 + ...)))). - Harry J. Smith, Jun 09 2009
MATHEMATICA
ContinuedFraction[Sqrt[79], 300] (* Vladimir Joseph Stephan Orlovsky, Mar 09 2011 *)
PROG
(PARI) { allocatemem(932245000); default(realprecision, 23000); x=contfrac(sqrt(79)); for (n=0, 20000, write("b010157.txt", n, " ", x[n+1])); } \\ Harry J. Smith, Jun 09 2009
CROSSREFS
Cf. A010531 (decimal expansion).
Sequence in context: A182551 A005486 A377513 * A244089 A195489 A245280
KEYWORD
nonn,cofr,easy,mult
STATUS
approved