nextPrime

vCalc Reviewed
Equation / Last modified by KurtHeckman on 2014/10/24 19:50
`"Result" = `
Rating
ID
vCalc.nextPrime
UUID
cd11ec84-4a5b-11e4-a9fb-bc764e2038f2

Given a number, this function returns the next prime number.

Prime Numbers

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.