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

 

Logo

Please make a donation to keep the OEIS running. We are now in our 55th year. In the past year we added 12000 new sequences and reached 8000 citations (which often say "discovered thanks to the OEIS"). We need to raise money to hire someone to manage submissions, which would reduce the load on our editors and speed up editing.
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A010122 Continued fraction for sqrt(13). 9
3, 1, 1, 1, 1, 6, 1, 1, 1, 1, 6, 1, 1, 1, 1, 6, 1, 1, 1, 1, 6, 1, 1, 1, 1, 6, 1, 1, 1, 1, 6, 1, 1, 1, 1, 6, 1, 1, 1, 1, 6, 1, 1, 1, 1, 6, 1, 1, 1, 1, 6, 1, 1, 1, 1, 6, 1, 1, 1, 1, 6, 1, 1, 1, 1, 6, 1, 1, 1, 1, 6, 1, 1, 1, 1, 6, 1, 1, 1, 1, 6 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

COMMENTS

Eventual period is (1, 1, 1, 1, 6). - Zak Seidov, Mar 05 2011

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/5)*(-4*(n mod 5) + ((n+1) mod 5) + ((n+2) mod 5) + ((n+3) mod 5) + 6*((n+4) mod 5)) - 3*(C(2*n,n) mod 2), with n >= 0. - Paolo P. Lava, Jun 11 2009

EXAMPLE

3.605551275463989293119221267... = 3 + 1/(1 + 1/(1 + 1/(1 + 1/(1 + ...)))). - Harry J. Smith, Jun 02 2009

MATHEMATICA

ContinuedFraction[Sqrt[13], 300] (* Vladimir Joseph Stephan Orlovsky, Mar 05 2011 *)

PROG

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

CROSSREFS

Cf. A010470 Decimal expansion. - Harry J. Smith, Jun 02 2009

Sequence in context: A140750 A028264 A208673 * A220693 A208615 A058663

Adjacent sequences:  A010119 A010120 A010121 * A010123 A010124 A010125

KEYWORD

nonn,cofr

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
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 7 03:00 EST 2019. Contains 329836 sequences. (Running on oeis4.)