- nth-prime nprocedure
- n
- integer
Returns the nth positive prime; n must be nonnegative.
> (nth-prime 0) 2 > (nth-prime 1) 3 > (nth-prime 2) 5
Returns the nth positive prime; n must be nonnegative.
> (nth-prime 0) 2 > (nth-prime 1) 3 > (nth-prime 2) 5