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.

A181920 Length of A185120(n): number of subsequent digits in the decimal expansion of e which form the next longer prime.

Original entry on oeis.org

1, 2, 25, 90, 456, 608, 1421, 1469
Offset: 1

Views

Author

M. F. Hasler, Apr 01 2012

Keywords

Comments

By definition, a strictly increasing sequence.
See A185120 for further comments and explanations.

Examples

			The decimal expansion of e=exp(1)=2.718281828.... is split into
A185120(1) = 2 of length a(1)=1,
A185120(2) = 71 of length a(2)=2,
A185120(3) = 8281828459045235360287471 of length a(3)=25, etc.
		

Programs

  • PARI
    {default(realprecision,20000);e=exp(1)*.1; for( n=1,9e9, ispseudoprime(e\.1^n)||next; print1(n",");e=frac(e*10^n))}