7.1.17 The
n
th pseudo-prime number
The
ithprime
command finds pseudo-primes.
ithprime
takes
n
, a positive integer.
ithprime(
n
)
returns the
n
th pseudo-prime number.
Examples
ithprime
(75)
379
ithprime
(
k
)
$
(
k
=1..20)
2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71