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.

A242072 Decimal expansion of the value of the continued fraction constructed from Mersenne primes.

Original entry on oeis.org

3, 1, 8, 2, 4, 8, 1, 5, 8, 4, 0, 5, 8, 4, 4, 8, 6, 9, 4, 2, 5, 9, 6, 2, 0, 2, 7, 4, 8, 1, 4, 0, 6, 9, 4, 2, 4, 3, 8, 0, 6, 2, 3, 6, 5, 6, 4, 0, 6, 8, 4, 8, 8, 4, 0, 6, 7, 6, 7, 6, 0, 6, 3, 2, 2, 1, 4, 7, 6, 7, 3, 0, 9, 2, 5, 7, 5, 8, 7, 9, 1, 0, 3, 9, 7, 4, 5, 6, 9, 5, 4, 1, 9, 5, 2, 5, 5, 7, 0, 3, 7, 4, 5, 3
Offset: 0

Views

Author

Jean-François Alcover, Oct 01 2014

Keywords

Examples

			0.318248158405844869425962027481406942438062365640684884...
		

Crossrefs

Cf. A000043 (the main entry for this sequence), A028335, A000668, A247864.

Programs

  • Mathematica
    (* The first 9 Mersenne primes suffice to get 104 correct digits *) MersennePrimes = Select[2^Prime[Range[18]] - 1, PrimeQ]; u = FromContinuedFraction[Join[{0}, MersennePrimes]]; RealDigits[u, 10, 104] // First