next-prime ( n -- p )
Prime numbers

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


Vocabulary
math.primes

Inputs and outputs
nan integer
pa prime number


Word description
Return the next prime number greater than n.

See also
prime?

Definition