View Single Post
Old 2006-01-03, 21:35   #4
akruppa's Avatar
Aug 2002

1001101000112 Posts

There isn't much point in storing a list of prime numbers. They can be generated much more quickly than such a list could be transferred over a network. Look for Bernstein's primegen library, afaik it can generate primes up to about 10^18. There are about 24*10^15 primes below 10^18, so keeping them in a database is out of the question.

akruppa is offline   Reply With Quote