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
KEYWORD
base,nonn
AUTHOR
Robert G. Wilson v, Dec 01 2001
STATUS
approved