OFFSET
1,3
EXAMPLE
(10^1)*2 -1 = 19 prime so k(1)=1.
(10^1)*6 -1 = 59 prime so k(2)=1.
(10^2)*30 -1 = 2999 prime so k(3)=2.
PROG
(PARI) a(n) = {prd = prod(i=1, n, prime(i)); k = 1; while (!isprime(10^k*prd-1), k++); k; } \\ Michel Marcus, Aug 06 2014
CROSSREFS
KEYWORD
nonn
AUTHOR
Pierre CAMI, Dec 15 2004
EXTENSIONS
Corrected by Michel Marcus, Aug 06 2014
STATUS
approved