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."

254 comments

  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 kaizendojo · · Score: 1

      +1. I was wondering the exact same thing; is this a "because it's there" type of thing or is there an actual use to calculating this number?

    4. 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.
    5. 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.

    6. Re:Wrong by Anonymous Coward · · Score: 0

      You are an idiot.

    7. 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.

    8. Re:Wrong by gnasher719 · · Score: 0

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

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

    9. Re:Wrong by Anonymous Coward · · Score: 0

      Why? I mean... why are you asking your question in the wrong thread? Is this a trolling technique? Then what use is that?

    10. 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
    11. Re:Wrong by Stirling+Newberry · · Score: 1
      Insert Euclid coin joke.

      Actually there is a variety of encryption that uses these numbers.

    12. Re:Wrong by GameboyRMH · · Score: 1

      And this is better than something remotely useful like Folding@home in what way?

      --
      "When information is power, privacy is freedom" - Jah-Wren Ryel
    13. Re:Wrong by Anonymous Coward · · Score: 1

      http://en.wikipedia.org/wiki/Sexy_prime

      The benefits are enormous.

    14. 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

    15. Re:Wrong by t1oracle · · Score: 1

      Which probably explains your speech problem...

    16. Re:Wrong by t1oracle · · Score: 1

      Baby, if we were prime number's I'd be 461 and you'd be 467.

    17. Re:Wrong by Anonymous Coward · · Score: 1

      Why? Are you saying that if I multiply a number by itself, it "consumes" the number so it cannot be used again, but if I multiply by "2" I get a fresh copy of the number 2 each time? I would like to subscribe to your newsletter.

    18. Re:Wrong by 91degrees · · Score: 1

      Surely a power of 2 minus 1 is useless for cryptography though. It's a common way to produce a prime, but checking a number for a prime factor generated using this method would take just seconds even on a normal home computer.

    19. Re:Wrong by cryptizard · · Score: 1

      Not saying that it would be useful for cryptography, but I think you are being a little generous when you say it can be checked in "seconds". Lets assume that the way they are testing Mersenne numbers is by starting at n=1 and checking whether 2^n-1 is a prime. If it could be done in, say, 10 seconds, then this distributed computing setup would have gotten to the current number, n=57,885,161, in 57,885,161 * 10 seconds / 360,000 = ~25 minutes. Since it has taken 17 years, I would assume it is harder to check than you think. That is not even taking into consideration that 2^n - 1 can only be prime when n is prime, which already pre-filters quite a few candidates.

    20. Re:Wrong by gnasher719 · · Score: 1

      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

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

    21. Re:Wrong by gnasher719 · · Score: 1

      Why? Are you saying that if I multiply a number by itself, it "consumes" the number so it cannot be used again, but if I multiply by "2" I get a fresh copy of the number 2 each time? I would like to subscribe to your newsletter.

      Multiply two by itself, and you get four. Multiply by itself for the second time, you get 16. The third time, you get 256. Fourth time, 65536. Fifth time, about 4 billion. Sixth time, a 20 digit number. Around the 45th time, no hard drive is big enough to store the number.

    22. Re:Wrong by cryptizard · · Score: 1

      Where did he say that? I find it hard to believe that he would because it is a well known fact that breaking RSA does not imply factoring. Think of it like this: if you can factor, then you can certainly calculate the decryption exponent (private key) from the encryption exponent and the factors of the modulus (using the totient of the modulus). This is exactly what you do when you are generating the private key in the first place. However, knowing only the modulus, the encryption exponent and a ciphertext, if I could find the eth root of something in a finite field, then I would be able to decrypt that ciphertext and get the message. I can do that without knowing the factorization of the modulus.

      Currently nobody knows a way to find eth roots, so the surest way of breaking RSA is factoring, but there is no guarantee that such a method will not be found. If you don't believe me or the Wikipedia page you could always read the cited article by Dan Boneh, one of the top modern cryptographers in the world.

    23. 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.
    24. Re:Wrong by epine · · Score: 1

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

      However--most certainly--not a genuinely original question with any semblance of clue. How genuine can a question be if the person responding wonders if you've even heard of Archimedes?

      Short answer: researchers pursue the limits of the computational arts in the same way that athletes pursue the limits of human performance (and continue to do so, long after breaking the 4 minute mile, and What good is that? I ask you with barely a hint of rhetorical flourish, having as much taste for shapely buns as anyone else).

      Long ago in my first semester of what should have been a CS degree (the registrar's office bumped me into Science because too many instructors from their CS program had been poached the previous summer by IBM) on my own Z80 based system, I computed 2^44497-1 in binary (lordy, lordy) and then printed it out in decimal on a dot matrix printer with a very small numeric font such that it almost exactly covered one standard page. The formatted print in this case was harder than the compute. It was really just an exercise in gaining proficiency with the C language. My C compiler arrived in a zip-locked bag. Meanwhile, big CS U was force-feeding all their COOP students Fortran, COBOL, and Pascal--if you were lucky. Over in the Arts department, first or second year English Literature students were forcibly conscripted into introductory SNOBOL or PL/1 courses. I had a nice sideline going for one term assisting damsels in distress. C was considered harmful, so I had to learn it furtively by not showing up for class.

      Decimal digits American style

      It has remained my favorite five digit number ever since. Of course I didn't bother formatting the commas.

      Actually, thinking way way way back, I don't I did memset a big block of memory with 0xFF and then call print(). I probably worked the problem in base 10,000 iteratively multiplying by 2^13 for 3500 odd passes.

      Amazing where a small little problem like this might take you.

    25. Re:Wrong by Anonymous Coward · · Score: 0

      There is still no known way of predicting the exact distribution of prime numbers. Hence their value to cryptography. Until/unless there is a known distribution, EVERY prime number is a new clue, and is therefore of extreme potential value.

      I had the privilege of taking several undergraduate courses from Dr. Cooper (for each of which I received an "A"). I must say that, although he can't seem to complete a sentence without starting a new one, he is one brilliant individual. Keep up the good work, Dr. Cooper.

      Christopher Campbell,
      BS, Computer Science and Mathematics, Univ. of Central Missouri,
      MS, Computer Science, Univ. of Central Florida

    26. Re:Wrong by Dasuraga · · Score: 1

      (2 multiplied by itself)57885160 times, which gives a very long list of 4s.

      we need parentheses in English for ambiguity.

    27. Re:Wrong by bmo · · Score: 1

      >What has it added to study if prime numbers? And if it's added to the study of primes... then what use is that?

      You could have really big gear boxes that have a low harmonic vibration.

      (for the clueless, once you get into gearing and transmissions, prime numbers are effin' everywhere).

      --
      BMO

    28. Re:Wrong by 91degrees · · Score: 1

      I may have been being a little generous. Bignum division is a fairly slow process. But if we're trying to find the factors of the product of (2^n-1) and another prime, we don't actually care whether our candidate (2^n-1) is prime or not. We just try every n up to 57,885,161.

      Although now you explain the details I can see how the technology to establish whether numbers are prime has applications for cryptography.

    29. Re:Wrong by chrismcb · · Score: 0

      Multiply two by itself, and you get four

      2*2 = 4 Yep, Sounds good

      Multiply by itself for the second time, you get 16

      Ok, 2 * 2 = 4... How do you get 16?

    30. Re:Wrong by rastan · · Score: 1

      Actually, only RSA public-key cryptography is based on that asymmetry, and even that is not precisely correct. And RSA is considered the most probable candidate to be broken at some time of the bunch of algorithms that are used. Even ssh uses DSA (at least you should, and not use RSA if you are paranoid) which is based on the assumed difficulty of calculating discrete logarithms in finite fields. If you are even more paranoid, use something that is based on elliptic curves.

      --
      Understanding is a three-edged sword. --Kosh
    31. Re:Wrong by Anonymous Coward · · Score: 0

      Dammit. I was hoping to update my list of even prime numbers.

    32. Re:Wrong by Anonymous Coward · · Score: 0

      Why should you believe either?

      Because the paper explaining that the two may not be equivalent (reference [1] from Wikipedia) is incomprehensible even to someone with an MA in Mathematics from Cambridge, England.

      No one can understand everything, so belief is necessary. The question really is do I believe Wikipedia or Knuth, I'm afraid.

    33. Re:Wrong by tehcyder · · Score: 1

      Lucky you posted AC to avoid people knowing who you really are. Oh, wait...

      --
      To have a right to do a thing is not at all the same as to be right in doing it
    34. Re:Wrong by cthulhu11 · · Score: 1

      I'm sure it also keeps girlfriends from disturbing ol' Curtis

  2. And what shall we call this number? by schneidafunk · · Score: 1

    Post responses of cool names.

    --
    Some people die at 25 and aren't buried until 75. -Benjamin Franklin
    1. Re:And what shall we call this number? by Anonymous Coward · · Score: 0

      The "who cares?" number.

    2. Re:And what shall we call this number? by vlm · · Score: 1

      The goatse number = number of seared eyeballs requiring mind bleach. 2 ** 57885161 - 1 is probably about right. Either that or its the decimal representation of the future ipv8 standard which expands the puny ipv6 addressing space from 2 ** 128 to 2 ** 1e100 aka when we replace the internet with the google-net. All hail the almighty GOOG! huzzah!

      --
      "Science flies us to the moon. Religion flies us into buildings." - Victor Stenger
    3. Re:And what shall we call this number? by hutsell · · Score: 1

      Post responses of cool names.

      Instead of the dry M(48), could one of those cool names, at the least, include something about The Gimp? This one is their 14th.

      --
      Yesterday's Weirdness is Tomorrow's Reason Why
    4. Re:And what shall we call this number? by Anonymous Coward · · Score: 0

      The GIMPS' 14th

  3. They would have more primes to choose from ... by Skapare · · Score: 1

    ... if they didn't limit the search to just Mersenne primes.

    --
    now we need to go OSS in diesel cars
    1. 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.

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

      Mersenne primes are easier to search for if you want to find a prime as large as possible (as opposed to finding every prime), since they are somewhat likely primes and you get to skip quite a few candidates.

      What I'm curious of is to what certainty is this proven prime? Most likely it's statistical and not definitive (to my limited knowledge the latter would be computationally impossible). Don't get me wrong - statistical methods are good - that's what we normally use for things like generating RSA keys.

    3. Re:They would have more primes to choose from ... by Skapare · · Score: 1

      So Mersenne primes are just low-hanging fruit?

      --
      now we need to go OSS in diesel cars
    4. 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
    5. Re:They would have more primes to choose from ... by Skapare · · Score: 1

      Maybe we could have more success with certainty by searching for non-primes. If you got the factors (even one factor is enough), such as 23*89 for 2^11-1, which some people think has to be prime because 11 is prime, then we could have more numbers. Why are primes so great? I can get tons of very large non-prime numbers by generating Pascal's triangle.

      --
      now we need to go OSS in diesel cars
    6. Re:They would have more primes to choose from ... by vlm · · Score: 1

      I can get tons of very large non-prime numbers by generating Pascal's triangle.

      Given that the rate of primes drop as the number length goes up, you can just pick any ole random really large number and the odds eventually become ridiculously high that its composite. You can have a lot of fun Fing with people (aka Socratic method), at least if they don't know much number theory, by trying to convince them there exists a certain largest prime number above which they're all composite, I mean, just look at the graph of rate of prime numbers vs number of digits or however you wanna phrase it, obviously it must intersect zero at some huge number (what would hitting negative even mean?). This would be the kind of "stupid interview trick question" I'd enjoy, certainly more creative than yet another stupid fizzbuzz implementation.

      Meta discussing it even further from the original post, the Socratic method is pretty much good training to become a really effective internet troll.

      --
      "Science flies us to the moon. Religion flies us into buildings." - Victor Stenger
    7. 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.

    8. Re:They would have more primes to choose from ... by Anonymous Coward · · Score: 0

      The low-hanging fruit was picked by the Greeks. The not-quite-so-low-hanging fruit was picked by the Romans. Etc. etc.

      What we're at now is the decision wether to pick the fruit at the end of long branches than bends down a bit (Mersenne), or pick the stuff near the base of lower branches at about the same height. Either way, we're a few dozen stacked forklifts off the ground.

    9. Re:They would have more primes to choose from ... by mark-t · · Score: 1

      Primes are important because all composite numbers can be decomposed into primes, which permits one to sidestep maintaining, duplicating, or repeating the common factors, particularly when managing large integers.

    10. 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."
    11. Re:They would have more primes to choose from ... by Rockoon · · Score: 1

      What I'm curious of is to what certainty is this proven prime?

      Absolutely 100% certain.

      --
      "His name was James Damore."
    12. 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.

    13. Re:They would have more primes to choose from ... by Stirling+Newberry · · Score: 1

      Also they have the property of having a corresponding perfect number. (sum of all its divisors except itself)

    14. Re:They would have more primes to choose from ... by Stirling+Newberry · · Score: 1

      More correctly "The chance it is not prime depends on two separate computer clusters running two different versions of the same algorithm both failed."

    15. Re:They would have more primes to choose from ... by tibit · · Score: 1

      Hah, I used to run it on a bunch of 486 and Pentium I systems, when it still made sense. Past certain length, you really needed a more powerful system.

      --
      A successful API design takes a mixture of software design and pedagogy.
    16. Re:They would have more primes to choose from ... by cryptizard · · Score: 1

      just look at the graph of rate of prime numbers vs number of digits or however you wanna phrase it, obviously it must intersect zero at some huge number (what would hitting negative even mean?)

      According to the prime number theorem the probability of getting a prime number by randomly picking an n bit number is about 1/n. If you look at the graph it does not decrease linearly so it would never reach zero.

    17. Re:They would have more primes to choose from ... by Megor1 · · Score: 1

      If you want to find primes of other types try http://www.primegrid.com/ you can find 200k+ digit primes rather easily. They also have GPU support for some of the projects.

      --
      Everyone that disagrees with me is a paid shill
  4. Re:Uhhh... by SuricouRaven · · Score: 5, Informative

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

    5 * 3 = 15.

    Go read it again.

  5. 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.

  6. Re:Uhhh... by Aardpig · · Score: 1

    n=4: 2^4-1 = 15, which isn't prime.

    You get nothing! You lose, GOOD DAY SIR!

    --
    Tubal-Cain smokes the white owl.
  7. Read the article by schneidafunk · · Score: 1

    You didn't read your link did you? There is no equation for prime numbers right now. There are some 'hacks' that work up to high prime numbers but no existing formula.

    --
    Some people die at 25 and aren't buried until 75. -Benjamin Franklin
    1. Re:Read the article by Anonymous Coward · · Score: 0

      The wikipedia page you quote actually provide formulas. Useless formulas but formulas nonetheless.

    2. Re:Read the article by schneidafunk · · Score: 1

      That would be what I referred to in the second sentence, "There are some 'hacks' that work up to high prime numbers".

      --
      Some people die at 25 and aren't buried until 75. -Benjamin Franklin
  8. Re:Uhhh... by Skapare · · Score: 1

    Not all Mersenne numbers are prime. Consider 2^4-1.

    --
    now we need to go OSS in diesel cars
  9. Re:Uhhh... by Anonymous Coward · · Score: 0

    Counterexample: 15.

  10. 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."

  11. Re:Uhhh... by Mateo_LeFou · · Score: 1

    There must be a lot of prime numbers in your world
    2^n-1 is always prime?

    n=4
    (2**4)-1 = 15

    --
    My turnips listen for the soft cry of your love
  12. stats? by rwa2 · · Score: 1

    So.... is there an equivalent to rc5stats for GIMPS, so we can compare, uh, our harnessed computing prowess?

    No, I'm not going to google it. I want your opinion on whether it's any good or not.

    1. Re:stats? by dwillmore · · Score: 1

      Yes, if you go to www.mersenne.org and look on the left hand side, you will see a variety of lists and reports. They cover the system as a whole and individual contributers.

  13. Re:Uhhh... by Mente · · Score: 1

    No. Any number 2^n-1 is not prime. It is only prime when n is also prime.
      Mp=2^p - 1 is prime where p is prime

  14. Re:Uhhh... by Anonymous Coward · · Score: 0

    Wrong, 2^(4-1) = 8, which is not prime.

  15. Re:Uhhh... by ender8282 · · Score: 1

    Not for n = 4 2^4 -1 = 16 - 1 = 15 = 3 * 5 ==> not prime!

  16. 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.

  17. Re:Uhhh... by Kjella · · Score: 1

    Considering any number 2^n-1 is prime

    Why don't you try that with n=4...

    --
    Live today, because you never know what tomorrow brings
  18. Re:Uhhh... by canadiannomad · · Score: 1

    Um, no. read that wiki article again.

    --
    Hmm, the humour and sarcasm seem to have been be lost on you.
  19. Re:Uhhh... by Anonymous Coward · · Score: 0

    Seriously? Not every 2^n - 1 number is a prime.

  20. Re:Uhhh... by Anonymous Coward · · Score: 0

    2^8-1 is 255, which is divisible by three.

  21. Trolling editors by Anonymous Coward · · Score: 0

    Someone posted recently that slashdot editors intentionally add mistakes to summaries in order to get the replies going. Now I think they were right, but I still can't help myself.

    257,885,160 is not a prime number, 2^57,885,161-1 is. Also, who says "less one" to mean "minus one"?

    1. Re:Trolling editors by Aardpig · · Score: 1

      I think, rather, that Hanlon's razor applies here: Never attribute to malice that which is adequately explained by stupidity.

      --
      Tubal-Cain smokes the white owl.
  22. Re:Uhhh... by oobayly · · Score: 1

    Considering any number 2^n-1 is prime [wikipedia.org], this isn't too impressive, except for maybe that they bothered to expand it into a full number.

    Nope: 2^6 - 1 = 63. Correct me if I'm wrong, but 63 isn't prime.

  23. Re:Uhhh... by Anonymous Coward · · Score: 0

    any number 2^n-1 is prime

    2^4-1 is prime?

  24. Re:Uhhh... by Anonymous Coward · · Score: 0

    n = 4
    2^n - 1 = 15
    15 is not prime.

    Might wanna read that article one more time.

  25. Re:Uhhh... by Anonymous Coward · · Score: 1

    No, 2^n-1 is not prime for all n (example n = 4). A Mersenne prime is a Merseene number that is also prime.

  26. Re:Uhhh... by History's+Coming+To · · Score: 1

    Wrong - you mean all Mersenne Primes take the form 2^n-1, not that all numbers of the form 2^n-1 are prime. 11, for example, is prime but cannot be rationally expressed in the form 2^n-1.

    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").

    --
    Please consider this account deleted, I just can't be bothered with the spam anymore.
  27. Write the whole number by Anonymous Coward · · Score: 0

    I dare you to write the whole number, including every digit. It shouldn't take up more than a few megabytes.

    1. Re:Write the whole number by chalsall · · Score: 3, Informative
    2. Re:Write the whole number by Anonymous Coward · · Score: 0

      Can you print it out and send me a hardcover copy? that'd be soooo cool ...well, at least until the next prime number is found.

    3. Re:Write the whole number by vlm · · Score: 1

      Can you print it out and send me a hardcover copy? that'd be soooo cool ...well, at least until the next prime number is found.

      Better idea: Tattoo

      --
      "Science flies us to the moon. Religion flies us into buildings." - Victor Stenger
  28. Re:Uhhh... by Anonymous Coward · · Score: 0

    ... 2^4-1 = 15 = 3*5 ...

  29. Re:Uhhh... by gewalker · · Score: 1

    2^4-1 = 15
    Maybe you meant 2^n-1 where n is prime. Still no good 2^1-1 = 2047 = 23 * 89

    Unless you meant this as a bad joke, you are mistaken.

  30. Re:Uhhh... by Anonymous Coward · · Score: 0

    You misunderstand what a Mersenne prime is.

    2^n - 1 isn't necessarily prime (e.g., if n = 5, then 2^5 - 1 = 15).

    If n is prime AND 2^n - 1 is prime, then 2^n -1 is a Mersenne prime.

  31. Why 2^n-1 by bigsexyjoe · · Score: 1

    I know that that is called a Mersenne prime. Why do they always look for primes of that form? Are these numbers more likely to be prime? Why don't they start looking for primes of the form 2^n+1?

    1. 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.

    2. Re:Why 2^n-1 by Anonymous Coward · · Score: 0

      Isn't 2^n-1 all ones in binary. Maybe that's why.

    3. 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.

    4. Re:Why 2^n-1 by Anonymous Coward · · Score: 0

      I know that that is called a Mersenne prime. Why do they always look for primes of that form? Are these numbers more likely to be prime? Why don't they start looking for primes of the form 2^n+1?

      Arithmetic and test procedure for Mersenne primes is highly efficient considering the size of the resulting prime. I think it takes something like n squarings and n small additions (something like +4 or -4) modulo 2^n-1 in order to tell for sure whether 2^n-1 is composite or not, once one knows that n is prime. Look it up, it was something like the Lucas-Lehmer test or similar.

    5. 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.

    6. Re:Why 2^n-1 by Anonymous Coward · · Score: 1

      I doubt that numbers of the form 2^n-1 are more likely to be prime than a randomly chosen odd number (of the same length). Do you have a reference to back up your claim?

    7. Re:Why 2^n-1 by necro81 · · Score: 1

      Why do they always look for primes of that form

      For one thing, it is very easy to write them down. For another, they lend themselves very easily to computation using binary math. Any number of the form 2^n - 1 is just a string of n 1's. E.g., 2^5 - 1 = 31 = 11111b.

      As to your other question, regarding 2^n + 1, those would be of the form of a '1', followed by (n-1) '0's, followed by another '1'. E.g., 2^5 + 1 = 33 = 1000001b. I don't know if these are any more or less likely to be prime. I suspect less likely, otherwise those would be what are studied so much.

    8. Re:Why 2^n-1 by loufoque · · Score: 1

      Because it is believed that there is an infinite amount of Mersenne primes, but no one has been able to prove it yet.

    9. 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.

    10. Re:Why 2^n-1 by Anonymous Coward · · Score: 1

      the lucas-Lehmer primality test makes it easier and faster to test if a mersenne number is prime vs some randomly chosen number.

    11. Re:Why 2^n-1 by Anonymous Coward · · Score: 0

      i believe for n>2 they are always a multiple of 3

    12. Re:Why 2^n-1 by Anonymous Coward · · Score: 0

      That's evidence for claim 2. I'm intersested in evidence for claim 1.

    13. Re:Why 2^n-1 by bigsexyjoe · · Score: 1

      17 is prime. It's 2^4+1.

    14. Re:Why 2^n-1 by Anonymous Coward · · Score: 0

      Only for even n. Or n>20. If my spent-way-longer-than-I-should-have proof is correct.

    15. Re:Why 2^n-1 by Anonymous Coward · · Score: 0

      Stupid me misreading excel precisions...

      For odd n, it's always a multiple of 3. For even, 2^n-1 is, so 2^n+1 can't be.

    16. Re:Why 2^n-1 by RivenAleem · · Score: 1

      Good question. Given that there are an infinite number of numbers, are there an infinite number of primes? Or, if you can determine that given how 1,2,3 are tightly spaced, then 5, 6, 11, 13 are medium spaced, then 17, 23, 29 start getting further and further apart, can you say that as n tends to infinity, the gap between primes eventually tends to infinity also, thus producing a 'final' prime number?

    17. Re:Why 2^n-1 by Anonymous Coward · · Score: 0

      It is not known if a number of the form 2^n - 1, where n is a prime, is more or less likely to be prime than other numbers of a similar size. For example consider 2^100,000,007 - 1. The exponent is prime. According to the prime number theorem, the chance that a *random* number X of that size is prime, is 1/(log X). This is approximately one in 69 million. But it is not known if the "probability" of 2^100,000,007 - 1 being prime is less or greater than that. One possibility is that there are only a finite number of Mersenne primes. If this were true, the probability (for huge enough numbers) of a Mersenne number being prime, would be zero. Another possibility is that only a finite number of Mersenne numbers (with prime exponent) are composite. That would mean that all Mersenne numbers, from a given size, were prime, and the prime probability would eventually be 100%. Neither of these possibilities can be disproven at the current stage of mathematical knowledge. Most people believe, of corse, that there are infinitely many Merenne numbers in both categories.

  32. Even the scientists' press release wrong by domulys · · Score: 1

    I thought the Slashdot summary goofed on this, but the scientists did as well.

    It's the largest known Mersenne prime. For instance, 1000000! - 1 is also known to be prime, and it is much larger than this number.

    1. 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.

    2. Re:Even the scientists' press release wrong by Anonymous Coward · · Score: 0

      It sort of does; If you multiply all known primes together and add 1, and then factor that number, you will have at least one new prime. The trouble is factoring that number is really hard.

    3. Re:Even the scientists' press release wrong by swimboy · · Score: 1

      I don't think that if you multiply all the known primes and add one you get a number that's guaranteed to be prime. All you get is a number that isn't divisible by any known prime. You could very well get a composite number whose factors are all bigger than the largest known prime.

      --
      Ask me how the Heisenberg Principle may or may not have saved my life.
    4. Re:Even the scientists' press release wrong by Janek+Kozicki · · Score: 1

      I thought the Slashdot summary goofed on this, but the scientists did as well.
      It's the largest known Mersenne prime. For instance, 1000000! - 1 is also known to be prime, and it is much larger than this number.

      how do you know 1000000! - 1 is prime? I cannot find any evidence about that. Care to provide some links? I launched mathematica to check this, using command PrimeQ[1000000! - 1] but it didn't calculate yet.

      --
      #
      #\ @ ? Colonize Mars
      #
    5. Re:Even the scientists' press release wrong by Janek+Kozicki · · Score: 1

      I thought the Slashdot summary goofed on this, but the scientists did as well.
      It's the largest known Mersenne prime. For instance, 1000000! - 1 is also known to be prime, and it is much larger than this number.

      And also, you are wrong: 1000000! - 1 has only 5.56e6 decimal digits, while 2^57885161 - 1 has 1.74e7 decimal digits:

      In[8]:= Log[10,1000000!-1] //N
      Out[8]= 5.56571*10^6
      In[7]:= Log[10,2^57885161-1] //N
      Out[7]= 1.74252*10^7

      --
      #
      #\ @ ? Colonize Mars
      #
    6. Re:Even the scientists' press release wrong by Anonymous Coward · · Score: 0

      I don't think that if you multiply all the known primes and add one you get a number that's guaranteed to be prime. All you get is a number that isn't divisible by any known prime. You could very well get a composite number whose factors are all bigger than the largest known prime.

      For example, if you only know the primes up to 13, 2*3*5*7*11*13 + 1 = 30031 = 59*509.

    7. Re:Even the scientists' press release wrong by Anonymous Coward · · Score: 0

      103040!-1 is the larger known prime of this form

  33. Re:Uhhh... by gewalker · · Score: 1

    Sorry, 2^11-1 = 2047

  34. Re:Uhhh... by gman003 · · Score: 1

    Uh, did you actually read the article you linked to?

    Not all 2^n-1 numbers (Mersenne numbers) are prime. For instance, if n is not prime, then 2^n-1 is not prime (so no, 2^57,885,162-1 is not prime). But even if n is prime, 2^n-1 is not prime - take n=23, where 2^n-1 (8388607) is divisible by 47 and 178481. In fact, only 48 Mersenne primes are currently known, as listed in the article you linked.

  35. Re:Uhhh... by Skapare · · Score: 1

    ... except when it isn't ... like 2^11-1.

    --
    now we need to go OSS in diesel cars
  36. 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.

  37. Re:Uhhh... by canadiannomad · · Score: 1

    Now if that were true wouldn't we be able to say the largest known prime is:
    2^((2^57,885,161)-1) ? That can't be true or they would have found it already.

    --
    Hmm, the humour and sarcasm seem to have been be lost on you.
  38. 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.

  39. Re:Uhhh... by Anonymous Coward · · Score: 0

    Any binary number that consists of a prime number of 1's is going to be prime. There's no way of factoring them by subdividing them evenly. You would need two numbers, one of which is like a set of fenceposts and another which is the actual bit of fence: 11111111 = 01010101 x 11

  40. Re:Uhhh... by Anonymous Coward · · Score: 0

    So by that logic 15 = 2^4 - 1 is prime?

    If 2^n - 1 is prime then it is also Mersenne prime. It doesn't mean that anything of the form 2^n - 1 is prime.

  41. Re:Uhhh... by Anonymous Coward · · Score: 0

    Notation is one of the most hotly debated things in mathematics because you cannot write proofs that one system of notation is better than another!

  42. 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 Anonymous Coward · · Score: 0

      It has been proved that such perfect number would be odd,
      a rather odd property for being a perfect number...

    2. Re:A Little More Perfection by Anonymous Coward · · Score: 0

      Finding a non-Mersenne perfect number would be a huge accomplishment.

      The Wikipedia article you linked to states that Euler proved a one to one relationship between perfect numbers and Mersenne primes... so wouldn't that be an impossible accomplishment?

    3. 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.

    4. Re:A Little More Perfection by jkflying · · Score: 1

      It has been proved that such perfect number would be odd

      Well, that rules half of them out.

      --
      Help I am stuck in a signature factory!
    5. Re:A Little More Perfection by colinrichardday · · Score: 1

      No, there is a one-to-one relationship between even perfect numbers and Mersenne primes.

  43. There you go by InsectOverlord · · Score: 1
  44. Re:Uhhh... by Anonymous Coward · · Score: 0

    This post is painfully incorrect. Please reread carefully, and if you still don't understand why it's wrong, please ask. I'd rather not even try to formulate a response because it is hurting me.

  45. Re:Uhhh... by adonoman · · Score: 1

    Um.... let's try n=4. 2^4-1 = 15, so not a prime. You might want to read that wikipedia article a little closer.

  46. Re:Uhhh... by Anonymous Coward · · Score: 0

    Considering any number 2^n-1 is prime, this isn't too impressive, except for maybe that they bothered to expand it into a full number.

    Oh look! I've discovered a new, larger prime! 2^57,885,162-1 What do I win?

    (2^8)-1 = 255 is a prime number?

    Then again I am kind of nitpicking. According to the first paragraph of the Wikipedia article a Mersenne prime is Mp = 2^p-1 where p = prime. While a Mersenne number is mn = 2^n-1.

  47. 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.
  48. Re:Uhhh... by Anonymous Coward · · Score: 0

    Not even then. For example, if p=11, 2^11-1 = 2048-1 = 2047. But 2047 = 23*89. As p gets larger, less and less 2^p-1 are in fact prime.

  49. So... by Anonymous Coward · · Score: 1

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

    1. 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
    2. Re:So... by TeknoHog · · Score: 1

      The idea of Double Mersenne numbers is well known, but it would be practically impossible to test with current methods.

      --
      Escher was the first MC and Giger invented the HR department.
  50. 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
  51. Re:Uhhh... by Anonymous Coward · · Score: 0

    Sir, I applaud your dedication to the age-old skill of actual trolling. Though this is indeed a short-form troll, rather than a long-form one that spans multiple threads, you have quite impressively gone for the sounds-intelligent-but-is-fatally-flawed style of troll, complete with a misleading citation for your obviously wrong information. Well done! It is rare that we see that sort nowadays, what with the sad prevalence of trolls simply going for the low-hanging fruit of easily-ignored racial slurs, misogynistic comments, and assertions regarding the sexual proclivity of our mothers.

    But, you're still a troll and knew you were wrong when you posted that, so kindly piss off.

  52. Re:Uhhh... by Anonymous Coward · · Score: 0

    http://bit.ly/VW0mFj -- GOOD DAY SIR

  53. Re:Uhhh... by NoNonAlphaCharsHere · · Score: 4, Funny

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

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

    111 1111 1111 == 2047 == 23 * 89

    Funny how many assertions here that number disproves

  55. Re:Uhhh... by vlm · · Score: 1

    Epic fail 57885162 = 2×3×9647527 and a Mersenne prime is only a Mersenne prime if p is prime, which it clearly isn't.

    2 ** 57885167 - 1 might or might not be a prime, but at least you can't rule it out automagically because 57885167 is in fact a prime.

    --
    "Science flies us to the moon. Religion flies us into buildings." - Victor Stenger
  56. Re:Uhhh... by Anonymous Coward · · Score: 0

    AFAIK humans like to disagree on the most basic things (lets call it bikesheding) and from my limited exposure to math papers i can only assume that every mathematician has his own definition of any mathematical concept, which they happily define the first 2/3 of said paper in the most mindnumbing wway possible.

  57. Re:Uhhh... by Anonymous Coward · · Score: 0

    No.

    A Mersenne prime is a special type of prime that is both prime and and can be written as 2^n-1.

    Not all primes are Mersenne primes, and not all values of 2^n-1 are prime.

  58. 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
  59. Re:Uhhh... by Anonymous Coward · · Score: 0

    I don't think so, 2^11-1 = 2047 which is 23 * 89.

    so 2^p-1 is not prime for prime p=11
    QED

    besides, it would be quite easy otherwise to find a new bigger prime, as if this were true, I could give you
    a bigger prime in mere seconds:

    2 ^ (2^57885161 - 1) - 1 ,oh wait

    2 ^ (2 ^ (2^57885161 - 1) - 1 ) - 1, oh wait ...

  60. 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 vlm · · Score: 1

      This is why I've never been very impressed with the mersennewiki.org. Why store giant files containing the decimal expression of each Mp, when a zipped up binary format would be really freaking small?

      --
      "Science flies us to the moon. Religion flies us into buildings." - Victor Stenger
    2. Re:Number of Digits by Rockoon · · Score: 1

      Both binary and decimal-in-the-ascii-format should actually have about the same entropy. I realize that zip wont do as good job on the later format, but plenty of higher order entropy compressors would see them as nearly equivalent.

      --
      "His name was James Damore."
    3. 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".

    4. Re:Number of Digits by kbolino · · Score: 1

      Both binary and decimal-in-the-ascii-format should actually have about the same entropy.

      Since this discussion is about Mersenne primes and not arbitrary numbers, it doesn't make any sense to talk about entropy. In base-2, a Mersenne prime consists of a single symbol repeated many times whereas in base-10 it consists of (at most) 10 symbols repeated without any discernible pattern. The former is trivially compressible, the latter is virtually incompressible.

      but plenty of higher order entropy compressors would see them as nearly equivalent

      The only way to compress a Mersenne number in base-10 (or any other base not a power of 2) would be to recognize it as a Mersenne number.

    5. Re:Number of Digits by Anonymous Coward · · Score: 0

      I prefer the base 2^57,885,161 - 1 system which will express this prime as a 2 digit number.

    6. Re:Number of Digits by Anonymous Coward · · Score: 0

      100% wrong.

      Mersenne Primes have the binary representation 11111....11111. The number in question can trivially be compressed using arithmetic coding with 1 being 58 million times more likely than EOF. Its entropy is -57999999/58000000 log2(57999999/58000000) - 1/58000000 log2(1/58000000) ~= 4.7e-7 bits per symbol (a symbol being a bit).

      The decimal string has the same Kolmogorov complexity, but that's not the same as entropy. The entropy of the decimal string is *far* greater than the entropy of the binary string, and if we normalize it to bits per symbol with symbol being a bit again, it's almost exactly 1.0.

      I believe the original comment was a joke, BTW. Read its parent.

    7. Re:Number of Digits by Anonymous Coward · · Score: 0

      (Edit: Kolmogorov complexity of the decimal string is actually also higher, since the program has to convert binary to decimal as well as emit a stream of N 1s.)

      What you need to remember is that entropy does not equal "how much can this string be compressed". Kolmogorov complexity does mean that, but there is no such thing as a Kolmogorov encoder - it's formally impossible to construct. You might think you could exhausively search all programs shorter than the program that just prints the string, but sooner or later you'll trial a program that never halts.

  61. Re:Uhhh... by mark-t · · Score: 1

    Doesn't a mersenne prime require that the exponent also be prime? As 2^n-1, where n is composite is *never* prime, as far as I am aware.

  62. CPUs? why not GPUs? by Anonymous Coward · · Score: 0

    wouldn't this be somewhat ideal to compute using GPUs, and substantially faster than CPUs?

    1. 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.
    2. 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).

  63. Re:Uhhh... by ircmaxell · · Score: 1
    Definitely not true:

    110

    That has 2 1s, which is prime (2 is prime), but 6 definitely is NOT prime...

    Likewise,

    1001

    That has 2 1s, which is prime, but 9 definitely is NOT prime...

    --
    If a man isn't willing to take some risk for his opinions, either his opinions are no good or he's no good
  64. Re:Uhhh... by superdave80 · · Score: 1

    I said GOOD DAY!

  65. Re:Uhhh... by Anonymous Coward · · Score: 0

    I just cannot believe that the early mathematicians only tested their statement for
    Mv2, Mv5, Mv7 and then decided, ok, we checked enough, no need to check the next one Mv11

    It's not that it's sooo hard to factor 2047...

  66. Re:Uhhh... by Anonymous Coward · · Score: 0

    Definitely not true:

    110

    That has 2 1s, which is prime (2 is prime), but 6 definitely is NOT prime...

    Likewise,

    1001

    That has 2 1s, which is prime, but 9 definitely is NOT prime...

    Those numbers contain two 1s, but they don't consist of two 1s. The first one consists of two 1s and a 0, while the second one consists of two 1s and two 0s. There is exactly one number (per base) which consists of two 1s, namely 11.

    Of course his claim isn't true anyway, as 2^11-1 shows.

  67. Re:Uhhh... by cellocgw · · Score: 1

    In fact, of the 1,622,441 prime numbers p up to 25,964,951,[5] Mp is prime for only 42 of them.

    I can't believe you wrote that without giving credit to Ford and Arthur!

    --
    https://app.box.com/WitthoftResume Code: https://github.com/cellocgw
  68. Not true. by carpefishus · · Score: 2

    Optimus Prime is bigger.

    --
    Facts take all of the premium out of arm waving - T. Reynolds
  69. Re:Uhhh... by Anonymous Coward · · Score: 1

    ...and 2^6 -1 (63=3*3*7), and 2^8 -1 (255=5*51), and 2^9 -1 (511=7*73), and 2^10 -1 (1023=3*11*31), and 2^11 -1 (2047=23*89), and 2^12 -1 (4095=3*3*5*7*13), and 2^14 -1 (16383=3*43*127), and so on. Note that even when the power is a prime (as in 2^11 -1), the resulting number need not be prime.

  70. 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.
    1. Re:Son of a bitch by Hillgiant · · Score: 1

      I solved that problem years ago: don't use integers.

      --
      -
  71. 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?

  72. Re:Uhhh... by Guignol · · Score: 1

    Well, this is not an epic fail, but there is something epic about it anyway :)
    Looks to me like someone just said 'I think things tend to naturally go up' and you had to explain general relativity in full detail to prove him wrong when dropping a stone was enough :)
    PS: this is supposed to be humorous, not meant to offend you in any way

  73. Re:Uhhh... by Anonymous Coward · · Score: 0

    Doesn't a mersenne prime require that the exponent also be prime? As 2^n-1, where n is composite is *never* prime, as far as I am aware.

    Counterexample: 2^11 -1 = 2047 = 23*89. 11 is a prime.

  74. Sooo...... by freshlimesoda · · Score: 1

    what exactly is its real significance here..can anyone explain as to the applications of the same. A license plate number ?

    --
    I come to Slashdot only to read sigs. One you are reading is mine.
    1. Re:Sooo...... by Rockoon · · Score: 1

      Well, its now trivial to construct a PRNG with a period of 2^57885161-1. It will be pretty slow though.

      --
      "His name was James Damore."
  75. Re:Uhhh... by Anonymous Coward · · Score: 0

    .....[hands back everlasting gobstopper].....

  76. Re:Wrong (So many Fucking Experts) by Anonymous Coward · · Score: 0

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

  77. Re:Uhhh... by Anonymous Coward · · Score: 0

    Someone mod this fag troll for not understanding the wiki article.

  78. Re:Uhhh... by RobertLTux · · Score: 1

    error: Violation of Order of Operations Rules

    actually its 15 not 8 due to it being (2^4)-1

    http://en.wikipedia.org/wiki/Order_of_operations

    --
    Any person using FTFY or editing my postings agrees to a US$50.00 charge
  79. 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.

  80. Re:Uhhh... by Anonymous Coward · · Score: 0

    Considering any number 2^n-1 is prime, this isn't too impressive, except for maybe that they bothered to expand it into a full number.

    Oh look! I've discovered a new, larger prime! 2^57,885,162-1 What do I win?

    brilliant troll, sir!

    A bit brazen, but effective.

  81. Source by Anonymous Coward · · Score: 0

    Did they use this web page?

    http://alpha61.com/primenumbershittingbear/

  82. mathematians are mean by Thud457 · · Score: 1

    That would kill the bear!

    --

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

  83. Re:Uhhh... by Anonymous Coward · · Score: 0

    the gp is right n has to be prime, for 2^n-1 to be prime, but nothing ever said 2^n-1 is always prime if n is prime.

  84. Re:Uhhh... by Anonymous Coward · · Score: 0

    If that were the case, there would be no point in the calculation. You could just take the largest prime number, write that many 1's, and then use it as an exponent of 2, subtract 1, and get another new largest prime number. This is only interesting because most prime numbers don't work as exponents in a Mersenne prime.

    dom

  85. Last Post! by dskoll · · Score: 1

    Hey, don't believe everything you read on the Internet! I'm going to check this puppy out!

    OK... 2^57885161 - 1 is not even.

    2^57885161 - 1 is not divisible by 3.

    2^57885161 - 1 is not divisible by 5.

    Hmm... this might take a while.

  86. Re:Uhhh... by Anonymous Coward · · Score: 1

    Mersenne Prime is both a Mersenne Number (2^N-1) and a Prime number (no even divisions besides itself and 1). So 15 is a Mersenne Number but not a Mersenne Prime.

  87. Re:Uhhh... by Anonymous Coward · · Score: 0

    you win unending ridicule from computer people. it's not hard to win that.

    but still, nice job with the arrogance despite being wrong. it's even funnier because if you read the link you posted, it explains how you are wrong.

    2^n-1 are indeed Mersenne numbers all, but all Mersenne numbers are not prime.

    sorry, thanks for the laugh

  88. Re:Uhhh... by Anonymous Coward · · Score: 0

    if i recall if n is a composite number then 2^n-1 can't be prime.

    so n has to be prime for 2^n-1 to be prime. but 2^n-1 isn't always prime if n is prime. example n=11

  89. Re:Uhhh... by Anonymous Coward · · Score: 0

    Further reading: Set theory.

  90. 7 Megabyte Number by TheNinjaroach · · Score: 1

    57,885,161 bits requires nearly 7 megabytes to represent this number in binary form. Wow!

    --
    I went to eat some animal crackers and the box said, "Do not eat if seal is broken." I opened the box and sure enough..
    1. Re:7 Megabyte Number by Anonymous Coward · · Score: 1

      57,885,161 bits requires nearly 7 megabytes to represent this number in binary form. Wow!

      Yes but you don't need 57,885,161 bits to represent it; "2^57,885,161 - 1" represents it in far fewer, for instance.

      Also to screw with your head: what's the smallest number that can't be represented in less than 100 characters, considering "the smallest number that can't be represented in less than 100 characters" is less than 100 characters?

    2. Re:7 Megabyte Number by Anonymous Coward · · Score: 0

      It is serious business to represent a number so that a computer can do stuff to it. I don't find your unoriginal pedantry amusing either.

    3. Re:7 Megabyte Number by Anonymous Coward · · Score: 0

      In this case every binary digit is 1, so it's not exactly difficult to "do stuff with". And the fact you don't see the interesting philosophical question and relevance to information theory and are rather enamored by large numbers like 7 whole megabytes exposes the level of "serious business" you're capable of.

    4. Re:7 Megabyte Number by psxndc · · Score: 1

      Serious question (it's been many moons since I've coded): what sort of data structure is used to represent these insanely large numbers? And how are they manipulated/utilized so they can be used for computation?

      Clearly it's well beyond the traditional long datatype.

      --

      The emacs religion: to be saved, control excess.

    5. Re:7 Megabyte Number by Anonymous Coward · · Score: 0

      Well, since this number in binary form only consists of ones and no zeros, a good representation would be to run length encode it and merely say that it consists of 57,885,161 ones in binary form. Storing _the number_ 57,885,161 will cost you about 4 bytes of memory.

  91. Re:Uhhh... by dkleinsc · · Score: 0

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

    [citation needed]

    --
    I am officially gone from /. Long live http://www.soylentnews.com/
  92. 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.

  93. 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
  94. prime number and bitcoin by bingbing · · Score: 1

    Will prime number be a good bitcoin replacement? Bitcoin has a hard limit, which is not really how money works. Prime number seems to be ever increasing and hard to farm too.

  95. Re:Uhhh... by Anonymous Coward · · Score: 0

    Mathematics does not deal in disputed definitions!

    If only that were true. Get a bunch of mathematicians together and ask them if the "natural numbers" include zero or not. Analysts tend to say no; discrete mathematicians tend to say yes. The poor number theorists--who should be the ones who own the definition---usually can't decide. In one of the best known number theory textbooks, they define the naturals one way on page 1, and use them the other way on page 2!

    Other examples: A "ring", depending on who you ask, may or may not be associative, may or may not have a multiplicative identity, and may or may not be commutative. An (algebraic) "variety" may or may not be defined to be irreducible. A "compact" space may or may not be required to be Hausdorff.

    Most advanced mathematics textbooks begin with a page or two of conventions in notation and terminology so that the reader will know where the author stands with regard to definitions that are not universal accepted.

  96. Re:Uhhh... by Stirling+Newberry · · Score: 1
    A free all expenses razzing in the slashdot comments. Don't thank us, we love our work.

    You are confusing Fermat's conjecture, which is different (and wrong), with M-primes.

  97. Mersene by Anonymous Coward · · Score: 0

    This is not even slightly interesting unless you can print out a list of all the primes up to and including this number.

    (Yes, I know that's a much harder problem than taking pot shots at the "largest known" prime number.)

  98. Re:Uhhh... by shentino · · Score: 1

    Banks are plenty secure when they can get federal bailouts.

  99. Re:Uhhh... by Bob+the+Super+Hamste · · Score: 1

    Well in my world there are an infinite number of primes but not an uncountable infinite number of primes. Though even there 2^n-1 isn't always prime even when n is also a prime.

    --
    Time to offend someone
  100. 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 Anonymous Coward · · Score: 0

      Probably infinitely less than the amount of energy wasted on watching the Superbowl, or playing time wasting shit like angry bird.

    2. 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
  101. Re:Uhhh... by Intropy · · Score: 1

    Is 0 a natural number?

  102. Re:Uhhh... by t1oracle · · Score: 1

    2 + 2 = 5

  103. Re:Uhhh... by colinrichardday · · Score: 1

    2^5-1=32-1=31, which is prime. Try 2^{11}-1 (using brackets because the exponent has more than one character).

  104. Re:total energy consumed during the 17-year projec by Anonymous Coward · · Score: 0

    I bet you also tell athletes to stop running so that we can use air more efficiently.

  105. Re:Uhhh... by tibit · · Score: 1

    If you could find new primes that easily then internet banking wouldn't be secure

    LOLWUT?'
    $ openssl genrsa
    Generating RSA private key, 512 bit long modulus ...++++ .++++
    e is 65537 (0x10001)
    -----BEGIN RSA PRIVATE KEY-----[...]

    Took a second, maybe, and generated two "new" primes. Each and every time you run it. I find it interesting that anyone would think otherwise. You haven't generated any RSA private keys recently, I think...

    --
    A successful API design takes a mixture of software design and pedagogy.
  106. Re:total energy consumed during the 17-year projec by corbettw · · Score: 1

    What kind of luddite asks for something like this in the first place?

    --
    God invented whiskey so the Irish would not rule the world.
  107. Re:Uhhh... by cryptizard · · Score: 1

    As other people have said, generating primes is actually quite easy. It is a direct consequence of two facts: checking if a number is prime can be done in polynomial time (see AKS primality test), and the distribution of primes is dense (that is, if you pick a random number, in a large enough range it has a non-negligible probability of being prime; see prime number theorem). That means you can quickly generate primes by picking a random number in your designated range and checking if it is prime, repeating until you get one.

  108. 2^100+1 is not divisible by 3 by bigsexyjoe · · Score: 1

    2^100+1 is not divisible by 3.

  109. 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.

    1. Re:but most of math's "usefulness" is handwaving by L4t3r4lu5 · · Score: 1

      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.

      You sound like a PHB who's just watched a Star Trek marathon.

      --
      Finally had enough. Come see us over at https://soylentnews.org/
    2. Re:but most of math's "usefulness" is handwaving by tehcyder · · Score: 1

      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.

      So might the curvature of my arse, that doesn't mean it's worth anyone spending time investigating it.

      --
      To have a right to do a thing is not at all the same as to be right in doing it
    3. Re:but most of math's "usefulness" is handwaving by Anonymous Coward · · Score: 0

      Don't sell yourself short, you sexy thing you.

  110. right. lets visit the local mall by decora · · Score: 1

    now lets imagine the energy consumed to create and power all of those factories in various quasi-modern countries (where building codes are substandard) and lets imagine all the enrgy consumed to ship it over seas on gigantic boats some of which sink then lets imagine all the energy to unload the boats then lets imagine the big trucks that move that stuff out over the country and then lets imagine all of the shopping outlets that the stuff goes into and lets imagine all the light, heat, water, etc, and all the power it takes to run those things and lets imagine what 'use' a shopping mall actually has. actually, none, which is why in the soviet era they probably didn't have "hot topic". the soviet era, however, was also massively inefficient and produced the worst environmental disasters in modern history many of them still secret, (other than whats happening in China, another communist country...)

    so lets just stop bitching at everyone about what they use energy for and how 'wasteful' it is, unless you want to personally stop watching TV, stop eating meat, stop driving a car and having a job and just become homeless and live off of dumpster diving because that truly would be the most 'energy efficient' lifestyle (other than say being a hunter gatherer in the amazon forest - but alot of them have ipods and want to charge it. . . more 'waste' i guess).

  111. Re:Uhhh... by Anonymous Coward · · Score: 0

    No one ever made such a conjecture. Indeed, Mersenne's original conjecture was backed up by a lot more calculation, took centuries to check completely, and had 5 errors.

  112. weaken security? by Causemos · · Score: 1

    Since many security systems are based on large prime numbers (e.g. SSL), I've always wondered if having a huge list of primes would weaken those system? Seems like it would have to unless I'm missing something.

    1. Re:weaken security? by Anonymous Coward · · Score: 0

      Semi-educated thought: As these symmetric key systems depend on primes, finding ever larger _guaranteed_ primes increases their security. No need for "generate a random 512-bit number and hope it is a real prime".

    2. Re:weaken security? by Smerta · · Score: 1

      Disclaimer: I'm not a guru. There are probably people on here who have forgotten more about crypto than I've ever known.

      It's a question of scale.

      There is no such thing as "unbreakable cryptography", only crypto that is so secure that the only attack is brute force, and the brute force approach is so slow and costly (time & resources) that it's simply not worth it. Not even by orders of magnitude. Not even if CPUs speed up at a rate of 2x every 18 months or whatever.

      Somewhere above, somebody posted that there are something like 2^500 prime numbers of length 512 bits. That's a helluva lot. 2^501 = 8^167, or probably something like 10^150 (too lazy to Wolfram it). From what I understand, there are something like 10^80 atoms in the universe.

      Wanna know how many that is? Take every atom in the universe, yes every atom. Now, imagine fitting an entire universe's worth of atoms inside that atom, and also inside all the other atoms in the universe. The point is that the scale of these numbers is essentially incomprehensible, at least to a mental midget like me.

      Even with a "published" list, the numbers are so large (hundreds of thousands of digits), and when you figure the CPU and memory bottlenecks, even brute forcing hundreds of billions per second is still (cue Elton John) "gonna take a long, long time".

  113. Re:Uhhh... by RackinFrackin · · Score: 1

    You are correct, except that the parent was talking about the definition of Mersenne numbers, not Mersenne primes.

  114. Real world problems? by Anonymous Coward · · Score: 0

    Perhaps we could focus on a real world problem...

  115. echo '2^57885161-1' | time bc by Anonymous Coward · · Score: 0

    echo '2^57885161-1' | time bc | tee bigprime.txt | md5sum

    What did you get ? (assumes BC_LINE_LENGTH=70 )

  116. Re:Wrong (So many Fucking Experts) by qwak23 · · Score: 1

    It's actually pretty easy to do in calculus!

  117. Re:Uhhh... by chronokitsune3233 · · Score: 1

    Some argue yes. However, one might simply write ℕ = {x ∈ ℤ : x ≥ 0}, which says that a natural number is defined to be a number in the set of integers greater than or equal to 0. From that point forward, one could continue using the term "natural number" unambiguously throughout a paper. Oh, and in case people can't see that, it's basically N = {x in Z : x >= 0}, where N is a notation used for natural numbers and Z is used for integers.

    --
    I have been a captive in America my entire life. Everybody and everything uses customary units instead of metric.
  118. I assume you actually meant by Anonymous Coward · · Score: 0

    17,425,170 *decimal* digits

  119. Re:total energy consumed during the 17-year projec by Anonymous Coward · · Score: 0

    I'd imagine the benefit per kilowatt-hour is far greater than the average TV set.

  120. The next prime is not far after by Anonymous Coward · · Score: 0

    The next prime is somewhere between 2^57,885,161+1 and (2^57,885,161-1)! + 1. That prime is not necessarily in the form 2^x - 1.

  121. Hey I just found a larger one by Sulik · · Score: 1

    2^57,885,163-1 Huh. Isn't *every* odd power of two minus 1 a prime number, in which case it makes it much less impressive to find a (2^(2N))-1 ?

    --
    Help! I am a self-aware entity trapped in an abstract function!
    1. Re:Hey I just found a larger one by Anonymous Coward · · Score: 0

      2^57,885,163-1

      That one's dividable by 127. You need to brush up on your prime finding skills.

  122. Re:Uhhh... by sFurbo · · Score: 1

    Thank you for that post. I thought it was wrong, as I haven't been taught any number theory for the last 10 years, but reading the WP article on AKS primality test instead taught me something new. Thank you.

  123. Re:Uhhh... by tehcyder · · Score: 1
    I think it's unfair to mod this as a troll: I think it's genuine stupidity.

    He reminds me of those crackpots who whizz through the Theory of Special Relativity, do a "divide by zero" somewhere and proudnly announce that they've shown Einstein was a clown.

    --
    To have a right to do a thing is not at all the same as to be right in doing it
  124. Re:Uhhh... by tehcyder · · Score: 1

    2^6 - 1 = 63. Correct me if I'm wrong, but 63 isn't prime.

    It might as well be if you've only done your times tables up to 6, which apparently a lot of people here have.

    --
    To have a right to do a thing is not at all the same as to be right in doing it
  125. Re:total energy consumed during the 17-year projec by shikaisi · · Score: 1

    Searching for Mersenne primes keeps my study warm in the winter.

    --
    No left turn unstoned.
  126. Curtis Cooper - University of Central Missouri by oracleofbargth · · Score: 1

    It would be more accurate in the story to mention that Dr. Cooper is running the Mersenne Prime Search program across all of the systems in the computer labs at the University of Central Missouri, in Warrensburg, MO.

  127. That's numberwang by fhuglegads · · Score: 1

    Mitchell and Webb anyone?

  128. Re:Uhhh... by manixrock · · Score: 1

    Also:

            2^6-1 = 64-1 = 63 = 7*9

            2^8-1 = 256-1 = 255 = 15*17

            2^10-1 = 1024-1 = 1023 = 31*33

            2^12-1 = 4096-1 = 4095 = 63*65

    Basically all even powers of 2 minus 1 are not primes, as 2^(2k)-1 = (2^k-1)*(2^k+1). It's much easier to see in binary:

            1000000-1 = 111111 = 111 * 1001

            100000000-1 = 11111111 = 1111 * 10001

            10000000000-1 = 1111111111 = 11111 * 100001

            1000000000000-1 = 111111111111 = 111111 * 1000001

  129. Re:Uhhh... by unixisc · · Score: 1

    Why is 0! defined as 1?

  130. FTFY by Anonymous Coward · · Score: 0

    time (echo '2^57885161-1' | bc | tee bigprime.txt | md5sum)

    f14d82090509a1cb1915c8aac26c6916 -
      0.10s user 0.07s system 0% cpu 54:49.90 total

  131. Re:Uhhh... by Hognoxious · · Score: 1

    You appear to be mistaking a necessary condition for a sufficient one.

    --
    Confucius say, "Find worm in apple - bad. Find half a worm - worse."