A058280 Continued fraction for square root of Pi.
1, 1, 3, 2, 1, 1, 6, 1, 28, 13, 1, 1, 2, 18, 1, 1, 1, 83, 1, 4, 1, 2, 4, 1, 288, 1, 90, 1, 12, 1, 1, 7, 1, 3, 1, 6, 1, 2, 71, 9, 3, 1, 5, 36, 1, 2, 2, 1, 1, 1, 2, 5, 9, 8, 1, 7, 1, 2, 2, 1, 63, 1, 4, 3, 1, 6, 1, 1, 1, 5, 1, 9, 2, 5, 4, 1, 2, 1, 1, 2, 20, 1, 1, 2, 1, 10, 5, 2, 1, 100, 11, 1, 9, 1, 2, 1
Offset: 0
Examples
sqrt(Pi) = 1 + 1/(1 + 1/(3 + 1/(2 + 1/(1 + ...)))). - _Harry J. Smith_, May 01 2009
Links
- Harry J. Smith, Table of n, a(n) for n = 0..20000
- G. Xiao, Contfrac
- Index entries for continued fractions for constants
Programs
-
Mathematica
ContinuedFraction[ Sqrt[Pi], 100]
-
PARI
{ allocatemem(932245000); default(realprecision, 21000); x=contfrac(sqrt(Pi)); for (n=1, 20001, write("b058280.txt", n-1, " ", x[n])); } \\ Harry J. Smith, May 01 2009
Extensions
More terms from Harvey P. Dale, Dec 29 2000
Comments