cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A126664 Continued fraction expansion of sqrt(3)/2.

This page as a plain text file.
%I A126664 #15 Jun 18 2017 02:25:18
%S A126664 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,
%T A126664 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,
%U A126664 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
%N A126664 Continued fraction expansion of sqrt(3)/2.
%C A126664 Also continued fraction expansion of sin(Pi/3).
%H A126664 <a href="/index/Rec#order_02">Index entries for linear recurrences with constant coefficients</a>, signature (0,1).
%F A126664 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
%t A126664 ContinuedFraction[Sqrt[3]/2,120] (* or *) PadRight[{0,1},120,{6,2}] (* _Harvey P. Dale_, May 14 2016 *)
%Y A126664 Cf. A010527.
%K A126664 cofr,nonn,easy
%O A126664 0,3
%A A126664 _Zerinvary Lajos_, Feb 10 2007
%E A126664 More terms from _N. J. A. Sloane_, Dec 29 2008