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.

A180542 Primes that become a different prime under the mapping 3 <=> 6.

This page as a plain text file.
%I A180542 #14 Oct 30 2023 11:14:38
%S A180542 31,37,61,67,137,167,239,269,307,317,331,347,359,431,461,607,617,647,
%T A180542 659,661,739,769,937,967,1031,1039,1061,1069,1301,1307,1319,1321,1327,
%U A180542 1367,1399,1601,1607,1619,1621,1627,1637,1699,1831,1861,2039,2069,2131
%N A180542 Primes that become a different prime under the mapping 3 <=> 6.
%H A180542 Robert Price, <a href="/A180542/b180542.txt">Table of n, a(n) for n = 1..2796</a>
%H A180542 <a href="/index/Pri#primes">Index to Primes</a>, Primes that become a different prime under some mapping.
%t A180542 fQ[n_] := Block[{id = IntegerDigits@n}, (MemberQ[id, 3] || MemberQ[id, 6]) && PrimeQ[ FromDigits[ id /. {3 -> 6, 6 -> 3}] ]]; Select[ Prime@ Range@ 350, fQ]
%Y A180542 Cf. A171031, A175791, A180517 thru A180559, A175789, A180560, A180561.
%K A180542 base,nonn
%O A180542 1,1
%A A180542 _Zak Seidov_ and _Robert G. Wilson v_, Sep 09 2010