OFFSET
0,3
COMMENTS
On May 30, 1799, Gauss discovered that this number is also equal to (2/Pi)*Integral_{t=0..1}(1/sqrt(1-t^4)).
M(a,b) is the limit of the arithmetic-geometric mean iteration applied repeatedly starting with a and b: a_0=a, b_0=b, a_{n+1}=(a_n+b_n)/2, b_{n+1}=sqrt(a_n*b_n).
REFERENCES
J. M. Borwein and P. B. Borwein, Pi and the AGM, page 5.
J. R. Goldman, The Queen of Mathematics, 1998, p. 92.
LINKS
Harry J. Smith, Table of n, a(n) for n = 0..19999
Eric Weisstein's World of Mathematics, Gauss's Constant
G. Xiao, Contfrac
OEIS Wiki, Gauss's constant
EXAMPLE
0.83462684167407318628142973...
MATHEMATICA
ContinuedFraction[1/ArithmeticGeometricMean[1, Sqrt[2]] , 100] (* Jean-François Alcover, Apr 18 2011 *)
PROG
(PARI) { allocatemem(932245000); default(realprecision, 21000); x=contfrac(1/agm(1, sqrt(2))); for (n=1, 20000, write("b053002.txt", n-1, " ", x[n])); } \\ Harry J. Smith, Apr 20 2009
CROSSREFS
KEYWORD
nonn,cofr,nice,easy
AUTHOR
N. J. A. Sloane, Feb 21 2000
EXTENSIONS
More terms from James A. Sellers, Feb 22 2000
Offset changed by Andrew Howroyd, Aug 03 2024
STATUS
approved