NextPrime 命令

NextPrime( <Number> )

返回大于输入数字的最小质数。

NextPrime(10000) 得出 10007 .

参见 PreviousPrime .