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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A126664 Continued fraction expansion of sqrt(3)/2. 3
0, 1, 6, 2, 6, 2, 6, 2, 6, 2, 6, 2, 6, 2, 6, 2, 6, 2, 6, 2, 6, 2, 6, 2, 6, 2, 6, 2, 6, 2, 6, 2, 6, 2, 6, 2, 6, 2, 6, 2, 6, 2, 6, 2, 6, 2, 6, 2, 6, 2, 6, 2, 6, 2, 6, 2, 6, 2, 6, 2, 6, 2, 6, 2, 6, 2, 6, 2, 6, 2, 6, 2, 6, 2, 6, 2, 6, 2, 6, 2, 6, 2, 6, 2, 6, 2, 6, 2, 6, 2, 6, 2, 6, 2, 6, 2, 6, 2, 6, 2, 6, 2, 6, 2, 6, 2, 6, 2, 6, 2, 6 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,3

COMMENTS

Also continued fraction expansion of sin(Pi/3).

LINKS

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

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

FORMULA

a(n) = 2*(2+(-1)^n) for n>1. a(n) = a(n-2) for n>3. G.f.: -x*(x^2+6*x+1) / ((x-1)*(x+1)). - Colin Barker, Jan 10 2014

MATHEMATICA

ContinuedFraction[Sqrt[3]/2, 120] (* or *) PadRight[{0, 1}, 120, {6, 2}] (* Harvey P. Dale, May 14 2016 *)

CROSSREFS

Cf. A010527.

Sequence in context: A318333 A318385 A319262 * A266389 A198986 A236190

Adjacent sequences:  A126661 A126662 A126663 * A126665 A126666 A126667

KEYWORD

cofr,nonn,easy

AUTHOR

Zerinvary Lajos, Feb 10 2007

EXTENSIONS

More terms from N. J. A. Sloane, Dec 29 2008

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 21 19:25 EDT 2019. Contains 325199 sequences. (Running on oeis4.)