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

 

Logo


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

0,1

LINKS

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

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, 1).

FORMULA

a(n)=(1/792)*{-1855*(n mod 12)+125*[(n+1) mod 12]-7*[(n+2) mod 12]+59*[(n+3) mod 12]+587*[(n+4) mod 12]-469*[(n+5) mod 12]+587*[(n+6) mod 12]-469*[(n+7) mod 12]+59*[(n+8) mod 12]+125*[(n+9) mod 12]-7*[(n+10) mod 12]+1973*[(n+11) mod 12]}-15*[C(2*n,n) mod 2], with n>=0 [From Paolo P. Lava, Apr 22 2009]

MAPLE

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

MATHEMATICA

ContinuedFraction[Sqrt[247], 100] (* or *) PadRight[{15}, 100, {30, 1, 2, 1, 1, 9, 1, 9, 1, 1, 2, 1}] (* Harvey P. Dale, Feb 25 2016 *)

CROSSREFS

Sequence in context: A022178 A176639 A015139 * A040232 A040230 A040233

Adjacent sequences:  A040228 A040229 A040230 * A040232 A040233 A040234

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 October 21 13:24 EDT 2019. Contains 328299 sequences. (Running on oeis4.)