chickadee » math » nth-prime

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