`prime', `lprime'
-----------------

prime(INDEX)

lprime(INDEX)
     :: Returns a prime number.

RETURN
     integer

INDEX
     integer

   * The two functions, `prime()' and `lprime()', returns an element
     stored in the system table of prime numbers.  Here, `index' is a
     non-negative integer and be used as an index for the prime tables.
     The function `prime()' can return one of 1900 primes up to 16381
     indexed so that the smaller one has smaller index.  The function
     `lprime()' can return one of 999 primes which are 8 digit sized
     and indexed so that the larger one has the smaller index.  The two
     function always returns 0 for other indices.

   * For more general function for prime generation, there is a `PARI'
     function

     `pari(nextprime,NUMBER)'.

     [95] prime(0);
     2
     [96] prime(1228);
     9973
     [97] lprime(0);
     99999989
     [98] lprime(999);
     0

References
     *Note `pari': pari.

