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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A040155 Continued fraction for sqrt(168). 1
12, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1 (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)=(1/2)[25+23*(-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[168], 300] (* Vladimir Joseph Stephan Orlovsky, Mar 25 2011*)

PadRight[{12}, 120, {24, 1}] (* Harvey P. Dale, Dec 17 2013 *)

CROSSREFS

Sequence in context: A056583 A281823 A139724 * A036185 A013619 A092527

Adjacent sequences:  A040152 A040153 A040154 * A040156 A040157 A040158

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 23 19:37 EDT 2019. Contains 328373 sequences. (Running on oeis4.)