is.prime(n) returns TRUE if n is a prime number,
and FALSE otherwise.
primefactors(n) factorises the integer n
into its prime number factors, and returns an integer vector
containing these factors. Some factors may be repeated.
divisors(n) finds all the integers which divide
the integer n, and returns them as a sorted vector of integers
(beginning with 1 and ending with n).
relatively.prime(n, m) returns TRUE if the integers
n and m are relatively prime, that is, if they have no
common factors.
least.common.multiple and greatest.common.divisor
return the least common multiple or greatest common divisor of two
integers n and m.
primesbelow(nmax) returns an integer vector containing all the
prime numbers less than or equal to nmax.