NEXTPRIME function

Description

NEXTPRIME(x) returns the first prime number larger than x. The argument x must be less than 999999999989 (the largest prime MedCalc will detect).

Examples

NEXTPRIME(19) returns 23

Calculator

NEXTPRIME()

Related functions

External links