An emirp (pronounced /ˈiːmərp/ or /ˈɛmərp/, an anadrome of prime) is a prime number that results in a different prime when its decimal digits (digits in base 10) are reversed. This definition excludes the related palindromic primes. The term reversible prime has been used for the union of the emirps and palindromic primes.
The first few emirps are
The first few reversible primes are
The difference between an emirp and its reversal is always a multiple of 18. It is divisible by 2 because both are odd, and the difference between any number and its reversal is divisible by 9. (This follows digit-by-digit as a consequence of being a multiple of 9 for every non-negative integer ).
All non-palindromic permutable primes are emirps.
It is not known whether there are infinitely many emirps. The largest known emirp as of April 19, 2026 is 10111956 - 7 × 1053855 - 1 by Ryan Propper and Serge Batalov. The integer's reverse is 10111956 - 7 × 1058100 - 1.
The term "emirp" was coined by American mathematician Jeremiah Farrell.
The following table shows the number of n-digit emirps and reversible primes: (sequences A152014 and A048054 in the OEIS)
| n | Count of n-digit emirps | Count of n-digit reversible primes |
|---|---|---|
| 1 | 0 | 4 |
| 2 | 8 | 9 |
| 3 | 28 | 43 |
| 4 | 204 | 204 |
| 5 | 1406 | 1499 |
| 6 | 9538 | 9538 |
| 7 | 70474 | 71142 |
| 8 | 535578 | 535578 |
| 9 | 4192024 | 4197196 |
| 10 | 33619380 | 33619380 |
| 11 | 274890230 | 274932272 |
| 12 | 2294771254 | 2294771254 |
| 13 | 19489532362 | 19489886063 |
| 14 | 167630912672 | 167630912672 |
| 15 | 1456473362820 | 1456476399463 |
The number of n-digit reversible primes is equal to the number of n-digit emirps plus the number of n-digit palindromic primes.
The following table shows the largest known emirps throughout the years:
| Number | Reverse | Digits | Date found | Discoverer |
|---|---|---|---|---|
| 101708 + 2047101 × 10851 + 1 | 101708 + 1017402 × 10851 + 1 | 1709 | 1997 | H. Dubner |
| 7894807 × 101993 + 1 | 101999 + 7084987 | 2000 | June 2001 | Carlos Rivera |
| 103929 - 571624798 × 101960 - 1 | 103929 - 897426175 × 101960 - 1 | 3929 | June 2003 | J. K. Andersen |
| 1010006 + 941992101 × 104999 + 1 | 1010006 + 101299149 × 104999 + 1 | 10007 | October 2007 | J. K. Andersen |
| 3867632931 × 1010001 + 1 | 1010010 + 1392367683 | 10011 | February 16, 2026 | Stephan Schöler |
| 117954861 × 1011111 + 1 | 1011119 + 168459711 | 11120 | March 12, 2026 | Mykola Kamenyuk |
| 989263739 × 1015298 + 111258179 | 971852111 × 1015298 + 937362989 | 15307 | March 17, 2026 | Simon Cavegn |
| 1020000 + 518406362 × 109996 + 1 | 1020000 + 263604815 × 109996 + 1 | 20001 | March 19, 2026 | Unknown |
| 1047253 - 22 × 1021607 - 1 | 1047253 - 22 × 1025644 - 1 | 47253 | March 27, 2026 | Serge Batalov |
| 1077763 - 4 × 1025683 - 1 | 1077763 - 4 × 1052079 - 1 | 77763 | April 6, 2026 | Ryan Propper and Serge Batalov |
| 10111956 - 7 × 1053855 - 1 | 10111956 - 7 × 1058100 - 1 | 111956 | April 19, 2026 | Ryan Propper and Serge Batalov |
Emirps also exist for bases other than 10. For example, 101112 = 23 is an emirp in the binary numeral system because 23 is a prime and its reverse 111012 = 29 is also a prime.
The first few binary emirps are
Dartyge et al. (2023) have shown that, in big-O notation, the number of n-digit reversible primes in binary is .
They also conjecture that the number of n-digit reversible primes in binary is as n goes large.
The term emirpimes (singular) is used also in places to treat semiprimes in a similar way. That is, an emirpimes is a semiprime that is also a (distinct) semiprime upon reversing its digits.
The first few emirpimeses are