OFFSET
1,5
COMMENTS
The only unknown terms less than 10000, tested to 25000, are for n: 87, 5744, 8041, 9533.
For p(87)=449, the concatenation is divisible by 11 if k is odd and is divisible by 7 if k == 4 (mod 6).
LINKS
Vladimir Shevelev and Robert G. Wilson v, Table of n, a(n) for n = 1..10000 with -1 for those entries where a(n) has not yet been found.
FORMULA
a(n)=k for the least k such that p(n)*10^k+10^k-1 is prime, where p(n) is the n_th prime.
MATHEMATICA
f[n_] := Block[{k = 1, p = Prime[n]}, While[ !PrimeQ[p*10^k + 10^k - 1], k++]; k]; f[2] = 0; Array[f, 86]
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Vladimir Shevelev and Robert G. Wilson v, Apr 24 2015
EXTENSIONS
a(87) from Eric Chen, Apr 24 2015
STATUS
approved