On Mon, Jun 14, 2010 at 7:16 AM, Red Roo <redrooz@yahoo.com> wrote:

> Looking for a recommended package that handles prime number computations.
>

The gmp package (http://crantastic.org/packages/gmp) has some good tools for
prime numbers. I've used the is.prime function before; it's stochastic (in
the sense that it gives the right answer with a high probability), but very
fast for large numbers. I'm pretty sure there are exact functions for
testing and generating primes too.

# David Smith

-- 
David M Smith <david@revolutionanalytics.com>
VP of Marketing, Revolution Analytics  http://blog.revolutionanalytics.com
Tel: +1 (650) 330-0553 x205 (Palo Alto, CA, USA)

	[[alternative HTML version deleted]]

