Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A010156
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A010156 Continued fraction for sqrt(78). +0
3
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; listen)
OFFSET

0,1

LINKS

Harry J. Smith, Table of n, a(n) for n=0,...,20000

G. Xiao, Contfrac

Index entries for continued fractions for constants

FORMULA

a(n)=(1/6)*{-17*(n mod 4)+10*[(n+1) mod 4]+[(n+2) mod 4]+28*[(n+3) mod 4]}-8*[C(2*n,n) mod 2], with n>=0 [From Paolo P. Lava (ppl(AT)spl.at), Jul 24 2009]

EXAMPLE

8.83176086632784685476404272... = 8 + 1/(1 + 1/(4 + 1/(1 + 1/(16 + ...)))) [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Jun 09 2009]

PROGRAM

(PARI) { allocatemem(932245000); default(realprecision, 21000); x=contfrac(sqrt(78)); for (n=0, 20000, write("b010156.txt", n, " ", x[n+1])); } [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Jun 09 2009]

CROSSREFS

Cf. A010530 Decimal expansion. [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Jun 09 2009]

Sequence in context: A140457 A110194 A079359 this_sequence A154190 A019981 A117038

Adjacent sequences: A010153 A010154 A010155 this_sequence A010157 A010158 A010159

KEYWORD

nonn,cofr

AUTHOR

N. J. A. Sloane (njas(AT)research.att.com).

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 23 17:09 EST 2009. Contains 167438 sequences.


AT&T Labs Research