login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A064118
Numbers k such that the first k digits of e form a prime.
12
1, 3, 7, 85, 1781, 2780, 112280, 155025
OFFSET
1,2
COMMENTS
The primes are given in A007512. Sequences A065815, A119344, A136583, A210706,... are analogs for gamma, sqrt(3), sqrt(10), 3^(1/3), .... The MathWorld page about "Constant Primes" lists further examples. - M. F. Hasler, Aug 31 2013
REFERENCES
C. A. Pickover, The Mathematics of Oz, "2, 271, 2718281", Chapter 95, Camb.Univ.Press, UK 2002.
LINKS
Eric Weisstein's World of Mathematics, Constant Primes
Eric Weisstein's World of Mathematics, e Digits
Eric Weisstein's World of Mathematics, e-Prime
Eric Weisstein's World of Mathematics, Integer Sequence Primes
EXAMPLE
a(2)=3 because the 3-digit number 271 is prime.
MATHEMATICA
Do[If[PrimeQ[FromDigits[RealDigits[N[E, n + 10], 10, n][[1]]]], Print[n]], {n, 1, 2300}]
CROSSREFS
Cf. A001113.
Cf. A047658.
Sequence in context: A219588 A219375 A326427 * A041705 A137130 A058379
KEYWORD
base,more,nonn
AUTHOR
Shyam Sunder Gupta, Sep 09 2001
EXTENSIONS
One more term from Robert G. Wilson v, Sep 28 2001
a(6) from Eric W. Weisstein, Jan 17 2005
a(7) from Eric W. Weisstein, Jul 03 2009
a(8) from Eric W. Weisstein, Oct 11 2010
STATUS
approved