OFFSET
1,3
COMMENTS
Differs from A104842 in a(22), a(43), a(55),..., because here, leading zeros are not allowed.
The corresponding primes are listed in A104841.
Among the first 99 terms, even though values up to 825 occur, the values 1 and 17 occur 4 times, 12 and 57 occur 3 times, and numbers as large as 82, 164, 167 and 234 occur twice.
LINKS
Michael S. Branicky, Table of n, a(n) for n = 1..1000 (terms 1..162 from M. F. Hasler)
EXAMPLE
MATHEMATICA
With[{pd=RealDigits[Pi, 10, 1000][[1]]}, Table[Position[Partition[pd, n, 1], _?(PrimeQ[FromDigits[#]]&&#[[1]]!=0&), {1}, 1, Heads->False], {n, 60}]]// Flatten (* Harvey P. Dale, Apr 25 2016 *)
PROG
CROSSREFS
KEYWORD
nonn,base
AUTHOR
M. F. Hasler, Oct 23 2011
STATUS
approved