login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A065596
The first n binary digits found in decimal expansion of e form a prime.
0
2, 9, 11, 24, 28, 30, 114, 253, 359, 2054, 2324, 9418
OFFSET
1,1
MATHEMATICA
p = First[ RealDigits[ E, 10, 10^5]]; p = p[[ Select[ Range[10^5], p[[ # ]] == 0 || p[[ # ]] == 1 &]]]; Do[ If[ PrimeQ[ FromDigits[ Take[p, n], 2]], Print[n]], {n, 1, 12800} ]
CROSSREFS
Sequence in context: A042463 A081613 A115911 * A280418 A042053 A134775
KEYWORD
base,nonn
AUTHOR
Robert G. Wilson v, Dec 01 2001
STATUS
approved