1 //-----------------------------------------------------------------------------
3 // Look up the nth prime
5 // Input: n on stack (0 < n < 10001)
7 // Output: nth prime on stack
9 //-----------------------------------------------------------------------------
27 if (n
< 1 || n
> MAXPRIMETAB
)
28 stop("prime: Argument out of range.");