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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A040222 Continued fraction for sqrt(238). 2
15, 2, 2, 1, 14, 1, 2, 2, 30, 2, 2, 1, 14, 1, 2, 2, 30, 2, 2, 1, 14, 1, 2, 2, 30, 2, 2, 1, 14, 1, 2, 2, 30, 2, 2, 1, 14, 1, 2, 2, 30, 2, 2, 1, 14, 1, 2, 2, 30, 2, 2, 1, 14, 1, 2, 2, 30, 2, 2, 1, 14, 1, 2, 2, 30, 2, 2, 1, 14, 1, 2, 2, 30, 2, 2, 1, 14, 1, 2, 2, 30, 2, 2, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

LINKS

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

Index entries for continued fractions for constants

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

FORMULA

a(n)=(1/112)*{-365*(n mod 8)+27*[(n+1) mod 8]+13*[(n+2) mod 8]+209*[(n+3) mod 8]-155*[(n+4) mod 8]+41*[(n+5) mod 8]+27*[(n+6) mod 8]+419*[(n+7) mod 8]}-15*[C(2*n,n) mod 2], with n>=0 [From Paolo P. Lava, Apr 23 2009]

MAPLE

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

MATHEMATICA

ContinuedFraction[Sqrt[238], 100] (* Harvey P. Dale, May 02 2011 *)

CROSSREFS

Sequence in context: A040220 A146989 A166031 * A040223 A272724 A076595

Adjacent sequences:  A040219 A040220 A040221 * A040223 A040224 A040225

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 March 26 04:32 EDT 2019. Contains 321481 sequences. (Running on oeis4.)