OFFSET
1,2
EXAMPLE
8 is a term because nextprime(8) = 11 and 811 is prime.
MATHEMATICA
Select[Range[0, 250], PrimeQ@FromDigits@Flatten[IntegerDigits/@{#, NextPrime@#}]&] (* Giorgos Kalogeropoulos, Jul 30 2021 *)
PROG
(PARI) isok(m) = isprime(eval(Str(m, nextprime(m+1)))); \\ Michel Marcus, Oct 03 2014 and Jul 30 2021
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Patrick De Geest, Oct 15 1998
STATUS
approved
