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.

A180531 Primes that become a different prime under the mapping 1 <=> 8.

This page as a plain text file.
%I A180531 #11 Oct 29 2023 16:10:16
%S A180531 13,19,83,89,109,113,127,139,157,163,313,383,613,683,809,827,839,857,
%T A180531 863,883,1009,1019,1039,1069,1087,1093,1103,1117,1163,1193,1217,1237,
%U A180531 1289,1297,1319,1423,1429,1447,1489,1543,1583,1597,1609,1619,1627,1663
%N A180531 Primes that become a different prime under the mapping 1 <=> 8.
%H A180531 Robert Price, <a href="/A180531/b180531.txt">Table of n, a(n) for n = 1..2555</a>
%H A180531 <a href="/index/Pri#primes">Index to Primes</a>, Primes that become a different prime under some mapping.
%t A180531 fQ[n_] := Block[{id = IntegerDigits@n}, (MemberQ[id, 1] || MemberQ[id, 8]) && PrimeQ[ FromDigits[ id /. {1 -> 8, 8 -> 1}] ]]; Select[ Prime@ Range@ 265, fQ]
%Y A180531 Cf. A171042, A175791, A180517 thru A180559, A175789, A180560, A180561.
%K A180531 base,nonn
%O A180531 1,1
%A A180531 _Zak Seidov_ and _Robert G. Wilson v_, Sep 09 2010