Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A040052
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A040052 Continued fraction for sqrt(60). +0
3
7, 1, 2, 1, 14, 1, 2, 1, 14, 1, 2, 1, 14, 1, 2, 1, 14, 1, 2, 1, 14, 1, 2, 1, 14, 1, 2, 1, 14, 1, 2, 1, 14, 1, 2, 1, 14, 1, 2, 1, 14, 1, 2, 1, 14, 1, 2, 1, 14, 1, 2, 1, 14, 1, 2, 1, 14, 1, 2, 1, 14, 1, 2, 1, 14, 1, 2, 1, 14, 1, 2, 1, 14 (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/2)*{-5*(n mod 4)+2*[(n+1) mod 4]+[(n+2) mod 4]+8*[(n+3) mod 4]}-31*[C(2*n,n) mod 2], with n>=0 [From Paolo P. Lava (ppl(AT)spl.at), Jun 10 2009]

EXAMPLE

7.74596669241483377035853079... = 7 + 1/(1 + 1/(2 + 1/(1 + 1/(14 + ...)))) [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Jun 07 2009]

MAPLE

Digits := 100: convert(evalf(sqrt(N)), confrac, 90, 'cvgts'):

PROGRAM

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

CROSSREFS

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

Sequence in context: A111037 A090202 A030172 this_sequence A134898 A021588 A153103

Adjacent sequences: A040049 A040050 A040051 this_sequence A040053 A040054 A040055

KEYWORD

nonn,cofr,easy

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 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research