OFFSET
1,8
COMMENTS
Conjecture: for n>=4, a(n)>0.
Records >=1: 1,2,4,7,8,34,... correspond to primes 7,19,41,127,157,443,...
LINKS
Peter J. C. Moses, Table of n, a(n) for n = 1..2000
EXAMPLE
For n<=3, a(n) = 0, because 3..32, 3..33 and 3..35 can never be prime, whatever the number of 3's that are concatenated.
For n=4, prime(n)=7, 37 is prime. So a(4)=1.
PROG
(PARI) a(n) = {if (n<=3, return (0)); p = prime(n); k = 1; while (! isprime(p = eval(concat("3", Str(p)))), k++); k; } \\ Michel Marcus, Sep 17 2014
CROSSREFS
KEYWORD
nonn
AUTHOR
Vladimir Shevelev, Sep 13 2014
EXTENSIONS
More terms from Peter J. C. Moses, Sep 14 2014
STATUS
approved