OFFSET
1,1
LINKS
Robert Price, Table of n, a(n) for n = 1..3698
Index to Primes, Primes that become a different prime under some mapping.
MATHEMATICA
fQ[n_] := Block[{id = IntegerDigits@n}, (MemberQ[id, 5] || MemberQ[id, 8]) && PrimeQ[ FromDigits[ id /. {5 -> 8, 8 -> 5}] ]]; Select[ Prime@ Range@ 250, fQ]
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Zak Seidov and Robert G. Wilson v, Sep 09 2010
STATUS
approved