cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A180525 Primes that become a different prime under the mapping 1 <=> 2.

This page as a plain text file.
%I A180525 #11 Oct 29 2023 16:11:19
%S A180525 13,19,23,29,113,139,157,163,193,223,239,257,263,293,919,929,1019,
%T A180525 1039,1063,1069,1087,1103,1123,1187,1193,1223,1237,1279,1399,1427,
%U A180525 1447,1459,1543,1549,1579,1609,1627,1657,1663,1693,1699,1723,1753,1777,1789,1879
%N A180525 Primes that become a different prime under the mapping 1 <=> 2.
%H A180525 Robert Price, <a href="/A180525/b180525.txt">Table of n, a(n) for n = 1..2366</a>
%H A180525 <a href="/index/Pri#primes">Index to Primes</a>, Primes that become a different prime under some mapping.
%t A180525 fQ[n_] := Block[{id = IntegerDigits@n}, (MemberQ[id, 1] || MemberQ[id, 2]) && PrimeQ[ FromDigits[ id /. {1 -> 2, 2 -> 1}] ]]; Select[ Prime@ Range@ 300, fQ]
%Y A180525 Cf. A171015, A175791, A180517 thru A180559, A175789, A180560, A180561.
%K A180525 base,nonn
%O A180525 1,1
%A A180525 _Zak Seidov_ and _Robert G. Wilson v_, Sep 09 2010