Can I see someone's solution to ps01a? The 1000th prime number one.
Maybe this will help you Also pls see http://en.wikipedia.org/wiki/Trial_division it maybe useful too
Here is my solution. It is very similar to chipmunk's, as a matter of fact his answer helped me to solve this, but I made some minor changes :) Hope that this will help someone, since I spent a lot of time on this trying to figure this out :(
here is my solution. i think it's totally different from th other guys. i have used the len function on the tolupe to decide the 1000th prime...i have done it after the 3rd lecture by the way
http://dpaste.com/hold/563189/ here is the link in case u cant open the text file.. thats linux compatible only :(
Join our real-time social learning platform and learn together with your friends!