%I #11 Oct 30 2023 11:13:46
%S 2,5,23,29,53,59,127,157,227,241,251,263,269,271,277,293,521,541,557,
%T 563,569,571,577,593,727,757,823,827,829,853,857,859,1021,1051,1123,
%U 1153,1223,1229,1231,1249,1279,1283,1297,1423,1429,1453,1459,1531,1549
%N Primes that become a different prime under the mapping 2 <=> 5.
%H Robert Price, <a href="/A180535/b180535.txt">Table of n, a(n) for n = 1..4013</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, 2] || MemberQ[id, 5]) && PrimeQ[ FromDigits[ id /. {2 -> 5, 5 -> 2}] ]]; Select[ Prime@ Range@ 250, fQ]
%Y Cf. A171025, A175791, A180517 thru A180559, A175789, A180560, A180561.
%K base,nonn
%O 1,1
%A _Zak Seidov_ and _Robert G. Wilson v_, Sep 09 2010