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.

Showing 1-4 of 4 results.

A002852 Continued fraction for Euler's constant (or Euler-Mascheroni constant) gamma.

Original entry on oeis.org

0, 1, 1, 2, 1, 2, 1, 4, 3, 13, 5, 1, 1, 8, 1, 2, 4, 1, 1, 40, 1, 11, 3, 7, 1, 7, 1, 1, 5, 1, 49, 4, 1, 65, 1, 4, 7, 11, 1, 399, 2, 1, 3, 2, 1, 2, 1, 5, 3, 2, 1, 10, 1, 1, 1, 1, 2, 1, 1, 3, 1, 4, 1, 1, 2, 5, 1, 3, 6, 2, 1, 2, 1, 1, 1, 2, 1, 3, 16, 8, 1, 1, 2, 16, 6, 1, 2, 2, 1, 7, 2, 1, 1, 1, 3, 1, 2, 1, 2
Offset: 0

Views

Author

Keywords

Comments

The first 970258158 terms were computed by Eric W. Weisstein on Sep 21 2011 using a developmental version of Mathematica.
The first 4851382841 terms were computed by Eric W. Weisstein on Jul 22 2013 using a developmental version of Mathematica.
The first 16695279010 terms were computed by Syed Fahad on Apr 29 2021, see link.

Examples

			0.577215664901532860606512090082402431042...
0 + 1/(1 + 1/(1 + 1/(2 + 1/(1 + 1/(2 + 1/(1 + 1/(4 + 1/(3 + 1/(13 + ...
		

References

  • M. Abramowitz and I. A. Stegun, eds., Handbook of Mathematical Functions, National Bureau of Standards Applied Math. Series 55, 1964 (and various reprintings), p. 3.
  • R. S. Lehman, A Study of Regular Continued Fractions. Report 1066, Ballistic Research Laboratories, Aberdeen Proving Ground, Maryland, Feb 1959.
  • N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).
  • N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

Crossrefs

Cf. A001620, the decimal expansion, which has many more references.
See also A073004 (exp(gamma)) and A094640 ("alternating Euler constant").
Cf. A033091 (incrementally largest terms), A033092 (positions of incrementally largest terms).
Cf. A033149 (positions of first occurrence of n in the continued fraction).

Programs

  • Magma
    ContinuedFraction(EulerGamma(100)); // Vincenzo Librandi, Oct 19 2017
  • Mathematica
    ContinuedFraction[EulerGamma, 100]
  • PARI
    default(realprecision, 11000); x=contfrac(Euler); for (n=0, 10000, write("b002852.txt", n, " ", x[n+1])) \\ Harry J. Smith, Apr 14 2009
    

Extensions

More terms from Robert G. Wilson v, Dec 08 2000

A033091 Incrementally largest terms in the continued fraction for Euler's constant gamma (A002852).

Original entry on oeis.org

0, 1, 2, 4, 13, 40, 49, 65, 399, 2076, 11626, 12156, 12190, 16992, 87983, 717895, 2186175, 4327480, 7928565, 8130547, 12139891, 54517279, 67728780, 264656137, 410041022, 2970688427, 13126642049, 19585729892, 71713995073
Offset: 0

Views

Author

Keywords

Comments

a(28)=71713995073 is the largest of the first 4851382841 terms of the c.f. - Eric W. Weisstein, Jul 22 2013
a(28)=71713995073 is the largest of the first 16695279010 terms of the c.f. - Syed Fahad, May 05 2021

Crossrefs

Cf. A002852 (continued fraction for Euler's constant).
Cf. A033092 (positions of incrementally largest terms in c.f.).
Cf. A001620 (decimal expansion of Euler's constant).
Cf. A098967.

Extensions

More terms from Sam Handler (sam_5_5_5_0(AT)yahoo.com) and (independently) Eric W. Weisstein, Oct 25 2004
More terms from Eric W. Weisstein, Jan 02 2007
a(22) and a(23) from Eric W. Weisstein, Dec 09 2010
a(24) from Eric W. Weisstein, Sep 21 2011
a(25)-a(28) from Eric W. Weisstein, Jul 22 2013

A033090 Indices of incrementally largest terms in the continued fraction for Pi.

Original entry on oeis.org

1, 2, 3, 5, 308, 432, 28422, 156382, 267314, 453294, 11504931, 849955263, 2349980289, 3588031780, 8600404591, 15621034283
Offset: 1

Views

Author

Keywords

Comments

This sequence assumes nonstandard indexing of continued fraction terms as [a_1; a_2, a_3, ...]. If you use the actual offset from A001203, corresponding to [a_0; a_1, a_2, ...], you get instead 0, 1, 2, 4, 307, 431, 28421, ... Compare with A033092 versus A224849. - Jeppe Stig Nielsen, Dec 14 2019

Crossrefs

Programs

  • Mathematica
    With[{s = ContinuedFraction[Pi, 2*10^7]}, Map[FirstPosition[s, #][[1]] &, Union@ FoldList[Max, s]]] (* Michael De Vlieger, Jan 31 2020 *)

Extensions

a(12) from Eric W. Weisstein, Dec 08 2010
a(13) from Eric W. Weisstein, Sep 16 2011
a(14) from Eric W. Weisstein, Sep 17 2011
a(15) from Eric W. Weisstein, Jul 18 2013
a(16) from Syed Fahad, Apr 27 2021

A224849 Positions of incrementally largest terms in the continued fraction for Euler's constant gamma (A002852).

Original entry on oeis.org

0, 1, 3, 7, 9, 19, 30, 33, 39, 528, 5040, 15346, 25317, 28320, 33260, 158567, 273271, 3233048, 4198629, 11925231, 21988969, 27999429, 130169953, 133517597, 560882700, 1060718270, 1158300011, 1183752951, 3652709606
Offset: 0

Views

Author

Eric W. Weisstein, Jul 22 2013

Keywords

Comments

This sequence is the same as A033092 except uses the correct indexing convention [a_0; a_1, ...] for the c.f.

Crossrefs

Cf. A033092 (= a(n) + 1).
Cf. A033091 (increamentally largest terms).
Cf. A002852 (continued fraction of gamma).

Formula

a(n) = A033092(n) - 1.
Showing 1-4 of 4 results.