Macro Library primes
Prime numbers, Version 1.0 Feb 11, 2009
getprime([digits])
returns a prime number.
if digits is specified, returns a prime with that many digits. 1 to 6 is supported
getprimes(n,[digits])
returns n different prime numbers.
if digits is specified, returns primes with that many digits. 1 to 6 is supported
isprime(n)
returns true or false, indicating if n is prime.
Only works for whole numbers less than 1,000,000.
If you need a prime number, use getprime instead.