Slashdot Mirror


A Much Bigger Piece Of Pi

Punk_Rock_Johnny points to an AP story on Pi-obsessed Professor Yasumasa Kanada. A snippet from the story: "Kanada and a team of researchers set a new world record by calculating the value of pi to 1.24 trillion places, project team member Makoto Kudo said yesterday. The previous record, set by Kanada in 1999, was 206.158 billion places." Trillion! "

10 of 677 comments (clear)

  1. math question about pi by selectspec · · Score: 3, Interesting

    Does the problem that pi can't be expressed in decimal notation extend to other base systems? For example, if you tried to write pi out in binary or hex would you encounter the same problem? Is there a special base system (other than base pi) which can describe pi in a finite number of digits?

    --

    Someone you trust is one of us.

  2. Signature of God? by Speare · · Score: 5, Interesting

    In the book version of Contact by Carl Sagan, but skipped in the Jodie Foster movie, was the notion that the aliens had discovered proof that the universe was created by a higher intelligence. A God or society of Gods far higher and more advanced than the aliens. The whole point of dragging Human-kind to that remote beach to talk with daddy was to tell Human-kind that it was time for them to look for God's signature on this universe.

    As any artist, the creator signed the creation. Where? Deep into the insignificant but irrefutably valid digits of several of the fundamental mathematical constants such as pi and e.

    The main character finds one of the signatures at the end of the book: if calculating digits of pi in base 11, after a few million or billion places, a 500x500 digit span is almost entirely zeros. If the span was rendered as a square of pixels, the non-zero digits drew a perfect circle inscribed in the square. A circle in a square. The key concept defining pi, in the digits of pi itself. The whole way the universe works is affected by that constant, so any such 'design' in it has, if you pardon the pun, a transcendental import.

    Why base 11? It's left to the reader to decide, but I expect Sagan wrote it because it is considered one of the possible designs of the universe, one of the string theories is based on an 11-dimensional all-inclusive physics model. As the alien explains to the main character, it wouldn't be base 10, because what's the likelihood that the creator also happened to have ten fingers?

    --
    [ .sig file not found ]
    1. Re:Signature of God? by JanneM · · Score: 4, Interesting

      No. The rearranging of bases, sizes, images and so on is just diluting it even more.

      Say we get a trillion digit sequence. Chances are that if you look long and hard enough, widening your parameters for what's acceptable enough, you will find something. Say you accept not just a perfect (according to some pixellization algorightm) circle exactly filling a 500x500 square in base eleven, but a pretty good approximation of any geometrical figure in any base up to some base and with an image size of anything from 32x32 up to those 500x500 - you suddenly have not just one chance per position in the sequence, but millions. That "Bible Code" scam worked exactly the same way - cast your net wide enough and you can't fail to find something.

      Have fun.

      --
      Trust the Computer. The Computer is your friend.
  3. How To Calculate Pi by DrDevil · · Score: 3, Interesting

    You can calculate Pi by doing:

    (1 - 1/3 + 1/5 - 1/7 + 1/9 - 1/11 + ..) x 4

    Obviously the more iterations you do, the closer you will be to the 'true' value of Pi.

  4. No, pi is irrational by smcv · · Score: 5, Interesting

    Pi is represented usually by a fraction or relatively simple equation, it's just the division that makes the number go on for ever.

    Nope. If pi was rational (a fraction), it wouldn't go on for ever without repeating. (reference)

    In fact pi is irrational, i.e. there are no integers p, q such that pi = p / q. (proof)

    You can approximate pi as a fraction, which is what projects like this do. (pi is approximately equal to 31/10, or 314/100, or 31416/1000, or ... but these are just approximations; 22/7 is a good enough approximation a lot of the time, but that's just an approximation too)

  5. Re:Well ... what is it? by isorox · · Score: 3, Interesting

    Why waste all that space? You can write any number from 0 to 255 in 1 byte, any number from 0 to 65355 in 2 bytes, and 0 to 4.2billion in 4 bytes.

    Anyone care to do the math about how much space you need (uncompressed)? (I cant cause I'm dumb)

    P.S. Does Pi compress very well?

  6. For comparison... by MarvinMouse · · Score: 5, Interesting

    A google only has 100 zeros, thus 100 places.

    10^trillion is 1 followed by 1 trillions 0's... Assuming we are following the american system that would be equivalent to.

    10^(10^12)

    Okay... now.. let's get some interesting facts with this.

    The absolutely smallest length measurable by quantum theory is the planck length which is approx 10^-34 m. Needless to say, if we have a diameter of an incredibly small perfect circle, we'll know it's circumference beyond what is possible by quantum theory (but since there are no perfect circles, and quantum theory adds probability, this doesn't mean anything really useful. :-P)

    Now, since we know the smallest measurable... lets look at what the estimates for the size of the universe are. Recent estimates put it as 10 billion light years in radius source
    Which works out to about... (assuming american notation on billion)

    10^9 * 300,000,000 m/s* 365*24*3600 ~= 10^25 m

    Okay... now if we were to measure the circumference to as accurate as allowed by quantum theory we'd have.

    pi*2.10^25 ~= 6.28*10^26 10^27 with an accuracy of about 34 decimals...

    So... to get perfect accuracy as allowed by quantum theory we would have at most 35 decimal places afterwards... therefore, we'd need pi with an accuracy of

    ~10^63...

    We have pi with an accuracy of 10^(10^12) which is
    63 : 10^12 ~= 1: 1.59x10^11
    Way more accuracy then we really need. :-)

    That's absolutely insane, but it is fun math.

    Just some food for thought.

    --
    ~ kjrose
  7. Re:Well ... what is it? by spac · · Score: 3, Interesting

    Actually, to store a number this large it will have to be stored in IEEE 754 format.

    In IEEE 754 a string of either 32 bits is divided into a sign bit, 8 or more bits for the exponent, and 23 or more bits for the mantissa.

    You'll probably need a little more than 4119190837661 bits to tell you the truth.

    Then again, who cares.

    Only on slashdot....

    My Blog: http://gozman.org

  8. Re:One simple question by Servants · · Score: 3, Interesting

    Nope. Any number with a recurring pattern is automatically rational, and pi is not.

    This isn't too hard to see. For example, if pi repeated after 1.5 trillion digits, we could write its value (where [1.5tril] represents all those repeating digits:

    pi = 3.14159[1.5tril]..14159[1.5tril]..14159[..]

    Then multiply this number by 10^(1.5 trillion).

    10^(1.5trillion) * pi = 314159[1.5tril].14159[..]

    such that the repeating part starting with .14159 still follows the decimal point.

    Then subtract the top equation from the bottom one, so the repeating part gets subtracted away.

    (10^(1.5 trillion) - 1) * pi = 314159[1.5tril]

    Then just divide both sides by (10^(1.5 trillion) - 1) and you've written pi as a ratio of two integers.

  9. Re:Well ... what is it? by SWPadnos · · Score: 3, Interesting

    With a few extra bits, you can make it easy to extract any digit of the number.

    Split the 1.24TB number into triplets, and store each triplet in 10 bits:

    (leaving off the initial 3):
    141 592 653 ...
    encode into 30 bits:
    0010001101 1001010000 1010001101 ...

    Pack these together (and on and on), and you use only ~517 GB, but you can index to any digit by a simple division, shift, and decimal conversion.

    (assuming you decided to put together a RAID array for the storage in the first place :)

    --
    - The Sigless Wonder