Given a number, this function returns the next prime number.
A prime numbers is a positive (greater than zero) integer that has no factors except one and its self. This function lets you enter any integer and it provides the next prime number greater than the value entered.
The first prime numbers are 2,3,5,7,11,13,17,19.23,29,31,37, and so on.