login
Primes that become a different prime under the mapping 0 <=> 6.
1

%I #11 Oct 29 2023 01:52:25

%S 67,103,107,163,167,307,367,401,461,503,509,563,569,601,607,613,617,

%T 619,631,641,643,647,653,659,673,683,701,709,761,769,907,967,1009,

%U 1013,1019,1021,1061,1069,1093,1097,1103,1163,1301,1307,1361,1367,1601,1609,1613

%N Primes that become a different prime under the mapping 0 <=> 6.

%H Robert Price, <a href="/A180521/b180521.txt">Table of n, a(n) for n = 1..3706</a>

%H <a href="/index/Pri#primes">Index to Primes</a>, Primes that become a different prime under some mapping.

%t fQ[n_] := Block[{id = IntegerDigits@n}, (MemberQ[id, 0] || MemberQ[id, 6]) && PrimeQ[ FromDigits[ id /. {0 -> 6, 6 -> 0}] ]]; Select[ Prime@ Range@ 300, fQ]

%Y Cf. A171028, A175791, A180517 thru A180559, A175789, A180560, A180561.

%K base,nonn

%O 1,1

%A _Zak Seidov_ and _Robert G. Wilson v_, Sep 09 2010