10 November 2004

Prime geek

Steve Litt at Troubleshooters.com has this page where he presents an algorithm for calculating prime numbers and then steps through optimizations. The algorithm is in C (very well written) with explanations for each step.

The /. article has some further comments on Litt's code along with some useful links.

[ via /. -> Fun With Prime Numbers ]

[ posted by sstrader on 10 November 2004 at 1:14:05 AM in Programming ]