OFFSET
1,1
COMMENTS
The least significant digit of a(n) is either 7 or 9. - Colin Barker, Aug 03 2014
The smallest nonzero digit of a(n) is 2, 4, 6 or 8. - Colin Barker, Aug 04 2014
LINKS
Jens Kruse Andersen, Table of n, a(n) for n = 1..10000
EXAMPLE
607 is in the sequence because 607 + 6 = 613, which is prime.
PROG
(PARI) select(p->v=vecsort(digits(p), , 8); isprime(p+v[1+!v[1]]), primes(2000))
(Magma) [p: p in PrimesUpTo(7000) | IsPrime(p+d) where d is [i: i in Set(Intseq(p)) | not IsZero(i)][1]]; // Bruno Berselli, Jul 31 2014
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Colin Barker, Jul 31 2014
STATUS
approved