Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A040013
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A040013 Continued fraction for sqrt(18). +0
1
4, 4, 8, 4, 8, 4, 8, 4, 8, 4, 8, 4, 8, 4, 8, 4, 8, 4, 8, 4, 8, 4, 8, 4, 8, 4, 8, 4, 8, 4, 8, 4, 8, 4, 8, 4, 8, 4, 8, 4, 8, 4, 8, 4, 8, 4, 8, 4, 8, 4, 8, 4, 8, 4, 8, 4, 8, 4, 8, 4, 8, 4, 8, 4, 8, 4, 8, 4, 8, 4, 8, 4, 8, 4, 8, 4, 8, 4, 8, 4 (list; graph; listen)
OFFSET

0,1

LINKS

G. Xiao, Contfrac

Index entries for continued fractions for constants

FORMULA

a(n)=6+2*(-1)^n-4*[C(2*n,n) mod 2], with n>=0 - Paolo P. Lava (ppl(AT)spl.at), Mar 03 2008

MAPLE

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

P:=proc(n) local i; for i from 0 by 1 to n do print(6+2*(-1)^i-4*(binomial(2*i, i) mod 2)); od; end: P(100); - Paolo P. Lava (ppl(AT)spl.at), Mar 03 2008

CROSSREFS

Sequence in context: A091671 A137797 A021227 this_sequence A117973 A082075 A095727

Adjacent sequences: A040010 A040011 A040012 this_sequence A040014 A040015 A040016

KEYWORD

nonn,cofr,easy

AUTHOR

njas

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 July 25 02:12 EDT 2008. Contains 142294 sequences.


AT&T Labs Research