Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Fast prime numbers in Python

I spent some time recently on Project Euler and got side-tracked by the efficient calculation of Prime Numbers. After using a brute force method (iterating through a range of numbers and trying to find their factors), I read around and found a nice page at http://rebrained.com/?p=458, I found a good Stack Overflow page at http://stackoverflow.com/questions/2068372/



This post first appeared on Thought Into Design, please read the originial post: here

Share the post

Fast prime numbers in Python

×

Subscribe to Thought Into Design

Get updates delivered right to your inbox!

Thank you for your subscription

×