login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A115019 Position of the first n-digit prime in the decimal expansion of e=exp(1). 3
0, 1, 0, 14, 13, 12, 0, 64, 19, 99, 37, 53, 7, 47, 39, 40, 8, 82, 151, 18, 51, 5, 15, 65, 3, 3, 68, 24, 27, 6, 96, 173, 3, 47, 126, 10, 39, 57, 47, 68, 44, 39, 33, 118, 5, 6, 91, 60, 1, 39, 137, 104, 331, 27, 69, 321, 61, 230, 77, 236, 244, 65, 48, 438, 297, 92, 359, 40, 214 (list; graph; refs; listen; history; internal format)
OFFSET

1,4

COMMENTS

a(10)=99 leads to the 10-digit prime 7427466391 which is the answer to the so-called "google puzzle" (january 2006).

PROG

(PARI) \p10000 e=exp(1): f(i, l)=lift(Mod(floor(e*10^(l-1+i)), 10^l)) prem(l)=local(i); i=0; while(!isprime(f(i, l)), i++); i for(l=1, 1000, write(indices, Str(prem(l) ", ")))

CROSSREFS

Sequence in context: A004503 A140810 A166041 * A022970 A023456 A055125

Adjacent sequences:  A115016 A115017 A115018 * A115020 A115021 A115022

KEYWORD

nonn,base

AUTHOR

Pascal Molin (colin.lampas(AT)laposte.net), Feb 23 2006

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 14 22:30 EST 2012. Contains 205678 sequences.