An emirp is a prime that remains prime when its digits are reversed. Palindromic primes are excluded as the reversed number must be different from the original. For example, 13 and 17 are both emirps because 31 and 71 are prime. Another way to phrase this is say that:
An emirp is a number with one prime factor (itself) such that its reverse (a different number) also only has one factor.
This definition allows for a generalisation and a special class of numbers arises, namely:
Numbers withprime factors, counting multiplicity, such that their reversals are different numbers and also contain prime factors, counting multiplicity.
It's easy to set up an algorithm to determine all such numbers in a given range for various values of
For
When
number factor reverse factor
8820 2^2 * 3^2 * 5 * 7^2 288 2^5 * 3^2
21240 2^3 * 3^2 * 5 * 59 4212 2^2 * 3^4 * 13
21708 2^2 * 3^4 * 67 80712 2^3 * 3^2 * 19 * 59
21780 2^2 * 3^2 * 5 * 11^2 8712 2^3 * 3^2 * 11^2
21920 2^5 * 5 * 137 2912 2^5 * 7 * 13
23280 2^4 * 3 * 5 * 97 8232 2^3 * 3 * 7^3
23472 2^4 * 3^2 * 163 27432 2^3 * 3^3 * 127
23625 3^3 * 5^3 * 7 52632 2^3 * 3^2 * 17 * 43
23800 2^3 * 5^2 * 7 * 17 832 2^6 * 13
25560 2^3 * 3^2 * 5 * 71 6552 2^3 * 3^2 * 7 * 13
25584 2^4 * 3 * 13 * 41 48552 2^3 * 3 * 7 * 17^2
25758 2 * 3^5 * 53 85752 2^3 * 3^3 * 397
26280 2^3 * 3^2 * 5 * 73 8262 2 * 3^5 * 17
27432 2^3 * 3^3 * 127 23472 2^4 * 3^2 * 163
27504 2^4 * 3^2 * 191 40572 2^2 * 3^2 * 7^2 * 23
27888 2^4 * 3 * 7 * 83 88872 2^3 * 3 * 7 * 23^2
27900 2^2 * 3^2 * 5^2 * 31 972 2^2 * 3^5
28836 2^2 * 3^4 * 89 63882 2 * 3^3 * 7 * 13^2
29250 2 * 3^2 * 5^3 * 13 5292 2^2 * 3^3 * 7^2
29403 3^5 * 11^2 30492 2^2 * 3^2 * 7 * 11^2
29736 2^3 * 3^2 * 7 * 59 63792 2^4 * 3^2 * 443
29970 2 * 3^4 * 5 * 37 7992 2^3 * 3^3 * 37
30492 2^2 * 3^2 * 7 * 11^2 29403 3^5 * 11^2
34884 2^2 * 3^3 * 17 * 19 48843 3^6 * 67
36828 2^2 * 3^3 * 11 * 31 82863 3^5 * 11 * 31
For
number factor reverse factor
16560 2^4 * 3^2 * 5 * 23 6561 3^8
25515 3^6 * 5 * 7 51552 2^5 * 3^2 * 179
27864 2^3 * 3^4 * 43 46872 2^3 * 3^3 * 7 * 31
For number factor reverse factor 21168 2^4 * 3^3 * 7^2 86112 2^5 * 3^2 * 13 * 23 23424 2^7 * 3 * 61 42432 2^6 * 3 * 13 * 17 23616 2^6 * 3^2 * 41 61632 2^6 * 3^2 * 107 27456 2^6 * 3 * 11 * 13 65472 2^6 * 3 * 11 * 31