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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A040831 Continued fraction for sqrt(861). 1
29, 2, 1, 11, 14, 1, 1, 2, 2, 2, 1, 1, 14, 11, 1, 2, 58, 2, 1, 11, 14, 1, 1, 2, 2, 2, 1, 1, 14, 11, 1, 2, 58, 2, 1, 11, 14, 1, 1, 2, 2, 2, 1, 1, 14, 11, 1, 2, 58, 2, 1, 11, 14, 1, 1, 2, 2, 2, 1, 1, 14, 11, 1, 2, 58, 2, 1, 11, 14, 1, 1, 2, 2, 2, 1, 1, 14, 11, 1, 2, 58 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

LINKS

Table of n, a(n) for n=0..80.

Index entries for continued fractions for constants

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

FORMULA

a(n)=(1/480)*{-1649*(n mod 16)+[(n+1) mod 16]+331*[(n+2) mod 16]+121*[(n+3) mod 16]-359*[(n+4) mod 16]+31*[(n+5) mod 16]+61*[(n+6) mod 16]+31*[(n+7) mod 16]+31*[(n+8) mod 16]+[(n+9) mod 16]+31*[(n+10) mod 16]+421*[(n+11) mod 16]-59*[(n+12) mod 16]-269*[(n+13) mod 16]+61*[(n+14) mod 16]+1711*[(n+15) mod 16]}-29*[C(2*n,n) mod 2], with n>=0 [From Paolo P. Lava, May 29 2009]

MAPLE

with(numtheory): Digits := 300: convert(evalf(sqrt(861)), confrac);

MATHEMATICA

ContinuedFraction[Sqrt[861], 120] (* or *) PadRight[{29}, 120, {58, 2, 1, 11, 14, 1, 1, 2, 2, 2, 1, 1, 14, 11, 1, 2}] (* Harvey P. Dale, Apr 29 2017 *)

CROSSREFS

Sequence in context: A040833 A040834 A040832 * A040836 A040835 A040837

Adjacent sequences:  A040828 A040829 A040830 * A040832 A040833 A040834

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 19 12:35 EDT 2019. Contains 325159 sequences. (Running on oeis4.)