Previous Up Next

2.6.19  The n-th prime number : ithprime

ithprime(n) returns the n-th prime number less than 10000 (current limitation).
Input :

ithprime(75)

Output :

379

Input :

ithprime(1229)

Output :

9973

Input :

ithprime(1230)

Output :

ithprime(1230)

because ithprime(1230) is greater than 10000.


Previous Up Next