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.

A053003 Continued fraction for M(1,sqrt(2)).

This page as a plain text file.
%I A053003 #34 Jul 02 2025 16:01:59
%S A053003 1,5,21,3,4,14,1,1,1,1,1,3,1,15,1,3,8,36,1,2,5,2,1,1,2,2,6,9,1,1,1,3,
%T A053003 1,2,6,1,5,1,1,2,1,13,2,2,5,1,2,2,1,5,1,3,1,3,1,2,2,2,2,8,3,1,2,2,1,
%U A053003 10,2,2,2,3,3,1,7,1,8,3,1,1,1,1,1,1,1,1,5,2,1,2,17,1,4,31,2,2,5,30,1,8,2,1
%N A053003 Continued fraction for M(1,sqrt(2)).
%C A053003 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).
%D A053003 J. M. Borwein and P. B. Borwein, Pi and the AGM, page 5.
%D A053003 J. R. Goldman, The Queen of Mathematics, 1998, p. 92.
%H A053003 Harry J. Smith, <a href="/A053003/b053003.txt">Table of n, a(n) for n = 0..19999</a>
%H A053003 Eric Weisstein's World of Mathematics, <a href="https://mathworld.wolfram.com/GausssConstant.html">Gauss's Constant</a>.
%H A053003 G. Xiao, <a href="http://wims.unice.fr/~wims/en_tool~number~contfrac.en.html">Contfrac</a>
%H A053003 <a href="/index/Con#confC">Index entries for continued fractions for constants</a>
%e A053003 1.19814023473559220743992249228...
%t A053003 ContinuedFraction[ArithmeticGeometricMean[1,Sqrt[2]],100] (* _Harvey P. Dale_, Feb 26 2012 *)
%o A053003 (PARI) { allocatemem(932245000); default(realprecision, 21000); x=contfrac(agm(1, sqrt(2))); for (n=1, 20000, write("b053003.txt", n-1, " ", x[n])); } \\ _Harry J. Smith_, Apr 20 2009
%Y A053003 Cf. A014549, A053002 without the leading term, A053004 (decimal expansion).
%K A053003 nonn,cofr,nice,easy
%O A053003 0,2
%A A053003 _N. J. A. Sloane_, Feb 21 2000
%E A053003 More terms from _James Sellers_, Feb 22 2000
%E A053003 Offset changed by _Andrew Howroyd_, Aug 03 2024