next-prime ( n -- p )
Prime numbers

Prev:prime? ( n -- ? )
Next:primes-upto ( n -- seq )


Vocabulary
math.primes

Inputs
nan integer


Outputs
pa prime number


Word description
Return the next prime number greater than n.

See also
prime?

Definition