login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A010156 Continued fraction for sqrt(78). 4
8, 1, 4, 1, 16, 1, 4, 1, 16, 1, 4, 1, 16, 1, 4, 1, 16, 1, 4, 1, 16, 1, 4, 1, 16, 1, 4, 1, 16, 1, 4, 1, 16, 1, 4, 1, 16, 1, 4, 1, 16, 1, 4, 1, 16, 1, 4, 1, 16, 1, 4, 1, 16, 1, 4, 1, 16, 1, 4, 1, 16, 1, 4, 1, 16, 1, 4, 1, 16, 1, 4, 1, 16 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
LINKS
G. Xiao, Contfrac.
FORMULA
From Amiram Eldar, Nov 13 2023: (Start)
Multiplicative with a(2) = 4, 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 + 4/4^(s-1)). (End)
EXAMPLE
8.83176086632784685476404272... = 8 + 1/(1 + 1/(4 + 1/(1 + 1/(16 + ...)))). - Harry J. Smith, Jun 09 2009
MATHEMATICA
ContinuedFraction[Sqrt[78], 300] (* Vladimir Joseph Stephan Orlovsky, Mar 09 2011 *)
PadRight[{8}, 120, {16, 1, 4, 1}] (* Harvey P. Dale, Sep 10 2023 *)
PROG
(PARI) { allocatemem(932245000); default(realprecision, 21000); x=contfrac(sqrt(78)); for (n=0, 20000, write("b010156.txt", n, " ", x[n+1])); } \\ Harry J. Smith, Jun 09 2009
CROSSREFS
Cf. A010530 (decimal expansion).
Sequence in context: A110194 A199283 A079359 * A197590 A154190 A019981
KEYWORD
nonn,cofr,easy,mult
AUTHOR
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 12 11:39 EDT 2024. Contains 372478 sequences. (Running on oeis4.)