login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A040071 Continued fraction for sqrt(80). 5
8, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1 (list; graph; refs; listen; history; text; internal format)
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

Index entries for linear recurrences with constant coefficients, signature (0, 1).

FORMULA

a(n) = (1/2)*(17 + 15*(-1)^n) - 8*(binomial(2*n,n) mod 2). - Paolo P. Lava, Jun 10 2009

a(n) = 4^(1+(-1)^n) for n>0, a(0)=8. [Bruno Berselli, Dec 29 2015]

EXAMPLE

8.9442719099991587856366946... = 8 + 1/(1 + 1/(16 + 1/(1 + 1/(16 + ...)))). - Harry J. Smith, Jun 09 2009

MAPLE

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

MATHEMATICA

ContinuedFraction[Sqrt[80], 300] (* Vladimir Joseph Stephan Orlovsky, Mar 09 2011 *)

PROG

(PARI) { allocatemem(932245000); default(realprecision, 26000); x=contfrac(sqrt(80)); for (n=0, 20000, write("b040071.txt", n, " ", x[n+1])); } \\ Harry J. Smith, Jun 09 2009

CROSSREFS

Cf. A010532 Decimal expansion. - Harry J. Smith, Jun 09 2009

Sequence in context: A173988 A158893 A107929 * A317026 A126000 A013615

Adjacent sequences:  A040068 A040069 A040070 * A040072 A040073 A040074

KEYWORD

nonn,cofr,easy

AUTHOR

N. J. A. Sloane

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 23 03:21 EDT 2018. Contains 316519 sequences. (Running on oeis4.)