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

1001101000112 Posts
Default

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.

Alex
akruppa is offline   Reply With Quote