login

Revision History for A006567

(Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

Showing entries 1-10 | older changes
Emirps (primes whose reversal is a different prime).
(history; published version)
#81 by Joerg Arndt at Mon Oct 02 02:39:02 EDT 2023
STATUS

reviewed

approved

#80 by Michel Marcus at Mon Oct 02 02:35:57 EDT 2023
STATUS

proposed

reviewed

#79 by Amiram Eldar at Mon Oct 02 02:20:33 EDT 2023
STATUS

editing

proposed

#78 by Amiram Eldar at Mon Oct 02 02:16:36 EDT 2023
COMMENTS

The term "emirp" was coined by the American mathematician Jeremiah Farrell (b. 1937-2022). - Amiram Eldar, Jun 11 2021

STATUS

approved

editing

#77 by Charles R Greathouse IV at Mon Apr 03 10:36:09 EDT 2023
LINKS

Chris K. Caldwell, The Prime Glossary, <a href="httphttps://primes.utmt5k.eduorg/glossary/page.php?sort=emirp">emirp</a>.

Discussion
Mon Apr 03
10:36
OEIS Server: https://oeis.org/edit/global/2966
#76 by Charles R Greathouse IV at Thu Sep 08 08:44:35 EDT 2022
PROG

(MAGMAMagma) [ n : n in [1..1194] | n ne rev and IsPrime(n) and IsPrime(rev) where rev is Seqint(Reverse(Intseq(n))) ]; // Sergei Haller (sergei(AT)sergei-haller.de), Dec 21 2006

Discussion
Thu Sep 08
08:44
OEIS Server: https://oeis.org/edit/global/2944
#75 by Alois P. Heinz at Thu Jul 28 18:34:40 EDT 2022
STATUS

proposed

approved

#74 by Michael S. Branicky at Thu Jul 28 16:07:44 EDT 2022
STATUS

editing

proposed

#73 by Michael S. Branicky at Thu Jul 28 16:06:54 EDT 2022
PROG

from sympy import isprime, nextprime

#72 by Michael S. Branicky at Thu Jul 28 16:05:49 EDT 2022
PROG

from sympy import isprime, nextprime

p = nextprime(start-1)

while p <= end:

revp s = int(str(p)[::-1])

if s[0] in "24568":

p = nextprime((int(s[0])+1)*10**(len(s)-1)); continue

revp = int(s[::-1])

if p != revp and isprime(revp): yield p

p = nextprime(p)

print(list(emirps(end=1201))) # Michael S. Branicky, Jan 24 2021, updated Jul 28 2022

STATUS

approved

editing