Ask your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW) 11 Online
OpenStudy (anonymous):

Can I see someone's solution to ps01a? The 1000th prime number one.

OpenStudy (anonymous):

OpenStudy (anonymous):

This is what I came up with http://dpaste.com/560941/

OpenStudy (anonymous):

Maybe this will help you Also pls see http://en.wikipedia.org/wiki/Trial_division it maybe useful too

OpenStudy (anonymous):

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 :(

OpenStudy (anonymous):

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

OpenStudy (anonymous):

http://dpaste.com/hold/563189/ here is the link in case u cant open the text file.. thats linux compatible only :(

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!