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.

A016730 Continued fraction for log(2).

This page as a plain text file.
%I A016730 #32 Feb 16 2025 08:32:33
%S A016730 0,1,2,3,1,6,3,1,1,2,1,1,1,1,3,10,1,1,1,2,1,1,1,1,3,2,3,1,13,7,4,1,1,
%T A016730 1,7,2,4,1,1,2,5,14,1,10,1,4,2,18,3,1,4,1,6,2,7,3,3,1,13,3,1,4,4,1,3,
%U A016730 1,1,1,1,2,17,3,1,2,32,1,1,1
%N A016730 Continued fraction for log(2).
%C A016730 Continued fraction for 1/log(2) is the same but without the initial zero.
%H A016730 Harry J. Smith, <a href="/A016730/b016730.txt">Table of n, a(n) for n = 0..19999</a>
%H A016730 G. Xiao, <a href="http://wims.unice.fr/~wims/en_tool~number~contfrac.en.html">Contfrac</a>
%H A016730 Eric Weisstein's World of Mathematics, <a href="https://mathworld.wolfram.com/NaturalLogarithmof2.html">Natural Logarithm of 2</a>
%H A016730 <a href="/index/Con#confC">Index entries for continued fractions for constants</a>
%e A016730 log(2) = 0.6931471805599453094... = 0 + 1/(1 + 1/(2 + 1/(3 + 1/(1 + ...)))). - _Harry J. Smith_, Apr 21 2009
%t A016730 ContinuedFraction[Log[2], 80] (* _Alonso del Arte_, Oct 03 2017 *)
%o A016730 (PARI) { allocatemem(932245000); default(realprecision, 21000); x=contfrac(log(2)); for (n=1, 20000, write("b016730.txt", n-1, " ", x[n])); } \\ _Harry J. Smith_, Apr 21 2009
%o A016730 (Magma) ContinuedFraction(Log(2)); // _G. C. Greubel_, Sep 15 2018
%Y A016730 Cf. A120754, A120755, A002162 (decimal expansion).
%K A016730 nonn,cofr
%O A016730 0,3
%A A016730 _N. J. A. Sloane_
%E A016730 Offset changed by _Andrew Howroyd_, Jul 10 2024