login
Continued fraction for 2 Pi.
3

%I #17 Dec 15 2017 17:34:53

%S 6,3,1,1,7,2,146,3,6,1,1,2,7,5,5,1,4,1,2,42,5,31,1,1,1,6,2,2,4,3,12,

%T 49,1,5,1,12,1,1,1,2,3,1,2,1,1,3,1,16,2,1,1,15,2,3,6,3,8,18,6,1,2,1,3,

%U 2,1,2,2,1,1,2,1,8,2,33,1,80,91,1,10,1,5,1,2,2,2,1,49,2,8,2,3,5,4,2,1,1,1

%N Continued fraction for 2 Pi.

%C A001203 is the continued fraction for Pi.

%H Harry J. Smith, <a href="/A058291/b058291.txt">Table of n, a(n) for n = 0..20000</a>

%H G. Xiao, <a href="http://wims.unice.fr/~wims/en_tool~number~contfrac.en.html">Contfrac</a>

%H <a href="/index/Con#confC">Index entries for continued fractions for constants</a>

%e 6.283185307179586476925286766... = 6 + 1/(3 + 1/(1 + 1/(1 + 1/(7 + ...)))). - _Harry J. Smith_, May 31 2009

%t ContinuedFraction[ 2Pi, 100 ]

%o (PARI) contfrac(2*Pi)

%o (PARI) { allocatemem(932245000); default(realprecision, 21000); x=contfrac(2*Pi); for (n=0, 20000, write("b058291.txt", n, " ", x[n+1])); } \\ _Harry J. Smith_, May 31 2009

%Y Cf. A019692 Decimal expansion. - _Harry J. Smith_, May 31 2009

%K cofr,nonn,easy

%O 0,1

%A _Robert G. Wilson v_, Dec 07 2000

%E More terms from _Jason Earls_, Jul 24 2001