OFFSET
1,2
COMMENTS
Let w_k = (p_1)0(p_2)0(p_3)...0(p_k), where p_i is the i-th prime. k is a term if w_k is prime.
a(7) > 2615. - Derek Orr, Aug 12 2014
a(7) > 15000. - Michael S. Branicky, May 07 2025
EXAMPLE
a(1) = 2 is a term because the first prime by itself, p_1 = 2, is prime.
a(2) = 9 because the concatenation of the first 9 primes separated by zeros is (p_1)0(p_2)0..0(p_9) = 2030507011013017019023, which is prime.
MATHEMATICA
Select[Range[450], PrimeQ[FromDigits[Flatten[IntegerDigits/@Riffle[ Prime[ Range[ #]], 0]]]]&] (* Harvey P. Dale, Feb 28 2020 *)
PROG
(PARI)
p=""; for(n=1, 5000, p=concat(p, "0"); p=concat(p, Str(prime(n))); if(ispseudoprime(eval(p)), print1(n, ", "))) \\ Derek Orr, Aug 12 2014
CROSSREFS
KEYWORD
nonn,base,hard,more
AUTHOR
Farideh Firoozbakht, May 03 2003
STATUS
approved
