Re: prime number table

2010-09-21 Thread Elim PDT
for descript is a great idea. thanks again! - Original Message - From: Chris W 4rfv...@cox.net To: Elim PDT e...@pdtnetworks.net Cc: mysql@lists.mysql.com Sent: Saturday, September 18, 2010 6:57 AM Subject: Re: prime number table Keep in mind that to store a number as a 32 bit unsigned

Re: prime number table

2010-09-18 Thread Chris W
Keep in mind that to store a number as a 32 bit unsigned integer takes 4 bytes of data no matter how small or large that number is as long as it is less than 4,294,267,296. If you store numbers as a string like it is in your file it takes 8 bits per digit so for 19,999,999 it would take 8

prime number table

2010-09-17 Thread Elim PDT
I got a file of the list of the 1st 1270607 prime numbers (the 1270607th prime is 1999, beat the $227 book at http://www.amazon.com/prime-numbers-Carnegie-institution-Washington/dp/B0006AH1S8). the file is an output of a python script. the file size is about 12Mb. Then I created a simeple

RE: prime number table

2010-09-17 Thread Gavin Towey
Subject: prime number table I got a file of the list of the 1st 1270607 prime numbers (the 1270607th prime is 1999, beat the $227 book at http://www.amazon.com/prime-numbers-Carnegie-institution-Washington/dp/B0006AH1S8). the file is an output of a python script. the file size is about 12Mb