The first prime number over 1,000,000,000,000?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Caffiend
    New Member
    • Jan 2007
    • 21

    The first prime number over 1,000,000,000,000?

    Anyone want to venture a guess at the first prime number above 1,000,000,000,0 00? I used my program shown in the C++ section to calculate it... you won't win anything if you get it, but I thought it might be fun. Please excuse my enthusiasm about this, but this is the first program I have written mostly on my own, but with some crucial help from people, that did anything even remotely useful and worked!
  • bartonc
    Recognized Expert Expert
    • Sep 2006
    • 6478

    #2
    Here is what the python code looks like.

    Comment

    • Caffiend
      New Member
      • Jan 2007
      • 21

      #3
      Much more efficient than mine, LOL.... It took me somwhere between 5-10 minutes (i wasn't counting) to calculate that the first prime after 10^15... which is 1,000,000,000,0 00,037

      Comment

      • bartonc
        Recognized Expert Expert
        • Sep 2006
        • 6478

        #4
        Originally posted by Caffiend
        Much more efficient than mine, LOL.... It took me somwhere between 5-10 minutes (i wasn't counting) to calculate that the first prime after 10^15... which is 1,000,000,000,0 00,037
        So you ran it? I didn't try it. I bet it at a huge chunk of memory at 10^15...

        Comment

        • Caffiend
          New Member
          • Jan 2007
          • 21

          #5
          I haven't run the python code, but my C++ did calculate it to that... I've since become slightly obsessed with prime numbers, LOL, joined GIMPS, been reading books on them.

          Comment

          Working...