A126664 Continued fraction expansion of sqrt(3)/2.
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
Offset: 0
Links
- Index entries for linear recurrences with constant coefficients, signature (0,1).
Crossrefs
Cf. A010527.
Programs
-
Mathematica
ContinuedFraction[Sqrt[3]/2,120] (* or *) PadRight[{0,1},120,{6,2}] (* Harvey P. Dale, May 14 2016 *)
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
Extensions
More terms from N. J. A. Sloane, Dec 29 2008
Comments