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

Has anybody tried to do a prime number generator using the sieve of Atkin or Eratsothenes?

OpenStudy (anonymous):

If you google sieve of erastothenes python, you can find a lot of examples.

OpenStudy (anonymous):

Thanks. I have been looking. I think that writing a code for that is a lot harder than PS1

OpenStudy (anonymous):

I believe it is quite a bit harder. I looked at a few of the examples and they all require more code than my solution to ps1 did.

OpenStudy (anonymous):

I read a site somewhere a long time ago where a guy was comparing a bunch of different strategies for detecting primes, and it turned out the Sieve of Eratosthenes was the most efficient.

OpenStudy (anonymous):

Couldn't resist. http://codepad.org/MC906llY

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!