login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A180531
Primes that become a different prime under the mapping 1 <=> 8.
1
13, 19, 83, 89, 109, 113, 127, 139, 157, 163, 313, 383, 613, 683, 809, 827, 839, 857, 863, 883, 1009, 1019, 1039, 1069, 1087, 1093, 1103, 1117, 1163, 1193, 1217, 1237, 1289, 1297, 1319, 1423, 1429, 1447, 1489, 1543, 1583, 1597, 1609, 1619, 1627, 1663
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, 1] || MemberQ[id, 8]) && PrimeQ[ FromDigits[ id /. {1 -> 8, 8 -> 1}] ]]; Select[ Prime@ Range@ 265, fQ]
CROSSREFS
KEYWORD
base,nonn
AUTHOR
STATUS
approved