Compute 1000th Prime Number

  • (2 Pages)
  • +
  • 1
  • 2

15 Replies - 982 Views - Last Post: 07 May 2013 - 08:35 PM Rate Topic: -----

#16 Mekire  Icon User is offline

  • D.I.C Head

Reputation: 116
  • View blog
  • Posts: 212
  • Joined: 11-January 13

Re: Compute 1000th Prime Number

Posted 07 May 2013 - 08:35 PM

View Postjon.kiparsky, on 08 May 2013 - 03:25 AM, said:

@Mek - sieves aren't very complicated at all. In fact, they're pretty trivial in python, and worth exploring.
I agree they aren't complex, but he has yet to even learn functions according to his first post. So it still might be a tad premature (although length wise the code would be about the same).

Anyway, I would love to see a sieve discussion start as I was just trying to optimize mine yesterday and it still seems a bit... lacking. I haven't gotten around to doing any other than Eratosthenes thus far though.

-Mek
Was This Post Helpful? 0
  • +
  • -

  • (2 Pages)
  • +
  • 1
  • 2