Loading ...
Sorry, an error occurred while loading the content.

RE need help

Expand Messages
  • Norman Luhn
    Hello Burlacu ! The 10^9th prime is 22,801,763,489. The best is, you generate yourself all primes with a program. I think it takes not more than any hours, but
    Message 1 of 1 , Dec 3, 2005
    • 0 Attachment
      Hello Burlacu !

      The 10^9th prime is 22,801,763,489.

      The best is, you generate yourself all primes with a
      program.
      I think it takes not more than any hours, but the file
      is very large. Here a trick. This I used years ago for
      any projects.

      Every new 10^8 you write the prime in full length in
      your file. The other primes you 'encode'. I mean , you
      write just the difference to next prime in list. Here
      an small example.

      Start with 2 then 1, 3, ...,1009,4,8,....
      Decode: 2,3,5...1009,1013,1021,...

      The file is perhaps <1 GB and you can restore all
      primes for your project.


      Norman






      ___________________________________________________________
      Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de
    Your message has been successfully submitted and would be delivered to recipients shortly.