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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A040134 Continued fraction for sqrt(147). 0
12, 8, 24, 8, 24, 8, 24, 8, 24, 8, 24, 8, 24, 8, 24, 8, 24, 8, 24, 8, 24, 8, 24, 8, 24, 8, 24, 8, 24, 8, 24, 8, 24, 8, 24, 8, 24, 8, 24, 8, 24, 8, 24, 8, 24, 8, 24, 8, 24, 8, 24, 8, 24, 8, 24, 8, 24, 8, 24, 8, 24, 8, 24, 8, 24, 8 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

LINKS

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

Index entries for continued fractions for constants

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

FORMULA

a(n)=16+8*(-1)^n-12*[C(2*n,n) mod 2], with n>=0 [From Paolo P. Lava, Jun 10 2009]

MAPLE

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

MATHEMATICA

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

LinearRecurrence[{0, 1}, {12, 8, 24}, 80] (* or *) PadRight[{12}, 80, {24, 8}] (* Harvey P. Dale, Jun 11 2017 *)

CROSSREFS

Sequence in context: A324976 A261402 A307171 * A258641 A206478 A164675

Adjacent sequences:  A040131 A040132 A040133 * A040135 A040136 A040137

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 23 16:14 EDT 2019. Contains 325258 sequences. (Running on oeis4.)