OFFSET
1,1
EXAMPLE
314 is a member of this sequence because 314987654321 is prime.
PROG
(Python)
from sympy import isprime
{print(n, end=', ') for n in range(2000) if isprime(int(str(n)+"987654321"))}
# Simplified by Derek Orr, Apr 10 2015
(PARI) for(n=1, 2000, if(isprime(eval(concat(Str(n), "987654321"))), print1(n, ", "))) \\ Derek Orr, Apr 10 2015
(Magma) [n: n in [0..1000] | IsPrime(Seqint(Intseq(987654321) cat Intseq(n)))]; // Vincenzo Librandi, Apr 11 2015
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Derek Orr, Nov 29 2013
EXTENSIONS
More terms from Derek Orr, Apr 10 2015
STATUS
approved