Calculate n Prime Numbers
Category:
Dates and MathType:
SnippetsDifficulty:
BeginningAuthor:
Jason DickinsonVersion Compatibility:
More information:
This package includes a function that will calculate n prime numbers, and a demo project that uses the function. I calculated 100,000 prime numbers in 56 minutes on a 500mhz pentium 3. The code is documented and explains carefully exactly how the algorithm works.
Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.
Download prime_calculator.zip