Upload_transparent

Fun With Prime Numbers

 
 
 
 
 
Download PDF FREE
bagsta

by bagsta

Value This
Doc
Scribd
Average
     
Pages: 23 43
Words: 13138 13640
Characters: 88802 81678
Lines: 477 623
     
     
Letters per word: 6.76 5.99
Words per line: 27.54 21.89
Words per page: 571.22 317.21

Add to your reading list

Flag_red Flag this document

Document Information

782 Reads | 0 Comments

Description

What was the name of that 1983 Cyndi Lauper hit? "Geeks Just Want To Have Fun"?

This document has absolutely no redeeming social value. The prime number algorithms you find in this document won't break any records. If you want a REALLY fast prime algorithm, they're scattered all over the net.

This document contains a bunch of programs to figure out prime numbers. The first rendition requires 1:23 (one minute 23 seconds) to calculate all primes below ten million. From there, improvements are made, dead ends are explored and backed out of, leading to the final version, which finds all primes below 40 billion in less than 4 hours, and can find all primes below 100 million in less than 13 seconds. From there, if you really enjoy prime numbers, you can venture out on the net to find truly optimized algorithms.

But meantime, have fun!

Pdf_16x16 23 Pages


Date Added

11/14/2008

Category
Tags
Groups
Copyright

Attribution Non-commercial

More info »

 

or use Facebook Connect