OFFSET
1,2
LINKS
Jens Kruse Andersen, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = A073303(n) + 1. - Michel Marcus, May 29 2014
MATHEMATICA
Flatten[Position[ Map[If[PrimeQ[ # ], "*", # ] &, RealDigits[ N[Pi, 100]][[1]]], "*"]]
Select[ Range@ 166, PrimeQ[ RealDigits[Pi, 10, 166][[1, # ]]] &] (* Robert G. Wilson v, Dec 21 2008 *)
Flatten[Position[RealDigits[Pi, 10, 200][[1]], _?PrimeQ]] (* Harvey P. Dale, Mar 22 2015 *)
PROG
(PARI) \p 1000
p=Vec(Str(Pi/10)); for(n=1, #p-9, if(isprime(eval(p[n+2])), print1(n", "))) \\ Jens Kruse Andersen, Jul 23 2014
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Julio Cesar de la Yncera, Dec 17 2008
EXTENSIONS
More concise Mathematica coding added and sequence extended by Robert G. Wilson v, Dec 21 2008
STATUS
approved