login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A180547 Primes that become a different prime under the mapping 4 <=> 6. 1
41, 47, 61, 67, 347, 367, 401, 419, 431, 461, 463, 467, 491, 601, 619, 631, 641, 643, 647, 691, 947, 967, 1049, 1069, 1409, 1427, 1447, 1493, 1499, 1609, 1627, 1667, 1693, 1699, 1847, 1867, 2141, 2161, 2417, 2459, 2467, 2477, 2617, 2647, 2659, 2677, 3041 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
Index to Primes, Primes that become a different prime under some mapping.
MATHEMATICA
fQ[n_] := Block[{id = IntegerDigits@n}, (MemberQ[id, 4] || MemberQ[id, 6]) && PrimeQ[ FromDigits[ id /. {4 -> 6, 6 -> 4}] ]]; Select[ Prime@ Range@ 440, fQ]
dpQ[n_]:=(DigitCount[n, 10, 4]>0 || DigitCount[n, 10, 6]>0)&&PrimeQ[ FromDigits[ IntegerDigits[n]/.{4->a, 6->b}/.{a->6, b->4}]]; Select[ Prime[ Range[500]], dpQ](* Harvey P. Dale, Feb 28 2022 *)
CROSSREFS
Sequence in context: A158847 A159023 A136294 * A329446 A243460 A186280
KEYWORD
base,nonn
AUTHOR
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 18 11:42 EDT 2024. Contains 371779 sequences. (Running on oeis4.)