Input a prime number to determine if its reversed digits form another prime, or specify a range to generate all emirp numbers within that range.
Emirp Check or Generate
Result
Result
What Is an Emirp?
An emirp is a prime number that remains prime when its decimal digits are reversed. For example, 17 is a prime number. When its digits are reversed, it becomes 71, which is also a prime. Therefore, 17 is an emirp.
How to Check If a Number Is an Emirp
Check If the Number Is a Prime: A number is considered prime if it is greater than 1 and divisible only by 1 and itself.
Reverse the Digits: Reverse the order of the number's digits to create a new number.
Check If the Reversed Number Is Prime: Verify if the reversed number is greater than 1 and divisible only by 1 and itself. If the reversed number is also prime, the original number is an emirp.