login
A180518
Primes that become a different prime under the mapping 0 <=> 3.
1
37, 101, 107, 109, 131, 137, 139, 307, 311, 317, 337, 347, 359, 367, 379, 389, 397, 401, 409, 431, 439, 601, 631, 709, 739, 809, 839, 907, 937, 1019, 1021, 1031, 1061, 1201, 1231, 1301, 1319, 1321, 1361, 1409, 1439, 1607, 1637, 1801, 1831, 1901, 1931, 2011
OFFSET
1,1
LINKS
Index to Primes, Primes that become a different prime under some mapping.
MATHEMATICA
fQ[n_] := Block[{id = IntegerDigits@n}, (MemberQ[id, 0] || MemberQ[id, 3]) && PrimeQ[ FromDigits[ id /. {0 -> 3, 3 -> 0}] ]]; Select[ Prime@ Range@ 350, fQ]
dp03Q[n_]:=Module[{c=FromDigits[IntegerDigits[n]/.{0->3, 3->0}]}, c!=n && PrimeQ[ c]]; Select[Prime[Range[350]], dp03Q] (* Harvey P. Dale, Oct 16 2016 *)
CROSSREFS
KEYWORD
base,nonn
AUTHOR
STATUS
approved