A prime number is a natural number greater than 1 that has no positive divisors other than 1 and itself.
The calculator test the number is or not a prime number. At the same time it give the nearest higher prime number and nearest smaller prime number.
For example, Enter a number 20, it isn't a prime number. the next prime number is 23, the previous is 19.