nth prime - part-cw/lambdanative GitHub Wiki

(nth-prime n)

Returns the nth prime, with 2 being the 0th prime.

Parameter Description
n integer

Example

> (nth-prime 5)
13