%I #11 Oct 30 2023 17:12:06
%S 157,167,457,467,541,547,563,569,577,641,647,653,659,677,751,761,853,
%T 863,1051,1061,1153,1163,1553,1559,1567,1597,1657,1663,1669,1697,2053,
%U 2063,2521,2593,2621,2693,2851,2861,2953,2963,3457,3467,3517,3571,3617
%N Primes that become a different prime under the mapping 5 <=> 6.
%H Robert Price, <a href="/A180551/b180551.txt">Table of n, a(n) for n = 1..2080</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, 5] || MemberQ[id, 6]) && PrimeQ[ FromDigits[ id /. {5 -> 6, 6 -> 5}] ]]; Select[ Prime@ Range@ 510, fQ]
%Y Cf. A171033, A175791, A180517 thru A180559, A175789, A180560, A180561.
%K base,nonn
%O 1,1
%A _Zak Seidov_ and _Robert G. Wilson v_, Sep 09 2010
|