Slashdot Mirror


Pi Computed To 10 Trillion Digits

An anonymous reader writes "A Japanese programmer that goes by the handle JA0HXV announced that he has computed Pi to 10 trillion digits. This breaks the previous world record of 5 trillion digits. Computation began in October of 2010 and finished yesterday after multiple hard disk problems, he said. Details in English are not fully available yet, but the Japanese page gives further details. JA0HXV has held computation records for Pi in the past."

53 of 414 comments (clear)

  1. What Does This Mean? by Frosty+Piss · · Score: 4, Insightful

    Is there any practical application to this sort of thing, either having the number itself, or whatever method this guy used to arrive at it? Or is this a thumb gazing exercise?

    --
    If you want news from today, you have to come back tomorrow.
    1. Re:What Does This Mean? by Anonymous Coward · · Score: 2, Funny

      a message from god shows up in binary once you get to 20 trillion digits.

    2. Re:What Does This Mean? by Rizimar · · Score: 5, Funny

      I believe that the correct term is "mathsturbation"

    3. Re:What Does This Mean? by Anonymous Coward · · Score: 3, Informative

      No, you only need about 50 decimal places to have an accurate enough approximation to calculate the circumference of the entire universe with less than 1 planck length of error.

      This is just a "because we can" exercise. (Also, supposedly, to determine if PI is actually infinite or whether it contains a repeating pattern after you get to a certain point)

    4. Re:What Does This Mean? by hcs_$reboot · · Score: 2

      You'll never need more than 10 significant figures

      Do you work at the CERN?

      --
      Slashdot, fix the reply notifications... You won't get away with it...
    5. Re:What Does This Mean? by FrootLoops · · Score: 4, Informative

      The only practical application I've ever heard of for projects like this is as an integrity check on new supercomputers. They compute the first X digits of pi and then compare it to a known result which someone computed and verified earlier.

      On a completely separate note, it's "pi", not "Pi". The Greek letter used is lowercase, and the standard English version is similarly lowercase.

    6. Re:What Does This Mean? by FrootLoops · · Score: 5, Informative

      (Also, supposedly, to determine if PI is actually infinite or whether it contains a repeating pattern after you get to a certain point)

      What? There's a mathematical proof that pi is irrational (in fact, transcendental). Specifically, if it were not, -1 would be irrational (in fact, transcendental) thanks to the Lindemann-Weierstrass theorem and the fact that e^(pi*i) = -1. The digits cannot simply start repeating after a while (in particular, they cannot eventually just become 0, as happens with, for instance, 1/2 = 0.5000... .

    7. Re:What Does This Mean? by neyla · · Score: 2

      Even then, this has no practical consequence whatsoever. If you want to compute the circumference of the galaxy, to accuracy such that your answer is off by less than a nanometer, you still need only ~100 digits of pi.

      So yes, in principle you could need more than 10 digits, allthough in practice it's pretty unlikely (it wouldn't matter unless you knew the -radius- with that high precision).

      But raising the bar from 5 trillion digits, to 10 trillion ?

      Irrelevant in the real world. (possibly there's math-applications, I suppose)

    8. Re:What Does This Mean? by oloferne · · Score: 3, Informative

      I imaging that it has applications in astronomy. When you want to precisely compute something over the distance of light years, you may want more than just 10 digits for Pi.

      As a professional astronomer I can guarantee that distance scale measurements are a little bit less precise than one part over 10^13. Even for most precise measurements, e.g. gravitational waves experiment, 16 digit suffices!

    9. Re:What Does This Mean? by fph+il+quozientatore · · Score: 2

      You can switch to German to solve this problem.

      --
      My first program:

      Hell Segmentation fault

    10. Re:What Does This Mean? by maxwell+demon · · Score: 5, Informative

      The radius of the part of the universe visible to us is about 46 billion light years or about 4*10^26 meters. The planck length, assumed to be the shortest length there is, is about 1.6*10^-35 meters. That is, the radius of the known universe is 2.7*10^61 planck lengths. Thus with just 62 digits of pi you are as accurate as the laws of physics allow. In practice you'll never need even that. Indeed, you'll not even measure cosmic distances to the meter (27 digits), or even to the kilometer (24 digits). Even measuring to the light year (12 digits) is probably impossible for objects that far out.

      --
      The Tao of math: The numbers you can count are not the real numbers.
    11. Re:What Does This Mean? by Kilrah_il · · Score: 3, Funny

      I can calculate any digit of pi in binary off the top of my head with 50% accuracy.

      --
      Whenever in an argument, remember this.
    12. Re:What Does This Mean? by nacturation · · Score: 4, Interesting

      If you memorize up to the first zero in pi, you can navigate the circumference of the universe in a perfect circle and when you get to the end of the circle (based on the digits of pi you memorized) you'll be off by less than the width of a human hair.

      --
      Want to improve your Karma? Instead of "Post Anonymously", try the "Post Humously" option.
    13. Re:What Does This Mean? by maxwell+demon · · Score: 2

      The primary reason for this is to confirm the never-ending nature of pi, if I'm not mistaken.

      The never-ending nature of pi is well-confirmed by mathematical proof. It is proved to be irrational (which already implies the never-ending nature) and even transcendental. What might be a motivation is checking the normality, i.e. the assumption that there's no pattern in the digits of pi. Normality has AFAIK not yet been proved.

      That is, if we were to discover, for example, at the 12 trillionth digit, that pi finally does end, that has wide-spread implications on everything from the microscopic creation of semiconductors to the macroscopic terraforming of a (presumably round) planet.

      No one doing semiconductor physics or terraforming cares even about the tenth digit, let alone the 12 trillionth.

      --
      The Tao of math: The numbers you can count are not the real numbers.
    14. Re:What Does This Mean? by Anonymous Coward · · Score: 2, Insightful

      If you're off by nearly the width of a human hair, it's not a perfect circle now, is it? Sheesh.

    15. Re:What Does This Mean? by nacturation · · Score: 2

      If you're off by nearly the width of a human hair, it's not a perfect circle now, is it? Sheesh.

      You can navigate in a perfect circle, but when you reach the end of the perfect circle there will be a little left over because the number you were using for pi to calculate the circumference was off.

      However, don't let me interrupt what must be a satisfying eye roll for you. I'm glad to see cowards on Slashdot have remained as polite as ever.

      --
      Want to improve your Karma? Instead of "Post Anonymously", try the "Post Humously" option.
    16. Re:What Does This Mean? by Pieroxy · · Score: 2

      People think in binary here. It's either perfect or not. In your case, it is not.

    17. Re:What Does This Mean? by nacturation · · Score: 3, Informative

      Roughly how many digits is that?

      No need to google it... here you go: 3.14159265358979323846264338327950

      --
      Want to improve your Karma? Instead of "Post Anonymously", try the "Post Humously" option.
    18. Re:What Does This Mean? by nacturation · · Score: 5, Funny

      How irrational of me.

      --
      Want to improve your Karma? Instead of "Post Anonymously", try the "Post Humously" option.
    19. Re:What Does This Mean? by m50d · · Score: 3, Informative

      IIRC pi has not been proven to be normal yet, so there's some value in gathering statistical evidence on that.

      --
      I am trolling
    20. Re:What Does This Mean? by Tinctorius · · Score: 2

      In computing pi, the method is much more important than the value. Without further details, I don't know if the programmer's method is novel, but perhaps the implementation is.

      The value itself is of little use, except that there is still no answer to the question whether pi follows a pattern, beyond being irrational and transcedental. Keep in mind that the Champernowne constant is irrational and transcedental too, but follows a relatively simple pattern.

    21. Re:What Does This Mean? by julesh · · Score: 3, Funny

      How irrational of me.

      Get real.

    22. Re:What Does This Mean? by Dogtanian · · Score: 4, Funny

      I believe that the correct term is "mathsturbation"

      Given that Pi never ends, could we also call it "onanonanonanonanism"?

      --
      "Slashdot - News and Chat Sites Deviant". (Click "homepage" link above for details).
    23. Re:What Does This Mean? by vlm · · Score: 3, Informative

      AFAIK, we still have no conclusive answer to the question whether Pi has finite or infinite digits.

      No.

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

      There's five different approaches. There are more, mostly closely related cousins.

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

      rational = terminates (your "finite") or repeats (your "infinte"). Which doesn't matter because pi is irrational as per numerous different proofs and all irrational numbers are infinite in length.

      If this is some sort of "holy book" "intelligent design" thing where the bible says pi is actually 3, then I can't help you there...

      --
      "Science flies us to the moon. Religion flies us into buildings." - Victor Stenger
    24. Re:What Does This Mean? by the+entropy · · Score: 2

      yes?

    25. Re:What Does This Mean? by fatphil · · Score: 4, Interesting

      It's not useless for those interested in computational efficiency with huge datasets. (Things like weather modelling, climate modelling, nuke aging analysis, fusion research, etc.)

      If you look at a naive theoretical model for a computer, then you would predict that certain classes of algorithms would be most efficient for calculating digits of pi. (These algorithms use huge FFTs in order to do bignum arithmetic.) Several world records were broken using this technique. However, as the problem size grew, the FFTs started to become impractical, as the communication overhead started to dominate, and eventually algorithms that didn't have such a communication overhead became favoured. Better models of computational efficiency were arrived at, and new records were broken. We now understand time/space trade-offs better.

      However, your loaf of bread won't be cheaper because of this, nor will the number of homeless on the street decrease.

      --
      Also FatPhil on SoylentNews, id 863
    26. Re:What Does This Mean? by Muad'Dave · · Score: 2

      You mean like this?

      There is no DEADBEEF in the first 4 billion digits of pi. but there is a DEADBABE.

      --
      Tiller's Rule: Never use a word in written form that you've only heard and never read. You will end up looking foolish.
    27. Re:What Does This Mean? by ObsessiveMathsFreak · · Score: 2

      If you memorize up to the first zero in pi, you can navigate the circumference of the universe in a perfect circle and when you get to the end of the circle (based on the digits of pi you memorized) you'll be off by less than the width of a human hair.

      To put numbers on that.

      pi ~= 3.14159265358979323846264338327950

      The first zero in pi appears 33 digits in. Memorising digits up to this first zero gives an error of less than 10^(-32). The radius of the known universe is 4.6 * 10^10, light years, and since a light year is close to 10^16m, the radius r is about 4.6 x 10^26m

      Now, the circumerence is 2 pi r, so the error will be of the order of 2 r 10^-32. With r=4.6x10^26, this gives an error of 9.2 x 10^-6 m or essentially around 10^-5m or 10 micrometers. The width of a human hair is about 100 micrometers, so no, there is no real practical purpose to calculating digits beyond this point.

      --
      May the Maths Be with you!
  2. Ham Radio Callsign by storkus · · Score: 3, Insightful

    Kind of obvious to me, being one. Here is his info:

    http://hamcall.net/call/JA0HXV

    And although I'm not first, let me congratulate Shigeru on a job well done! Oh, and to the idiot complaining of all the wasted CO2, please turn in your geek/nerd card now: computing Pi (and e and...) is NEVER a waste! :P

    1. Re:Ham Radio Callsign by AB3A · · Score: 3, Interesting

      Yes, there are. Modern radio systems are meant to be good enough to be reliable. Ham radio systems are the art of the possible. Most hams these days are experimenters who enjoy trying odd things. I've seen voice powered radios, I've seen radio systems designed to communicate via lunar reflections, I've seen radio systems designed to pick up spacecraft in deep space.

      Some hams like to study radio wave propagation. Again, this is the art of the possible, not the engineering of the certain. Bouncing signals off of thunderstorms, sporadic E layer reflectors or meteor trails are all in this category. Occasionally, they stumble across something that works surprisingly well.

      Some still tinker with modulation methods. Hams were playing with spread spectrum radios in the mid 1980s --long before the engineers sat down to work on the so-called wireless standards. Today, work continues with all sorts of forward error correction codes and modulation techniques.

      So, yes, there still is a ham radio. Yes, there still are a more than a few slobs who like to do nothing better than listen to themselves talk on short-wave. But there is still a vibrant core that continues to study all sorts of forgotten alleys in the technology.

      --
      Nearly fifty percent of all graduates come from the bottom half of the class!
  3. Quantum Computing? by luke923 · · Score: 2

    Supposedly, this ran for nearly a year -- imagine how fast someone can come to the same result if he/she was dealing in qubits.

    --
    "Good, Fast, Cheap: Pick any two" -- RFC 1925
  4. Contact by GrahamCox · · Score: 2

    The big question is, does it turn out to contain the plans for a teleporting device?

    1. Re:Contact by Black+Parrot · · Score: 2

      The big question is, does it turn out to contain the plans for a teleporting device?

      Undoubtedly it does, embedded somewhere in the sequence.

      Also the text of every novel that will ever be written.

      Just got to figure out what the encoding is. And figure out where the relevant substring starts.

      --
      Sheesh, evil *and* a jerk. -- Jade
  5. Even better by timeOday · · Score: 2

    The last three trillion digits were all 0, since pi turned out to be rational after all, which turned out to be the key in efficiently factoring large numbers and proving that P=NP. So, we can all go home now, math is done.

    1. Re:Even better by FreakyGreenLeaky · · Score: 2

      This reminds me of a scifi (short) story I read too many years ago - I forget the title or author - I think pi was also being calculated to the Nth and some some magic number was reached and the universe started to unravel. The stars started blinking off, etc.

      Wonderful stuff. I read so many short stories in my youth, I can't remember many, what I do remember though is the slightly-musty smell of the books in a library and immediately having to go to the toilette for a nice bowel movement... olfactory triggers are a sometimes weird and inconvenient thing (to this day).

      Anyway, this anecdote has as much use to you as the 10 trillionth digit of pi.

  6. Re:What's the message? by SpryGuy · · Score: 2

    Wen calculating pie in a given number base (I forget which base), there was an abnormally long string of zeros and ones. The length of this string was the product of two prime numbers.

    Arrange the zeros and ones into a two-dimensional matrix with one prime's units on the X axis, and the other prime's units on the Y axis.

    The result was a "picture" of a circle.

    --

    - Spryguy
    There are three kinds of people in this world: those that can count and those that can't
  7. Re:Electricity usage by Arlet · · Score: 5, Insightful

    Probably not nearly as much as other useless endeavors, such as playing computer games, updating facebook status, or watching super bowl. And reading slashdot, of course.

  8. Re:What's the message? by d474 · · Score: 2

    Yeah, if I remember right, at some point deep inside pi, there is a message primer. It establishes that there is a message to get your attention. Then you begin to decode it, like you said. The trippy part of that is that the message is embedded into the very fabric of the universe through math.

    --
    Authority questions you. Return the favor.
  9. Re:Now that is a key! by Anonymous Coward · · Score: 2, Informative

    A one time pad that can generated perfectly by anyone using simple maths and published techniques? Try worst pad set ever, by telling your adversary the pad is found in the first 10 trillion digits of pi, you just reduced the search space to at worst log2(10*10^12) 45 bits.

  10. Sagemath.org can do many digits by beachdog · · Score: 2

    The sagemath.org open source computation engine has a 2 line benchmark that computes Pi to 5 million digits.

    It took my Atom desktop computer about 15 minutes. I watched it with Top. It sucked up 99 to 100% of the CPU and strangely only 200 Mb out of 2 Gig of RAM.
    Also, it didn't use the Linux swap at all. It kind of got me puzzling that my Ubuntu Linux might be missing some performance optimizations.

    What to do with it? Resume studying mathematics. Make a pretty good symmetric encryption gadget with a CD of huge encryption keys.

    easy:
    sage: numerical_approx(pi,digits=50)
    3.141592653589793238462643383279502884197169399

    takes a long time:
    sage: time a = N(pi, digits=5000000)

  11. Re:too much time by localman · · Score: 2

    Yes, like reading about it on slashdot and complaining that he's wasting time :)

  12. Re:Electricity usage by wvmarle · · Score: 2

    Hey! Without reading Slashdot we wouldn't know about those useless endeavours, let alone be able to discuss them. That in itself proves already that reading Slashdot is not a useless endeavour.

  13. Re:How to actually verify? by EvanED · · Score: 2

    I think there are formulas for calculating the nth digit without knowing the previous ones. Assuming this is so, you can get a probabilistic proof very easily: just pick 100 random digits, compute their values, and check against the claim. (It may require some computational power to do this, but it should still be plenty tractable.) If they all match, you've got solid evidence it is correct.

  14. Re:How to actually verify? by EvanED · · Score: 2

    So I'm sort of right and sort of wrong. There are digit-extraction methods for pi, but according to wikipedia, they work in O(n^2) time (for the n'th digit). But it also looks like there's an algorithm to compute up to the nth digit in time O(n log(n) log(log(n))).

    Which means that asymptotically, if the storage requirements of the second alogrithm don't preclude its use in those cases, there's some N for which it's actually faster to compute all of the first N digits than just do the N'th digit directly.

  15. Mistake by fnj · · Score: 3, Funny

    It looks to me like there is a mistake in the 34,518,296,721th digit. Could you repeat and compare please?

  16. Re:What's the message? by FrootLoops · · Score: 5, Informative

    To decipher the math-speak on that page for the less mathematically inclined, here's my explanation of what a normal number is, geared towards a programmer.

    Say you generated a number by randomly picking digits 0-9. After generating 100 digits, you'd expect close to 10 of them to be "7" (1/10). After generating 1000 digits, you'd expect about 100 to be "7" (1/10 again), but you'd expect only about 10 copies of the string "57" (10/1000 = 1/100), since there are 100 possible two-digit strings ("00", "01", ..." 99") and there are about 1000 length-2 substrings in a string of 1000 digits (999, to be precise). In general, for such a string of length N, we'd expect about 1/10th of the digits to be "7" and 1/100th = 1/10^2 of the substrings to be "57". If we made N very large we would also expect these estimates to get closer and closer to the truth.

    You might get some strange abberations by random number generation. For instance, with astronomical bad luck you might generate 0 each time, and then your estimated fraction of "5"'s would be completely wrong. Still, the above properties are pretty good measures of how "well mixed" the digits of a number are, and they're taken (with mild generalizations) as the defining conditions of a normal number.

    Specifically, for a given number x, imagine writing out its (infinitely many) digits in base b. Pick a substring of length m that you're interested in--say an encoding of Shakespeare's complete works in the original Klingon. In the first N digits, we would like to require the fraction of substrings matching our given string to be 1/b^m in analogy with the above (1/10^2 came about from b=10, m=2). That's too much to ask, so instead specify a small tolerance above and below 1/b^m. The key condition for normality is that if we look at the first N digits where N is larger than some number (which depends on the tolerances, the substring we picked, and x itself), the actual fraction of matching substrings will be within our tolerances of 1/b^m. A normal number is one where you can perform this operation in any base, with any substring, and with any tolerances.

    If pi were normal, there would have to be at least one (indeed, infinitely many) occurrence of a given encoding of Shakespeare's works, since otherwise for N large enough the number of matching substrings would be near 0, and we could specify our tolerances to be between, say, 1/2 * 1/b^m and 3/2 * 1/b^m, which is strictly greater than the fraction of matches for N large enough since that fraction tends to 0, so it can't be within these bounds.

    It's not too surprising that proving the normality of a number is much harder than believing it. Essentially, any number whose decimal digits appear "quite random" feels normal.

  17. Re:Madness by Compaqt · · Score: 2

    >All that CO2 for nothing!

    All those digits were calculated with Occupy San Fran bicycle-powered laptops, you insensitive clod!

    --
    I'm not a lawyer, but I play one on the Internet. Blog
  18. The calculation was commissioned by msobkow · · Score: 2

    The calculation was commissioned by an anonymous group known as Occu-Pi.

    --
    I do not fail; I succeed at finding out what does not work.
  19. Re:Madness by michelcolman · · Score: 2

    And how much CO2 did those people breathe out while pedaling? And how much extra did they have to eat afterwards? Where did that food come from? Etc...

  20. Pi is *exactly* 1 by KlaymenDK · · Score: 2

    Pi is exactly 1, if your numbering system uses base pi.

  21. Tau, not Pi! by Phrogz · · Score: 3, Informative

    That's all well and good, but what about digits of tau?

  22. Re:Prove it by Goose+In+Orbit · · Score: 2

    The usual method is calculate it twice, using different algorithms, then compare the results and claim up to the point that the two methods start to differ

  23. That is only true for measuring circles by bigsexyjoe · · Score: 2

    There is a lot more to Pi than calculating circle sizes. There are open mathematical questions about Pi.

    For example, is Pi a normal number? (A normal number is one in which all digits appear with the same frequency in every base). And if this product turns out to be true for the at least the first 10 trillion digits, it can be a great random number generator.