# Macro Library primes

Prime numbers, Version 1.0 Feb 11, 2009

- getprime
- getprimes
- isprime

### getprime

getprime([digits])
returns a prime number.
if digits is specified, returns a prime with that many digits. 1 to 6 is supported

### getprimes

getprimes(n,[digits])
returns n different prime numbers.
if digits is specified, returns primes with that many digits. 1 to 6 is supported

### isprime

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.