Slashdot Mirror


New Largest Known Prime Number: 2^57,885,161-1

An anonymous reader writes with news from Mersenne.org, home of the Great Internet Mersenne Prime Search: "On January 25th at 23:30:26 UTC, the largest known prime number, 257,885,161-1, was discovered on GIMPS volunteer Curtis Cooper's computer. The new prime number, 2 multiplied by itself 57,885,161 times, less one, has 17,425,170 digits. With 360,000 CPUs peaking at 150 trillion calculations per second, GIMPS — now in its 17th year — is the longest continuously-running global 'grassroots supercomputing' project in Internet history."

49 of 254 comments (clear)

  1. Wrong by Anonymous Coward · · Score: 5, Informative

    Actually it would be 2 multiplied by itself 57,885,160 times, minus 1.

    1. Re:Wrong by Anonymous Coward · · Score: 3, Interesting

      I'm not trying to be inflammatory here... this is a genuine question.

      Why? I mean... why bother with calculating this.. What has it added to study if prime numbers? And if it's added to the study of primes... then what use is that?

    2. Re:Wrong by chalsall · · Score: 5, Informative

      As is well known, there is no direct mathematical benefit from finding these primes.

      It is, however, a very useful "driving problem" to developing new algorithms, software, and distributed computing infrastructure which have wide ranging real-world applications.

      Check out the Mersenne Forum where all types of interesting mathematical, software and computer issues are discussed.

    3. Re:Wrong by houghi · · Score: 3, Funny

      That would be 3:
      2 multiplied by itself is 4. No matter if you do it once or 57,885,160 times. Then minus one.
      Or it could be 4 if you only do it 57,885,159 times. But I think 4 is not a prime number.

      --
      Don't fight for your country, if your country does not fight for you.
    4. Re:Wrong by Anonymous Coward · · Score: 5, Insightful

      Your first question: "What has it added to the study of prime numbers?", I'm not sure but...

      Your second question: "What use is that? (the study of prime numbers)"

      Well... Nearly all modern public key cryptography (SSL / TLS / SSH etc.) is based on the asymmetry in time between the multiplication of two prime numbers (very fast operation) and the factorization of the result back into these two primes (very very slow: the goal being to make so slow that it become impractical to do).

      Actually, it's "worse" than that: the "proof" that most modern PKCS crypto works is: "It's hard to find the (prime) factors of the product of two primes".

      In other words: the study of prime numbers is one of the most important area of mathematics when it comes to computer security.

    5. Re:Wrong by Anonymous Coward · · Score: 5, Funny

      I can't speak for other people, but I often use (2^57,885,161)-1 in casual conversation.

    6. Re:Wrong by K.+S.+Kyosuke · · Score: 2

      He is. I've got the combination 2-3-5-7-11 on my luggage, and now the world knows a part of it, all because of him!

      --
      Ezekiel 23:20
    7. Re:Wrong by cryptizard · · Score: 4, Interesting

      Actually, it's "worse" than that: the "proof" that most modern PKCS crypto works is: "It's hard to find the (prime) factors of the product of two primes".

      Small correction, there is actually no proof that RSA reduces to factoring. It is true that if you can factor you can break RSA, but you may also be able to break RSA without factoring. http://en.wikipedia.org/wiki/RSA_problem

    8. Re:Wrong by jc42 · · Score: 4, Insightful

      Do I believe Wikipedia? Or do I believe Donald Knuth?

      Why should you believe either? One of the basic (meta-)principles of mathematics is that you don't have to take anyone's word for something. You can check out their claim yourself, using existing reference material and your own mind. This isn't facetious; mathematical and scientific results have occasionally been shown to be erroneous.

      If you are unwilling to do these things, you're abandoning your (and your children's) future to those who are willing to do them (or to pay others to do them ;-). The dominant power and wealth in the human society now belongs to those who can handle technology. If you demand belief rather than understanding, you are handing control over to those willing to gain the understanding.

      If you can't appreciate the aesthetic justifications for learning about math and science, you certain must be aware of the history of successes and improvements in our world by their practitioners. Few of us would like to go back to stone-age hunter-gatherer societies. It's the experimenters and reasoners that got us past that stage.

      --
      Those who do study history are doomed to stand helplessly by while everyone else repeats it.
  2. Re:Uhhh... by SuricouRaven · · Score: 5, Informative

    2^4-1 = 16-1 = 15.

    5 * 3 = 15.

    Go read it again.

  3. Re:Uhhh... by happylight · · Score: 3, Informative

    You might want to read that link again. Not any number 2^n-1 is prime. Just that a prime in the form of 2^n-1 is called a Mersenne prime.

  4. Re:Uhhh... by Shimbo · · Score: 2

    Sigh, you need to go back and read the link you posted:

    "Though it was believed by early mathematicians that Mp is prime for all primes p, Mp is very rarely prime."

  5. Re:Uhhh... by SuricouRaven · · Score: 2

    I see a problem though: According to wikipedia, "Some definitions of Mersenne numbers require that the exponent n be prime."

    Some? Huh? Mathematics does not deal in disputed definitions! I've never heard before that Mersenne numbers need a prime exponent.

  6. Re:Uhhh... by Anonymous Coward · · Score: 3, Informative

    It's really just a matter of semantics. If n is composite, then 2^n - 1 cannot be prime.

  7. Re:They would have more primes to choose from ... by Anonymous Coward · · Score: 2, Informative

    There isn't a 100% correct primality proving method for general numbers that's anywhere near as efficient as the Lucas-Lehmer test for Mersenne numbers of the same size.

  8. Re:Uhhh... by fredprado · · Score: 4, Informative

    Mathematics does deal with a lot of "disputed" definitions. Mathematics deal even with a lot of "disputed" logic and "disputed" interpretations. Read about the axiom of choice, set Theory in general, Constructivism (mathematics) and Finitism and you will understand that things get quite more complicated than you thought.

  9. Re:Even the scientists' press release wrong by domulys · · Score: 2

    Yup, was totally wrong about this. Euclid's Proof of the Infinitude of Primes suggests doing something like this (multiplying all primes and then adding 1), but it doesn't work in generating new primes.

  10. Re:Write the whole number by chalsall · · Score: 3, Informative
  11. A Little More Perfection by 14erCleaner · · Score: 5, Informative

    Since the only known perfect numbers are derived from Mersenne Primes, this means there are also now 48 known perfect numbers. Interestingly, this property of Mersenne Primes was discovered by Euclid about 2000 years before Mersenne was born (time machine, anyone?). Finding a non-Mersenne perfect number would be a huge accomplishment.

    --
    Have you read my blog lately?
    1. Re:A Little More Perfection by Argilo · · Score: 2

      We also know that all even perfect numbers must have the form 2^(p-1) * (2^p - 1), where 2^p - 1 is a Mersenne prime. It's not known whether an odd perfect number exists, but we at least know that there are none less than 10^1500.

  12. Re:Why 2^n-1 by godrik · · Score: 4, Informative

    number of the form 2^n-1 are Mersenne numbers which are much more likely to be prime than a randomly chosen odd number. Also, we have "simple" test for these number to weed out many Mersenne numbers that are not prime. Once you have a Mersenne number that passed the "simple" primality test, there is a good chance that it will really be a prime number.

  13. Re:They would have more primes to choose from ... by billstewart · · Score: 3, Informative

    Mersenne primes have a structure that makes it possible to test primality for very large numbers; there's no way to test whether unrestricted numbers of that size are prime (it's theoretically possible, but there aren't enough computing resources on the planet.)

    I used to run the GIMPS search application back in the 90s; you really really don't want to run it on a laptop on batteries, especially with the battery technology of the time, and eventually I decided that my laptop didn't have enough horsepower to bother, compared to desktops that could run GPU-based calculations.

    --

    Bill Stewart
    New Fast-Compression-only CPR http://preview.tinyurl.com/dy575ks
  14. Re:Uhhh... by canadiannomad · · Score: 2

    Though it was believed by early mathematicians that Mp is prime for all primes p, Mp is very rarely prime. In fact, of the 1,622,441 prime numbers p up to 25,964,951,[5] Mp is prime for only 42 of them. The smallest counterexample is the Mersenne number

    Mv11 = 2^11 1 = 2047 = 23 × 89.

    --
    Hmm, the humour and sarcasm seem to have been be lost on you.
  15. Re:Uhhh... by amicusNYCL · · Score: 5, Funny

    Hey, has anyone told you that your post is wrong yet?

    --
    "Our two-party system is like a bowl of shit looking at itself in a mirror." - Lewis Black
  16. Re:Uhhh... by NoNonAlphaCharsHere · · Score: 4, Funny

    Mathematics may not deal in disputed definitions, but Wikipedia certainly does.

  17. Re:Uhhh... by Anonymous Coward · · Score: 5, Insightful

    111 1111 1111 == 2047 == 23 * 89

    Funny how many assertions here that number disproves

  18. Re:Why 2^n-1 by Anonymous Coward · · Score: 4, Informative

    There is a very fast primality test for Mersenne numbers, the Lucas–Lehmer primality test.
    2^n+1 is prime only if it's a Fermat prime, n=2^k. None of these are known to be prime for k>4, and there probably aren't any more, whereas there are probably infinitely many Mersenne primes.

  19. Re:Uhhh... by Kjella · · Score: 3, Informative

    If you could find new primes that easily then internet banking wouldn't be secure (well...as secure as it currently is, which is "enough for the insurance companies").

    No, it relies on factoring being much more difficult than multiplication. That is, if I have two large primes p and q I can trivially calculate p*q = n, but you can not easily find p and q from n. Being able to generate primes quickly doesn't give you anything.

    --
    Live today, because you never know what tomorrow brings
  20. Re:Why 2^n-1 by einyen · · Score: 2

    Actually they are a lot less likely to be prime than any random odd number, only 48 are now known and all have been tested up to above 13 million digits. But yes they are very easy to prove prime compared to "random" numbers of no special form, I *think* it was proven mathematically that there is no faster proof possible, but don't hold me to that. The highest "random" number proven to be prime is only 26,642 digits vs 17 million for this new mersenne prime. There are numbers of other special forms that are also "easy" but not as easy to prove, highest one proven is 3.9 million digits. They don't look for primes 2^n+1 because they are always divisible by 3 so they are never prime. They are looking for primes (2^n+1)/3 however, they are called Wagstaff primes, but again they are harder to prove than mersenne numbers.

  21. Number of Digits by necro81 · · Score: 5, Interesting

    The new prime number, 2 multiplied by itself 57,885,161 times, less one, has 17,425,170 digits

    "There are 10 kinds of people in the world. Those who understand binary, and those that don't."

    This new number is 2^57,885,161 - 1, so naturally it has 57,885,161 digits, all of them 1. A simpler example: 2^5 - 1 is a Mersenne prime. Written in binary it's 100000 - 1 = 11111.

    Oh! You meant that it has 17,425,170 decimal digits. Booooooooring!

    1. Re:Number of Digits by Vireo · · Score: 2

      Oh! You meant that it has 17,425,170 decimal digits. Booooooooring!

      Well, the etymology for "digit" is "finger", so it's first and foremost used for base 10. Binary digits have a special name, that you may know, which is a portmanteau of "binary" and "digit": it's a "bit".

  22. Re:They would have more primes to choose from ... by dwillmore · · Score: 4, Interesting

    Yes. The LL test only works on Mersenne numbers--numbers of the form 2^p-1 where p is prime. The LL test is not statistical. It can determine if a given mersenne number is prime or not without any doubt.

    To protect against errors, GIMPS (Great Internet Mersenne Prime Search) uses a variety of double checks to ensure no number if mistested. Any number that passes the LL test is double (and sometimes triple checked) to verify that there wasn't a hardware or software error that caused a false positive. I had the honor of performing the double check of a record Mersenne prime some time ago.

  23. Re:So... by cellocgw · · Score: 2

    I wonder if 2^(2^57,885,161-1)-1 is also prime.

    Stop wondering and start dividing. Call us when done.

    --
    https://app.box.com/WitthoftResume Code: https://github.com/cellocgw
  24. Re:CPUs? why not GPUs? by History's+Coming+To · · Score: 3, Informative

    Using CPUs is generally a simpler approach when building a distributed system like this. Yes, per individual computer GPUs can be more efficient, but you also need to look at the number of assisting nodes you're going to get, and this number may (I'm guessing) be higher if you let any old CPU join the party rather than fewer high-end GPUs.

    --
    Please consider this account deleted, I just can't be bothered with the spam anymore.
  25. Not true. by carpefishus · · Score: 2

    Optimus Prime is bigger.

    --
    Facts take all of the premium out of arm waving - T. Reynolds
  26. Son of a bitch by UnknowingFool · · Score: 3, Funny

    Now I have to find a new combination to my luggage. Again.

    --
    Well, there's spam egg sausage and spam, that's not got much spam in it.
  27. Re:Why 2^n-1 by Argilo · · Score: 2

    It is far easier to test Mersenne numbers for primality than general integers, thanks to the Lucas-Lehmer primality test. Weeding out composite Mersenne numbers by trial factoring is also faster, thanks to a theorem that eliminates most of the candidate factors.

    As for numbers of the form 2^n+1, it's easy to show that if 2^n+1 is prime, then n must be a power of two. Such numbers are known as Fermat numbers, and there is also a fast primality test (Pepin's test) for numbers of this form. But because of the power of two in the exponent, each Fermat number is double the size (in terms of the number of digits) of the previous one. It doesn't take long before you exceed current computing capabilities. And so far, all the Fermat numbers we've managed to test have turned out to be composite, apart from the first five. Furthermore, it is conjectured that there are only finitely many Fermat primes, so it's possible we've already found them all. On the other hand, it is conjectured that there are infinitely many Mersenne primes.

  28. total energy consumed during the 17-year project? by acidfast7 · · Score: 3, Interesting

    I'm just trying to weigh the energy consumption versus potential benefit. The GIMPS homepage does a terrible job of explaining why (I'm not suggesting that there is no reason to do this) and a linked FAQ is hardly better ( http://primes.utm.edu/notes/faq/why.html ). Can anyone provide a better answer or instruct those running the GIMPS homepage to do so?

  29. Re:CPUs? why not GPUs? by chalsall · · Score: 5, Informative

    Yes. And both are used for GIMPS.

    See the Mersenne Forum's GPU Computing sub-forum for details.

    There are, however, many more CPUs than GPUs out there, so most of the work is still done by CPUs. Two different GPUs using different software (CUDALucas) were used to confirm that 2^57,885,161-1 was prime, in addition to two other CPUs (one using different software than the GIMPS standard Prime95/mprime).

  30. YOU'RE A CROOK! by Thud457 · · Score: 2

    I've got a problem with that WW meme.


    In the movie, that was NOT WW's final judgement. It was a final test of Charlie's character. Charlie contested WW's brusque send-off and ended up owning a chocolate factory.

    What kind of lesson is this teaching our kids?!

    --

    the preceding comment is my own and in no way reflects the opinion of the Joint Chiefs of Staff

    1. Re:YOU'RE A CROOK! by benzaholic · · Score: 2

      Don't be dissing the WonkMan, at least not the Gene Wilder version.
      The lesson for children is to be honest even when it seems like there is no longer a need to do so.
      Or that everlasting gobstoppers lose their flavor much more quickly than advertised.

  31. Re:They would have more primes to choose from ... by Rockoon · · Score: 2

    To be a little more clear about this, primality proving algorithms are generally constructed to produce a certificate that makes it easy to verify that the algorithm was indeed executed completely and indeed proved primality, and these certificates themselves are as difficult to forge as the proof itself.

    --
    "His name was James Damore."
  32. Re:They would have more primes to choose from ... by gnasher719 · · Score: 2

    Mersenne primes have a structure that makes it possible to test primality for very large numbers; there's no way to test whether unrestricted numbers of that size are prime (it's theoretically possible, but there aren't enough computing resources on the planet.)

    Basically, it is much easier to find a proof that p is prime (if it is indeed prime) if you have a complete factorization of p + 1. For this number as for all Mersenne primes, the complete factorization is quite obvious.

  33. Re:Uhhh... by sgunhouse · · Score: 4, Interesting

    If the exponent is not prime, then the number will not be prime.

    I don't do HTML, I'll use the symbol ^ for exponent (I don't do C either). Let's suppose c = a*b, then 2^c - 1 is divisible by both 2^a - 1 and 2^b - 1. (That's true with x instead of 2, the difference being 2^1 - 1 is 1 which is not prime.) Whether the definition requires primality or not, mathematics dictates that the exponent must be prime.

  34. Re:Wrong (So many Fucking Experts) by K.+S.+Kyosuke · · Score: 2

    Yeah, it's better to get the math completely wrong.

    Well, it's difficult to get the math partially wrong!

    --
    Ezekiel 23:20
  35. Global Warming? by Lawrence_Bird · · Score: 2

    I wonder what the energy use of this project has been? 17 years? How many megawatthours? And what would be the 'carbon footprint' ?

    1. Re:Global Warming? by Megor1 · · Score: 2

      I heat my apartment calculating prime numbers. I have electric heat so I'd rather have the power go to something interesting than heating up a wire.

      --
      Everyone that disagrees with me is a paid shill
  36. but most of math's "usefulness" is handwaving by decora · · Score: 2

    its an aesthetic discipline not an objectively useful one.

    alot of it turns out to be useful, sometimes hundreds or thousands of years after its first 'discovery'.

    Quaternions would be a perfect example, imaginary numbers another.

    so right now we have no idea what the usefulness of finding high primes is.

    but in 200 years it might allow us to calculate the control points necessary to create an anti-matter damper for protonium neon flux casings in hyperdimensional warp transferrence beam generators.