Slashdot Mirror


Are The Digits of Pi Random?

Steve Hamlin writes "A researcher at Lawrence Berkeley National Laboratory, and his colleague at the Center for Advanced Computation at Reed College, have taken a major step toward answering the age-old question of whether the digits of pi and other math constants are "random." In addition, a simple formula discovered makes it possible to calculate the Nth binary digit of Pi without computing any of the first N-1 digits, and do the computation with very little computing power. "

478 comments

  1. Re:yeth by Anonymous Coward · · Score: 1

    my 6th class chemistry teacher:
    "pi is 3.14... which is close to 3 ... for easier calculation we'll use 2."
    Dr. Donner
    (Yes, this is really true.)

    BTW:
    Shouldn't that be ...doh.gov ?

    anti
    ps:
    yes, I should lookup my password.

  2. Re:To Random or not To Random by Anonymous Coward · · Score: 1

    Umm, that's trivial. The string of random numbers in pi can be compressed down to Leibnitz's series or Wallis's formula, or the formula mentioned in the article, without loss. Although these formulae are all infinite series, they can be represented as a finite number of instructions to instruct a computer to "decompress" pi. finite < infinite, therefore this is pi, compressed.

  3. Re:Base 5 by Anonymous Coward · · Score: 1
    All your Base 5 are belong to us.

    Sorry, couldn't resist (:

    And that, my friends, is why the RIAA is in big big trouble.

    No longer are artists dependent on record company marketing and promotion. Word of mouth ain't what it used to be. It's now global, very fast, and overwhelming when it gets a good start.

    If this isn't convincing, there's a Turkish lurvegod who can back the argument up too.

    Offtopic, but very much on-hobbyhorse...

    Your Affectionate Cousin

    AC

  4. Re:Depends on how you choose to define "random" by Anonymous Coward · · Score: 1

    Webster's is not a very good source for mathematical definitions. Try looking up group, ring, field, module, etc. You're not going to get the mathematical definitions of these words.

  5. Re:Partly old news by Anonymous Coward · · Score: 1
    The fact that there's a algorithm for determining the Nth digit of Pi is old news. The BBP formula which does that was discovered by Bailey, Borwein, and Plouffe in 1995.

    This result derives directly from the discovery of an ingenious formula for pi that Bailey, together with Canadian mathematicians Peter Borwein and Simon Plouffe, found with a computer program in 1996. Named the BBP formula for its authors...

    The article simply mentions that the BBP formula helped lead to the conclusions presented here.

  6. Re:Biblical precidence by Anonymous Coward · · Score: 1
    I don't think the above post should have been mod-ed "funny." I would mod it -1, Pathetic Misuse of Biblical Text

    I would mod down the above post as Pathetic Misuse of Gematria.

    here are some facts you may find more useful than jiggery-pokery in the future:

    1. the hebrews used the cubit (distance from the elbow to the fignertips) as a unit of measure. cubits are highly variable; "3" is probably about as accurate a measure of pi as the hebrews could get with such a crude measurement.
    2. the nearby city of Tyre had the most accurate approximation of pi -- and they kept it a secret, since they made a lot more money that way. pi, during the time period in question, was intellectual property.
  7. Re:This is a clear violation of the DMCA by Anonymous Coward · · Score: 1

    This is amazing! What this also means is that even movies not yet made are imbeded in the very structure of the universe. I'm searching for Star Wars Episode II. I think I found part of the trailer starting around the 5.32*10^907456th digit of pi, but I haven't yet located the real movie. Anyone else found it yet? BTW - if anyone finds my dissertation, let me know so I can get the graduate student counsel off my back. With all this movie hunting I haven't had time to work on...

  8. yeth by Anonymous Coward · · Score: 2

    pi = 3

    1. Re:yeth by maroberts · · Score: 1

      Jokes aside, a lot of engineering calculations before the advent of computers were performed in precisely this way i.e. by approximating known irrational numbers to integers.

      It is still part of engineering to calculate an error budget, to ensure that whatever you are designing can handle whatever errors you introduced when designing you new gadget. Its just that computers have allowed us to make the margin for error that much smaller.

      --

      Donte Alistair Anderson Roberts - hi son!
      Karma: Chameleon

    2. Re:yeth by john_many_jars · · Score: 1

      hate to break it to you, pi (and all other irrationals) is still approximated on a computer

    3. Re:yeth by magarity · · Score: 1

      Pie aren't square; Pie are round.

    4. Re:yeth by matrix29 · · Score: 1

      And the number of digits to represent any formula for the digits of Pi will always equal each other.

      Which is SMALLER?
      355/113 or 3.141592
      You still have the same basic number of digits.
      Pi=3.1415926535897932384626433832795
      The formula to represent this will use 32 digits.

      Want an interesting hobby?
      Divide any number into 1.
      Take 1/7 = 0.142857 142857...etc
      All the numbers that can be divided into 1 to equal the same number of digits before repeating infinitely will ALWAYS be prime. This set of primes are just 1/3 of all prime numbers, but they prove the concept of irrational numbers not being the result of a division of N/X.

      --
      "Face it, a nation that maintains a 72% approval rating on George W. Bush is a nation with a very loose grip on reality.
    5. Re:yeth by Genoaschild · · Score: 1

      It's good enough for most programs, it's not good enough for me. I need to know PI out to 1.2 * 10^-9999999999999 digit exactly because I have this new super tool that can take measurement out to 1.2*10^-9999999999999 decimals places and is based on PI. I don't want to lose those extra decimal points.
      ----

      --
      Just because a bunch of people believe or do something stupid, doesn't make it any less stupid.
    6. Re:yeth by etdiva · · Score: 1

      Because 22/7 is 3.14-. Perhaps that is why.

  9. Eh not really by oGMo · · Score: 2

    IANAC(ryptographer), but this isn't quite as "simple" as you make it out, regardless.

    Your first assumption is bad, to start with. Someone can always "just use more bits". Since OTP's are usually transported in whole, using a million bits for the offset isn't going to be an unduly burden. You could fit that on a 3.5" floppy with room to spare.

    Now, a million bits is a lot of bits. Let's see... 2^(1024*1024) = 6.74e315653, if my calculations are correct. For reference, there are only about 1e130 atoms in the universe. Saying you could do a million comparisons per second (grab the PI subset, XOR, compare with your "known" string), you need 6.74e315647 seconds to search the keyspace (given there are no repetitions in PI). Now, IANAP(hysicist) either, but my guess is that's more time than you've got left in the universe on a good day.

    So your third point isn't at all reasonable. And that merely assumes someone is using a single OTP. It also assumes they're using a simple XOR and not doing some convolution to produce multiple resulting pads, etc.

    Finally, your forth point is much handwaving. Any given data might be valid. With a OTP, you can't tell! You could probably find many valid headers in even a much more limited keyspace: likely those sequence of bytes could at one offset appear to be a perfectly valid JPEG, the next a word document, the next a random stream of numbers. And who says it isn't the random number stream that's the right one?

    So while this may seem like an obvious way to defeat it on the surface, it's much more time consuming and less productive than you might think, especially on arbitrary encrypted data.

    IANAM(athemetician) either (I'm a programmer, dagnabit ;-)), but I think the point here is that an arbitrary "slice of PI" is a random sequence. And with the properties of a pad, you're still going to be spending a very long time trying to decrypt it.

    --

    Don't think of it as a flame---it's more like an argument that does 3d6 fire damage

  10. Never mind... by opus · · Score: 1

    I wasn't linking against libm. *sigh*
    --

  11. floor and pow functions by opus · · Score: 2

    Okay, could someone clue me in as to where the floor() and pow() functions are, so I can compile this and try it out? According to the man pages (RedHat 7.0) they're in math.h, but they're not!
    --

    1. Re:floor and pow functions by damiam · · Score: 1

      They are, but you need to link to the math library. Add -lm to your gcc command.

      --
      It's hard to be religious when certain people are never incinerated by bolts of lightning.
  12. Re:nth digit of pi by phil+reed · · Score: 1
    Last I heard, the algorithm only worked in base 16, but that may have changed now.

    Uh, since the article says it finds the Nth binary digit, I think it would be safe to say that the algorithm actually works in binary. That technically means you're right, since hex is a binary shorthand.


    ...phil

    --

    ...phil
    "For a list of the ways which technology has failed to improve our quality of life, press 3."
  13. Re:nth digit of pi by phil+reed · · Score: 1

    OK, convert 0.1 decimal into any base that's a power of two. Let me know when you're finished.


    ...phil

    --

    ...phil
    "For a list of the ways which technology has failed to improve our quality of life, press 3."
  14. Re:To Random or not To Random by Tim+Macinta · · Score: 2
    here's a simple test... try to compress the "random" string of numbers; if you can compress a string of random numbers, it isn't

    I don't think that's correct. Consider an irrational number whose digits after the decimal point each have a 9/10 probability of being a 0 and a 1/10 probability of being a 1. Here are some examples that satisfy this:

    0.0000001010000010000000000001....
    0.0100000000000001100001000000....
    0.0000001001000000001000000101....
    This is definitely random (you have no way of knowing whether the next digit will be a 0 or a 1), but it is also definitely compressable (each such number should be compressable to about 1/10th of the original size).

    Now, I'm not saying that PI can be compressed in this manner, but if any digit did happen to appear more than another it could be compressed while still being random. A simple Huffman coding should suffice for such cases.

  15. Re:To Random or not To Random by Tim+Macinta · · Score: 2
    Huh? For the sequence to be random, each subsequent outcome must have an equal probability of occurring. That is, each subsequent digit must have an equal likelihood of being a zero or a one.

    No, that's called a uniform distribution. It's a sufficient, but not necessary condition of randomness. There are plenty of other random distributions.

    you are redefining "random".

    Not quite. Take at look at the second definition of "random" from dictionary.com (the one that's explicitly labeled as the mathematical definition):

    Of or relating to a type of circumstance or event that is described by a probability distribution.
    And then take a look at this list of probability distributions. You will see that your "definition" of random actually only describes the uniform distribution and that there are plenty of other ways for a variable to be random.
  16. Re:To Random or not To Random by Tim+Macinta · · Score: 2
    We were using the sense of random that they had an even distribution.

    Ah, so there's the problem. You specifically said in your first post (and I quote):

    Any mathematically random data cannot be compressed.
    That would certainly indicate that you were talking about the mathematical definition of "random" (which doesn't require "an even distribution"). I guess the Slashdot title and description didn't help matters - I don't know why they used the colloquial meaning of "random" in a context where it means something different (the mathematical context).

    Anyway, my original post was in response to the assertion that you can't compress "a string of random numbers". If the string were an unknown sequence of uniformly distributed random variables, then that makes sense, but that wasn't stated.

  17. Re:To Random or not To Random by Tim+Macinta · · Score: 2
    Did anyone ever Huffman-code, winzip, run-length, or otherwise the first billion... digits of PI to see if they compressed at all?

    This guy sounds like he did something similar.

  18. Re:formula for nth digit != random? by Hitch · · Score: 1

    predictable is not the same thing as having a pattern. predictable (here) means, as someone else put it above, calculatable. just because there's a formula to predict digits down the string doesn't mean it follow any pattern OTHER THAN THAT OF THE FORMULA FROM WHICH IT IS DERIVED. pi is the output of a formula. it doesn't exist as a number in and of itself. it's derived from observation of other things - so maybe formula isn't a correct word there. but the point is, its ability to be predicted derives from its observable and formulaic nature, not from the fact that there is any INTERNAL pattern. which is what we're looking for.
    -------------------------------------------- --
    All that glitters has a high refractive index.

    --
    You see, without that little doohicky, the universe stops.
    http://propheteer.org
  19. Re:Formula for a != message. by Hitch · · Score: 1

    ...not my intent, but I suppose if the shoe fits...
    ----------------------------------------- -----
    All that glitters has a high refractive index.

    --
    You see, without that little doohicky, the universe stops.
    http://propheteer.org
  20. Re:formula for nth digit != random? by Hitch · · Score: 1

    okay...interesting. by pattern, however, I mean internal to the string of digits...I still don't see that there is one. not that I wouldn't like there to be, but I don't yet see it. with your second point (one that I admittedly don't fully grok as I didn't get to read the article...damn thing is slashdotted...) If we see that there is a pattern in the binary representation of pi...doesn't that indicate a pattern nonetheless??? why are we so...so...set on wanting our patterns to all show up in base 10?
    ----------------------------------------------
    All that glitters has a high refractive index.

    --
    You see, without that little doohicky, the universe stops.
    http://propheteer.org
  21. formula for nth digit != random? by Hitch · · Score: 5

    I was wondering the same thing...BUT. I think we're looking at this the wrong way. the number are not, and have never been, and are in no danger or question of BEING, truly random. they're there, they're set, and it's done. the question is "is there a pattern"? and so, the formula does not automatically force there to be a pattern, just forces us to realize that they're static and predictable.
    ------------------------------------ ----------
    All that glitters has a high refractive index.

    --
    You see, without that little doohicky, the universe stops.
    http://propheteer.org
    1. Re:formula for nth digit != random? by tgibbs · · Score: 2

      It seems to me amazing how many people find this a difficult point. Yes, everybody knows that pi is not a random number. The question, "Are the digits of pi random?" is merely a short-hand way of asking, "Is there any way of distinguishing a sequence of digits from the expansion of pi from a random sequence of digits other than by comparing it to the digits of pi?"

    2. Re:formula for nth digit != random? by Overd0g · · Score: 1

      Huh? So if I get a list of random number ( say from nuclear decay ), but then write them down on a piece of paper, they are no longer random? Wow, that's interesting.

    3. Re:formula for nth digit != random? by SlippyToad · · Score: 2
      Yes, everybody knows that pi is not a random number. The question, "Are the digits of pi random?" is merely a short-hand way of asking, "Is there any way of distinguishing a sequence of digits from the expansion of pi from a random sequence of digits other than by comparing it to the digits of pi?"

      NO NO NO! If the question is too short to fit on a bumper sticker, it cannot be profound or meaningful. Please! You're confusing the other readers.

      --
      One day I feel I'm ahead of the wheel / the next it's rolling over me / I can get back on / I can get back on
    4. Re:formula for nth digit != random? by 3am · · Score: 1

      that's why mathematicians refer to PI as a potentially 'normal' number as opposed to a potentially 'random' number.

      a possible rephrasing of the question could be this: "given only the first n digits in the base b expansion of pi, can you devise a method of guessing the n+1 digit with a probability greater than 1/b?"

      you must remember that you must take the digits of pi out of the context of pi - ie, you can't guess the next number by using BBP theorem, it must be based solely on the n digits in your that were given.

      --

      A: None. The Universe spins the bulb, and the Zen master merely stays out of the way.
    5. Re:formula for nth digit != random? by the_2nd_coming · · Score: 1

      if they are predictable there has to be a pattern. that is what makes somthing pradictable.

      --



      I am the Alpha and the Omega-3
    6. Re:formula for nth digit != random? by the_2nd_coming · · Score: 1

      that would be cool, has that been applied to other mathmatical situations?

      --



      I am the Alpha and the Omega-3
    7. Re:formula for nth digit != random? by Genoaschild · · Score: 1

      I think what a better expression is that they are calculatable. Meaning, their might be a pattern but we may not be able to discover it in decimal because it doesn't exist their.
      ----

      --
      Just because a bunch of people believe or do something stupid, doesn't make it any less stupid.
    8. Re:formula for nth digit != random? by madPatter · · Score: 1

      What meaning could there possibly be in a pattern that exists only in a subset of the inifinite number of different representations, and which changes from base to base within that subset? As one of my math professors once put it, this is just an exercise in numerical masturbation.

      The meaning might not be in the pattern itself. The existence of a pattern for pi in any given base could be the important part. Who knows, maybe this will give us more understanding of how different bases work which could give us an efficient means of factoring (not to say that base representations and factoring are linked at all, but they might be). And an efficient means of factoring is certainly important.

  22. Re:Optimum compression... by AxelBoldt · · Score: 2
    Here's a neat (albeit *extremely* slow) idea: whip up a small (lisp? scheme?) program to generate all correctly-formed C programs without any string constants and exactly one function putc(), smallest to larger, and compile them all, and see exactly which ones output your file.

    Except some of those programs will never halt. And Turing taught us that by simply at a program, you cannot tell whether it will ever halt. You have to run it. And that may take time.

    --

  23. Re:"Randomness". by osu-neko · · Score: 1
    Theoretically, if you had all the information in the universe (i.e. exact position and velocity of every fundamental particle) at your disposal and unlimited computing power, you COULD determine everything that is to happen (or has happened). Then nothing would be random.

    This view is known as determinism. It is, incidently, an essentially religious view. The poster nor anyone else could possible know the truth or falsity of the above statement. Anyone who believes it (or believes it to be false) is committing himself or herself to a view with not a single shred of evidence for or against it...

    --

    --
    "Convictions are more dangerous enemies of truth than lies."
  24. Re:nth digit of pi by osu-neko · · Score: 1
    This is only true of you don't allow use of a notation saying "repeat this sequence infinitely". Under these conditions, 1/3rd can't be exactly expressed in decimal notation. Actually, it can, write ".3" and draw a bar over the 3. 1/10th can be expressed exactly in binary using the same trick.

    Incidently, 1/3rd does not repeat infinitely if expressed in base-12, a far more logical base for numbers than 10. Just ask 13th century Polish from an alternate universe... :)

    --

    --
    "Convictions are more dangerous enemies of truth than lies."
  25. Re:Cool Application! by Hallow · · Score: 1

    Actually, the you could make a pretty cool one-time pad for text messages. ;)

    Take your text and rot13 it, or do a similar transform. Then uuencode it. Remove the uuencoding headers/footers. XOR it with x number of digits of pi, from point y.

    You've given the person you're communicating with a calendar with a different x and y on it every day, generated with a decent random number generator. These could be of arbitrary size.

    Yes, this requires you to transfer the keys in advance, and has the obvious problem of someone stealing or copying your calendar. But your digital correspondence security is always, at it's best, only as good as your physical security. PKI methods have the same limitations. Someone gets your private key, and you're pretty much screwed. Your monitor can be read from a distance too, you know.

    Of course it might not survive some good cryptanalysis, but it would be sufficient I think for casual use. ;)

  26. Re:This is a clear violation of the DMCA by Nathaniel · · Score: 2
    "Therefore, somewhere in the digits of Pi is a string of digits which, when transformed into binary, form the code to decrypt CCS on a Linux box. All the scientists have to do is find the correct starting position and how may digits need to be calculated. The resulting information could be spread throughout the internet and used to decrypt protected content. "

    You've misunderstood something very basic. The fact that something is infinate does not guarentee that it will contain everything. There may be sequences that do not occur.

    On the otherhand, once you've located a particular sequence, providing the offset and length may be a good compression algorithm, depending on how efficiently you can store the offset. ;-}

  27. Re:To Random or not To Random by spitzak · · Score: 2

    A pattern is also evidence that the compression could be better.

  28. Just one question by Odinson · · Score: 2
    When someone breaks into a beowulf/supercomputer, what will be the default job now? N queens? Traveling salseman? 6 month Market Predictions?

    Or maybe just rendering 5 min of Jar-Jar galumping around...Shiver

  29. pi vs. /dev/urandom by boinger · · Score: 2
    So, if pi is random, is it a "good" random? How does it compare to /dev/urandom for useability?

    I think someone's said it before, but, doesn't having a formula that allows calculation of arbitrary binary digit, in fact, make it NOT random? I'm just trying to grok how something can be "easily calculated" and still be truly random.

    --
    Send your friends messages of love at fuck-you.org
    1. Re:pi vs. /dev/urandom by boinger · · Score: 3
      I understand that - I was asking as to the algorhythm used to generate /dev/urandom. Is this formula for binary digits of pi as low-resource intensive as the /dev/urandom formula?

      If it's really low, could we even use /dev/urandom as a seed for the digit choice? Or vice versa?

      --
      Send your friends messages of love at fuck-you.org
    2. Re:pi vs. /dev/urandom by smileyy · · Score: 2
      So, if you were to take an infinite number of digits of Pi, each of the digits would appear an equal number of times.

      As long as all the probabilities are greater than 0, even if they vary wildly, all the digits would still appear equally in an infinite set. They would all be infinite.

      You can look pretty foolish speaking about the infinite, if you don't know what you're talking about.

      --
      pooptruck
    3. Re:pi vs. /dev/urandom by tapiwa · · Score: 1

      Which part of infinity-is-not-a-number do people not undertand?

      Infinity is a direction!!

      Your statement should be, as the number of digits of Pi you sample approaches infinity, .....

      --

      Live today. Tomorrow will cost a lot more!

    4. Re:pi vs. /dev/urandom by SideshowBob · · Score: 1

      You can use the indexed digit of Pi both as the random value and also as the next index into Pi. You'd probably want (at least) 32 bit indexes each time.

      Start it off with a seed of your own devising (current date/time stamp for instance).

      Thats not much different from most other software pseudo rngs.

    5. Re:pi vs. /dev/urandom by Abcd1234 · · Score: 2

      Well, it's been mentioned in other posts, but I'll repeat it here. When they are referring to "random", they mean it in a purely statistical sense, meaning that the digits are uniformly distributed between 0 and 9. So, if you were to take an infinite number of digits of Pi, each of the digits would appear an equal number of times.

    6. Re:pi vs. /dev/urandom by Abcd1234 · · Score: 2

      No matter how you use Pi, in order to exploit it's randomness, you'd have to randomly select an index into Pi and grab that digit (or sequence of digits, if you're looking for a larger number). But, since your initial random index has to be calculated using a regular old random number generator, you gain nothing... in fact you lose, because you have to calculate the index and then calculate the digit.

    7. Re:pi vs. /dev/urandom by vidarh · · Score: 2
      It's "random" in the sense that if you don't resort to formulas or knowledge of Pi in particular you'd have the same likelyhood of guessing or calculating the next digit of Pi based purely on the previous digits as you would in guessing or calculating the next digit in a sequence of dice throws with a 10-sided dice.

      In effect, you can't predict it without knowledge beyond the previous digits themselves (such external knowledge can in Pi's case for instance be it's relationship to the geometric properties of circles).

      --

      Remove Trash+ to reach my actual inbox

    8. Re:pi vs. /dev/urandom by spektr · · Score: 1

      The pi-algorithm isn't useful for generating random-numbers at all, because the processing time needed for the n-th digit raises with n. It's much faster than calculating all the n-1 digits, but for a random-generator you need an algorithm that needs a constant time for the next digit.

  30. sligtly OT by boinger · · Score: 2
    How do we know the calculated values of pi are correct? The 56 millionth place, for instance...Who's checking this work? It can't be done by hand, only by another computer, right?

    If this formula to calculate arbitrary binary digits is derived from being able to calculate pi as a whole, how is it proven that the original formula is valid?

    The article discusses a formula now in use that allow computation with less computing power than before...Does this imply that the earlier formulae were flawed such that errors were introduced into the sequence? I'm sure someone would notice some huge error 250 digits in, but, after 250,000? 250,000,000?

    Maybe my brain has discarded the answers to these questions and replaced it with PERL syntax or something. So Mathies, please, be kind.

    --
    Send your friends messages of love at fuck-you.org
    1. Re:sligtly OT by autocracy · · Score: 2

      Run code on certain number that has already been discovered. Compare with said number. Lather, rinse, repeat. 100% accuracy over several million numbers is in mathematical terms enough to safely say that it will be the same over the next several million numbers. And after that, they can always draw some really big circles :)

      Microshaft still OWNZ JOO!

      --
      SIG: HUP
    2. Re:sligtly OT by telbij · · Score: 1

      Well Pi is defined as a constant that relates diameter to circumference in a circle. Using this relationship it is relatively easy to derive a formula for Pi. It is proven in the standard mathematical faction. I can't remember it off the top of my head, but I remember using Newton's method to calculate digits of Pi.

  31. Re:Also depend on compression scheme... by jbert · · Score: 2

    Even taking your result as valid, the assumption you make is that the random numbers occur all over your possible inputs.

    A previous poster gave a good counter example, but it is very easy to see that if, in base 10, your random numbers are generated by an algorithm which only ever produces digits in the 0-4 range, you can see that there is some scope for compression.

    Perhaps it is more easily seen if in base 0xff, you only produce digits in the range 0x0 -> 0xf...so all your random numbers will be of the form:

    0? 0? 0? 0? ...

    proof that this is compressible is left as an exercise :-)

  32. Re:Biblical precidence by arielb · · Score: 1

    umm the atheistic communist systems of the Soviet Union and China are clearly the most oppressive institutions.

    --
    ---
  33. Re:Not Texas, Indiana by arielb · · Score: 1

    anyone who believes Social Security SHOULD be a federal program instead of owned by individuals has to be the real idiot

    --
    ---
  34. Re:Evenly distributed digits by cluening · · Score: 2

    Er... I think that is what I was saying...

    --
    Posted from the wireless couch.
  35. Re:Evenly distributed digits by cluening · · Score: 2

    That was my guess. Looking back at it, I probably didn't write quite as clearly as I should have... Oh, well.

    --
    Posted from the wireless couch.
  36. Evenly distributed digits by cluening · · Score: 4

    I whipped up a little perl script earlier this summer that a friend and I used to informally prove to ourselves that the digits 0..9 are fairly evenly distributed in the first million digits of pi. I guess that doesn't really have anything to do with the randomness of their positions, but it didn't look like there are, for example, significantly more 5's than 8's in there...

    --
    Posted from the wireless couch.
    1. Re:Evenly distributed digits by dstone · · Score: 2

      I whipped up a little perl script earlier this summer that a friend and I used to informally prove to ourselves that the digits 0..9 are fairly evenly distributed in the first million digits of pi.

      Would a trascendental number like pi (representing an fairly UNarbitrary ratio in nature) be expected to fit well into an arbitrarily chosen, unnatural base-10 number system?

    2. Re:Evenly distributed digits by dstone · · Score: 2

      do you suggest a base-PI number system? because PI will have an infinite, normal expansion in any other base...

      No, I'm not suggesting any number system. It was the previous poster who was holding a base-10 number system in some special regard. My question is more along the lines of bible-code nonsense... ie, if there is an uneven distribution of digits or, even better, "messages from god" in pi's expansion, do we have any reason to expect the expansion in base-10 to reveal such things versus base-2 or base-e or base-i^3?

    3. Re:Evenly distributed digits by 3am · · Score: 1

      check your script, or go further out than 1M. other, very respectable, tests have shown that the percentage of numbers 0..9 converges to 1/10 each the further out you go in the decimal expansion of pi.

      the best tests out there show that the ratio of 5's to 8's approaches 1:1.

      if you doubt this, i will find you some links.

      --

      A: None. The Universe spins the bulb, and the Zen master merely stays out of the way.
    4. Re:Evenly distributed digits by 3am · · Score: 1

      what the hell are you talking about?

      do you suggest a base-PI number system? because PI will have an infinite, normal expansion in any other base...

      --

      A: None. The Universe spins the bulb, and the Zen master merely stays out of the way.
    5. Re:Evenly distributed digits by 3am · · Score: 1

      dude, i am just chagrined about how badly i misread your originally post.

      i will write "didn't != did" 100 times on my white board in reparation.

      --

      A: None. The Universe spins the bulb, and the Zen master merely stays out of the way.
  37. I have a way to compute the nth binary digit of PI by Leimy · · Score: 3

    Its got a 50% chance of being correct though and
    involves coin flipping.

  38. Re: Pi embedded in itself by erl · · Score: 1

    And I suppose it is trivial to prove that PI with an arbitrary number of digits is embedded in PI...

  39. Re:Nanocentury by fishbowl · · Score: 2


    It's a quote by Tom Duff of Bell Labs, who knew he
    was using humor to illustrate a point not about Pi, but about the problem of converting time units.

    http://users.erols.com/blilly/programming/Progra mm ing_Pearls.html

    --
    -fb Everything not expressly forbidden is now mandatory.
  40. Re:To Random or not To Random by skroz · · Score: 1

    YOu are correct, an encrypted file is indeed not random. But one should not be able to differentiate encrpyted data from random data. The presence of a pattern, no matter how trivial, would be evidence of reduced security in the algorithm.

    I have generalized here to keep this post short...

    --
    -- Minds are like parachutes... they work best when open.
  41. Re:Hate to be a nag, but... by Maxx · · Score: 1

    That link works for me...

  42. Re:Why? There are only 3 digits. by smileyy · · Score: 1

    Thanks for the posting of the correct information.

    This thread just illustrates the truth of my .sig.

    Readers complain about the accuracy about /. stories when they can't even be bothered to look up the correct fucking information before posting themselves.

    They're no better than the morons in Texas, Kansas, *and* Indiana that they so happily mock.

    --
    pooptruck
  43. Re:Here is the article by Guppy · · Score: 2

    "It's like throwing a fair, ten-sided die forever and counting how often each side or combination of sides appears."

    You know, this sounds a lot like a certain RPG I was in...

  44. Re:nth digit of pi by shaka · · Score: 2

    That's correct, more info here:

    http://www.mathsoft.com/asolve/plouffe/plouffe.htm l,

    or for goatse.cx aware:

    http://www.mathsoft.com/asolve/plouffe/plouffe.htm l

    Last I heard, the algorithm only worked in base 16, but that may have changed now.

    --
    :wq!
  45. Re:To Random or not To Random by ethereal · · Score: 1

    It's tough with an infinitely long number, though. There's no requirement that the compression be done on the fly - I could write a compression algorithm which wouldn't work unless I had access to the entire number.

    You could say that the first N digits of pi are random or not based on the compression test, and make some sort of argument that since so far every sequence of pi we've tested was random, it's likely that the whole thing is, but that wouldn't be a very rigorous proof.

    Remember: it's a "Microsoft virus", not an "email virus",

    --

    Your right to not believe: Americans United for Separation of Church and

  46. Re:More info on the Algorithm by Cassandra · · Score: 1

    ...any decimal digit would overlap at most 2 hex digits

    Not at all. These are fractions, not plain integers. For instance 0.1 in base 10 is a never ending sequence in binary (and hex) notation.

  47. Re:Pi is hardly random. by Cassandra · · Score: 1

    Two notes:
    1. Assume that your sequence appears somewhere in the decimal sequence of PI. Then surely you can predict the next digit using the knowledge of where in the sequence you are.
    2. Assume that you have a subset of the decimal sequence of PI and don't know where it belongs. Then there is no way to predict the next digit, since it will occur at infinitely many places.

    It it in this sense that PI is random.

  48. Re:Biblical precidence by HiThere · · Score: 2

    Well, I don't read Hebrew, so I can't check on what he is saying. However even the appologist didn't translate it into a mathematical formula. He just did a bit of gematria and waved his hands. Now it's clearly true that the Babylonians at that time had a good understanding of PI (relatively), and that they did use the kind of fraction that you are implying the Hebrews used. And they were hired contractors on the job that is being written of. But even putting this all together, I can't make it say that the biblical scribes were able to cope with the Babylonian knowledge. The do seem to have caught on that certain numbers were important (the Babylonians started doing their math with balances, so they were whizes with rational fractions), but I can't see, from what has been said, that the Hebrews knew why the numbers were important, or even which number divided which (or what division meant).

    Now clearly, a part of my ignorance is due to my not reading Hebrew. If I did, then I would have a better idea of whether they were able to copy the specs from their contractors without error. But the evidence provided so far doesn't show that.

    Caution: Now approaching the (technological) singularity.

    --

    I think we've pushed this "anyone can grow up to be president" thing too far.
  49. Re:Hmmm by HiThere · · Score: 2

    OK. Use 0x00 or 0xff. Now it's a real world case.

    Caution: Now approaching the (technological) singularity.

    --

    I think we've pushed this "anyone can grow up to be president" thing too far.
  50. Re:Pi is hardly random. by HiThere · · Score: 3

    Perhaps. But it's a nice tool to beef up your rot-13 substitution cypher.
    What you want is, say, a 1 MB block of the digits of PI expressed in base 256. Then you pick a starting position, and for each byte that you transfer, you rot it by the value of the corresponding byte.

    P.S.: :-)
    Caution: Now approaching the (technological) singularity.

    --

    I think we've pushed this "anyone can grow up to be president" thing too far.
  51. Re:The Digits of Pi? by maroberts · · Score: 1

    Huh... I thought pi was a movie

    Only when pi is written in the US. Now its got a sequel - American Pi^2!!

    --

    Donte Alistair Anderson Roberts - hi son!
    Karma: Chameleon

  52. OT: Improbability by maroberts · · Score: 1

    I think Granny Weatherwax was beaten to the idea by Douglas Adams (RIP) in Hitch Hikers Guide To The Galaxy. The Infinite Improbability Drive worked on the exact same principle.

    (Actually I think my sig is derived from some philosopher or other too).

    --

    Donte Alistair Anderson Roberts - hi son!
    Karma: Chameleon

    1. Re:OT: Improbability by Bobo+the+Space+Chimp · · Score: 1

      It's also a Skeptic principle: there are so many things that could happen that million-to-one (and far rarer) things happen all the time.

      --
      I am for the complete Trantorization of Earth.
  53. Re:Pi is great as a random source. by Solemn+Bob · · Score: 1

    I've also done some testing with other transcendental numbers, such as e (2.718281828...), and they all seem to show great randomness properties, in the information-theoretic sense at least. However, I have a feeling to "trust" Pi more than e, given that you can write e in form of continued fractions with repeating patterns, and nobody has yet found a pattern in the continued fractions of Pi.

    There's nothing about transcendental numbers that makes their digits random; pi and e happen to be special. For instance, the first number proven to be transcendental was (some variation on) 0.101001000100001000001...; that sequence isn't random by any definition.

    As for my pseudo-random library project, my programming skills are quite bad, but if you have some knowledge of scientific computing (multiplication algorithms using FFTs, for example), you can contact me and I might revive the idea.

    I'd recommend to anyone interested in projects like this to look at George Marsaglia's page; his tester may help you avoid releasing crap. You can also search Usenet archives (i.e., Google) for some generator source code he's posted. Knuth also has a very detailed treatment of pseudo-random number generation in TAOCP vol. 2.

  54. Re:Cool Application! by Skapare · · Score: 2

    It might be better suited as just a commonly known hash. Given some piece of data, such as your login password, reduce it to a number and index into pi that many bits in, and generate N bits of hash. Somehow I doubt it will be as fast (especially for large numbers) as say MD5. But it could be interesting because it can be extended quite easily to as many bits as you want.

    Now if that algorithm were faster than MD5 for indexes through 2^128, or faster than SHA1 and RIPEMD160 for indexes through 2^160, then I think we might have a winner.

    --
    now we need to go OSS in diesel cars
  55. Re:Pi is great as a random source. by thefallen · · Score: 1
    My meager highschooler (surprise!) brain has also been pondering on the apparent randomness of some mathematical properties (I must admit, though, I found it curious that the pseudo-random generator inside geometrical constant turns out to be stronger than anything we could produce).

    Digits of contants are nice and easy source of bits to test for randomness, but what about random orderings of a set of integers (1 .. n)? I've found at least one source that might be interesting, but I can't figure out how to test it reliably; to do that, I'd need to convert the set to bitstream. How do I do that? I mean, it's obvious I can get a list of random numbers, first one in range [1,n], second in [1,n-1] and so on, but that's n numbers, each with different range.

    P.S. I doubt anyone reads this. I just rant to myself, helps to clarify to myself what I'm thinking. This story is, like, couple of hours old already!

    --
    - Kaatunut
  56. Re:Biblical precidence by thefallen · · Score: 1
    Are you telling me that there is not the slightest chance that creationism is the truth? Faith tells us that God is all knowing and all powerful.

    You know, instead of repeating that "absence of proof" phrase again, I'll do the slightly rares version of the same idea. Here's a simple pseudo-perl code to see if your argument (usually one defending religion) is fallacious in one specific type:

    1. $_="your_argument";
    2. s/$entity_being_proved/$something_absurd/g; # for example, s/creationism/sporalogy/g
    3. print;

    Set appropriate values to variables and run the above code. Does the argument it outputs make sense?

    Since the religious type is known to occasionally act in slightly irrational way, here's a simple example:

    $_=<<EOT

    Does it make you happy to crap on other people's faith? I love science and all the evidence in the world points to evolution, but I still believe in creationism. Are you telling me that there is not the slightest chance that creationism is the truth? Faith tells us that God is all knowing and all powerful. He could have made the universe 5 minutes ago and created you in it with all the memories you have. You think you can out think the Lord. How naive.
    EOT

    # [appropriate substitutions]
    print;

    Does it make you happy to crap on other people's faith? I love science and all the evidence in the world points to astrology, but I still believe in sporalogy. Are you telling me that there is not the slightest chance that sporalogy is the truth? Faith tells us that trains are all knowing and all powerful. Trains determiny our destiny.. You think you can out think the Trains. How naive.

    That's how you probably sound to non-believers. See also Invisible Pink Unicorn.

    --
    - Kaatunut
  57. Re:Hmmm by platypus · · Score: 2


    People think that randomness is this impersonal force that makes things happen for no reason at all.
    What it really is, is an explanation when the factors involved in the outcome are too complicated to grasp.


    Nope,
    there's just a difference between deterministical chaos and randomness.
    That doesn't mean the the latter doesn't exist.

  58. Re:Hmmm by platypus · · Score: 2

    Deterministical Chaos is exactly that what you described, i.e. the outcome of a process depends in a non-continous manner from the input data.
    prominent examples are
    - three body problem
    - weather (all see Lorentz (sp?) equations)
    - mandelbrodt set
    etc.
    Alle this problems have in common that a very small modification to the input may lead to drastic changes on the output.
    For instance the three body problem descibes the motion of three bodies (sic!) under mutual gravitational force. Algorithms which want to "predict" the motion of these three bodies have to be very precise, i.e. you have to calculate with something like 100 decimal digits.

    Now to the question of randomness. Well, it really isn't easy to find and your believe that it doesn't exist was actually shared by Laplace (mathematican/physician) end of 19th century (I believe). He said something like:
    "Give me the state/position of all particles in the universe at one time and I can calculate the state/position at any time in the future or past."

    But - later on quantum mechanics was discovered/developed, and still today every scientist belives that there lies real randomness.
    This is for instance deductible from Heisenbergs uncertainty principle (sp?).
    It's fundamentally _impossible_ to precisely predict speed and position of a given electron. It's fundamentelly impossible to predict when and in which direction an alpha particle will be emitted from a collapsing atom nucleus.
    That's why there is the notion of half-life period, thats just the time when the probability is 50% that the alpha particle has been emitted.

  59. Re:Hmmm by platypus · · Score: 2

    But will it always be impossible? Or do we just think it is impossible because we lack information and understanding?

    This is always the question with scientific theories. I used some sort of shortcut with the word fundamental, read this as "fundamental following the state of todays physics".
    Your "lack of information" is called hidden variables and is in itself subject to some theories. And a general consensus is that, yes, that "fundamental" is fundamental.

    I did a quick search on google for:

    hidden variables quantum mechanics

    and found the following nice and short thread which deals with this theme:

    http://www2.abc.net.au/science/k2/stn/february20 00 /posts/topic37229.shtm

    If you want to read more, just peruse google, there are a lot of nice essays out there - but don't believe everything you read one the internet ;), this is an area which seems to have a strong attractivity for, hmm, exotic people and ideas.

    Oh, btw., in the light of this laplace citatiton, when I think of the consequences this would have on such nice ideas as "free will", I'm really positive that I like the uncertainty of quantum mechanics more.

  60. Re:True story. by atomly · · Score: 1

    The string 55378008 was found at position 623901 counting from the first digit after the decimal point. The 3. is not counted.

    --
    -- atomly :: atomly(at)atomly(dot)com :: http://www.atomly.com/
  61. Pi is hardly random. by KFury · · Score: 5

    A lot of people are playing fast and loose with the word 'random' today. The value of Pi, in whole or of any one digit, isn't random at all. It's entirely deterministic, defined rigidly by a simple formula. No matter how many times or ways that formula is interpreted, the value of Pi is the same, and not random.

    What can be said to be 'random' (really pseudorandom or, in the parlance of mathematicians, 'random enough') is an arbitrary digit or sequence of digits from pi, given that the starting decimal place N is also random, or at least non-repeating. The randomness of pi is that each succeeding digit of Pi has no correlation to the preceding digit.

    Of course we all know this inherently, but it wouldn't hurt to be a little clearer in these posts about exactly what is random (or not) about Pi.

    Kevin Fox
    --

    1. Re:Pi is hardly random. by marauder · · Score: 1

      Except that the definition of "normal" was covered in the article, which surely everybody read before post--

      Oh, really? I see.

    2. Re:Pi is hardly random. by LinuxParanoid · · Score: 2

      Yeah. The proper term is "normal", not "random", but if the Slashdot poster/editors said that, they'd probably have gotten a lot of blank stares from the number-theory-unfamiliar people. Ah well.

    3. Re:Pi is hardly random. by nivedita · · Score: 1

      There is a very good discussion of what should be defined as a random sequence in Knuth, TAOCP vol2 (Seminumerical algorithms).

    4. Re:Pi is hardly random. by Angry+Toad · · Score: 1

      Sorry, I don't want to be a thicko but I'm still confused.

      If I were to generate a string of 1 million random digits from, say, radioactive decay measurements or something, I would have thought that I wouldn't be able (at least most of the time) to derive a simple formula which would allow me to predict the 500000th number. Yet with Pi I can determine the value of any artibrary digit. Can I get this kind of formula for any old randomly generated string of digits?

      Or am I missing something?

  62. Re:memory much? by kallisti · · Score: 1

    If you want to see a guy who spends way too much time with PI, check out Mike Keith. There is some other, truly amazing stuff on his home page as well.

  63. Re:contact the book by kallisti · · Score: 1

    Rudy Rucker once wrote a story where a shell was discovered with strange markings on it. Those marking turned out to by a coded message about an alien civilization, sort of like we sent in the Voyager probes. The story gives lots of details about those aliens, their culture and something that they referred to as the Joke. It seems that this wondrous coding scheme for all of their accomplishments and history was equal to pi.

  64. Re:memory much? by Azog · · Score: 1

    I memorized pi to 50 places the summer between grade 10 and 11 just so I could be a smartass in math and physics classes the next year.

    It's actually not hard to do. Break it up into groups of 5 digits, and memorize 5 digits a day and keep practicing. A few minutes a day, and you can be a loser^H^H^H^H^H, er, cool geek like me too.

    I wish I could get into the real story, but it's slashdotted, so I'm posting pointless crap like this. Geez.

    Torrey Hoffman (Azog)

    --
    Torrey Hoffman (Azog)
    "HTML needs a rant tag" - Alan Cox
  65. Re:Students Discover Pattern in Pi Digits: by Seanasy · · Score: 1
    Shouldn't it be:
    "Sorry for the inconvenience."
  66. Neumann is most likely correct by arasinen · · Score: 2

    Pi will not, unfortunately, give you an arithmetical method of producing random digits.

    If you pick digits from pi's decimal expansion with some deterministic method, say, every third digit, the sequence will be the same each and every time you run it. What you do get from pi are non-repeating pseudorandom numbers: you can eg. pick every nth digit where n is your seed (cf. usual (pseudo)random number generators)

    To get truly random numbers from pi, you need pick the digits randomly... for which you of course need a random number generator...

    --
    [ Antti Rasinen ]
    1. Re:Neumann is most likely correct by Devolver42 · · Score: 1

      If you pick the point randomly, you still need a random number generator.

      --

      Devolver's Homepage... more fun than a box of crackerjacks.
    2. Re:Neumann is most likely correct by grammar+fascist · · Score: 1

      What if you pick just the starting point randomly?

      --
      I got my Linux laptop at System76.
  67. Math has nothing to do with sample data! by Mdog · · Score: 1

    While I find your post interesting and stuff, I'd just like to jump in here and point out that you can send me a tarabyte of data that indicates that pi is random and it doesn't make one lick of difference. Show me the *proof*!

    --
    Talking to you, girl, is like long division.
    Old 97's

    1. Re:Math has nothing to do with sample data! by acidblood · · Score: 1

      Sorry, there's no such thing as proof in statistics. However, I'm sure the owner of a cryptographic key, which happened to be generated from a non-random stream of Pi, wouldn't care about losing his private key in exchange for a discovery of this magnitude.

      --

      Join the NFSNET. Our prime goal is making little numbers out of big ones. http://www.nfsnet.org/

  68. Re:True story. by BlackSol · · Score: 1

    in vi
    :%s/666/666/g

    Vi will find and replace all occurances of 666 with 666 and give you the number of replacements.

    --
    $sig=$1 if($brain =~ /idea\s+(.*)/i);
  69. Re:Algorithm Below by Pat__ · · Score: 1

    function nthDigitOfPi(long n) {
    return rnd(10);
    }

    I am curious what language this would be?
    In any case
    print nthDigitOfPi(1);
    oh ow :)

  70. Re:Students Discover Pattern in Pi Digits: by Pat__ · · Score: 1

    If you had read H2G2 you would have known the real message from GOD is :

    WE APOLOGISE FOR THE INCONVENIENCE

    ;-)

  71. Re:True story. by Ctrl-Z · · Score: 1

    I don't get it. What does "115" have to do with a spooky coincidence?

    --
    www.timcoleman.com is a total waste of your time. Never go there.
  72. Re:Hmmm by PigleT · · Score: 3

    Yes, that's a good philosophical position..

    I'm just wondering, if there's a "formula" for the n'th bit of the thing, it *can't* be random, can it?

    For values of `random' that mean `uncompressible' of course, it can probably rate pretty highly.
    ~Tim
    --
    .|` Clouds cross the black moonlight,

    --
    ~Tim
    --
    .|` Clouds cross the black moonlight,
    Rushing on down to the circle of the turn
  73. No, the digits of PI are highly non-random by Kevin+S.+Van+Horn · · Score: 1

    According to algorithmic information theory, a bit sequence is random if the binary representation of every program that outputs the bit sequence is longer than the bit sequence itself. By this criterion, the first N digits of PI are highly non-random because there is exists a short program to compute all of them. Another way of looking at this is that the sequence of the first N digits of PI are highly compressible -- you can compress the whole thing down to the binary representation of a small program to compute those digits, and the size of this program grows at most logarithmically with N (const + representation of N).

  74. Re:True story. by LenE · · Score: 1

    Also, the 13th occurrance of 222222 is at 13371013!

    Too spooky for me, as I was born on 2/22, and 13 used to be my lucky number.

    -- Len

  75. Perfect app for Beowolf cluster! by WyldOne · · Score: 1

    Wow we can do a Pi@home!

    I'll take apple myself ;)

    --

    make Linux, not Microsoft. sin(beast) = -0.809016994374947424102293417182819
  76. Re:nth digit of pi by jonathan_ingram · · Score: 2

    (I'm a geographic group theorist, not a number theorist :)

    Aren't 'trancendental' and 'non-algebraic' the same thing? I thought they both mean 'not a root of any polynomial with integer coefficients'?

  77. Pi and Sanity by mcwop · · Score: 1

    Don't lots of people go insane thinking about the how's and why's of pi?

    --

    "I don't think it's selfish, to eat defenseless shellfish." -NOFX

  78. Re:To Random or not To Random by zavyman · · Score: 2

    Huh? For the sequence to be random, each subsequent outcome must have an equal probability of occurring. That is, each subsequent digit must have an equal likelihood of being a zero or a one.

    Look at it this way. Let's say you have a conversation between two people. One person (A) is the "generator" of the sequence. Now you seem to have the point of view of (B) where the digits are allegedly "random". But (A) is simply generating digits with a 90% chance of a 0, 10% chance of 1. Is that random?? Of course not. Your definition of random is confusing at best, and let's be straight -- you are redefining "random".

    Any mathematically random data cannot be compressed.

  79. Re:To Random or not To Random by zavyman · · Score: 2

    You said something about Pi, that if one number had a higher frequency, it could be compressed while still being random. Well, the sense of random that we were using is a random probability distribution. The digits of Pi are not random in the sense that they are calculated by some random means. They can be calculated. We were using the sense of random that they had an even distribution.

    If indeed one number had a higher frequency (leading to compression), Pi would cease being "random" in the sense that we have been using it.

  80. Re:To Random or not To Random by jmauro · · Score: 1

    That's wrong. A truely random system has a probabilty that the compression would work. It could genenrate a set of numbers where all are about the same. Probability is low, but the chance is there.

  81. Re:To Random or not To Random by jmauro · · Score: 1

    Compressing an infinite set would be pointless, since their is always more data and you don't gain anything. These sets are FINITE. Besides. What exactly have to do with compression. Compession is taking into account "patterns" and compressing that way. If a set of random numbers are drawn from a hat, the probablity that a number is repeated is small, but there. And the probablity that a number drawn from set A is in set B is not zero, but 1/x as x->inifity. Being zero, and being almost zero are two different things.

  82. What is random? by zook · · Score: 1
    Disclaimer: IANAMBIPOOTV (I am not a mathematician but I play one on TV)
    Someone else may better speak to this.

    Randomness is a funny thing. What I mean is that we use the term in several circumstances and we confuse ourselves. In this situation there isn't anything truly random in the sense we normally think of it; the digits are already determined, we just need to look them up (using the formula discussed). This contrasts with what we normally think of as a truly random process such as flipping a coin, waiting for an atomic nucleus to decay, or using a Pop-O-Matic Bubble.

    So what do we mean? Somehow we mean that it appears random---that we couldn't just guess and get the next digit.

    The way that Baily and friends have formalized this is to say that in the limit all consecutive sequences of length k occur with equal frequency. So, for example, if I look at the first 6 digits of the decimal part, .141592, the sequences of length 3 are 141, 415, 159, 592. These occur with probability 1/4, and the other 996 occur with probablility 0. But, as we look at more and more digits they all become equally frequent, occuring with probability 1/1000. The same happens for all length sequences if we look out far enough.

    In computer science we often discuss pseudo-randomness. In this case we start with some number of truly random digits, and then have an algorithm that generates more digits. If no bounded time algorithm can determine that these aren't random, then they are pseudo-random.

    Now, whether there's really any randomness in the world or not, that's metaphysics. (Editorial: And metaphysics is crap!)

  83. Random? Nah. by Colol · · Score: 1
    If you've read Carl Sagan's Contact, you know a very interesting theory about pi, and every other seeming random mathematical representation (for example, e) in the universe.

    They're not random, they're tied directly to the rules of our universe. And if you look in the right way, they may contain a message.

    But Ellie already found it in that book, so this news story's a little old, eh?

  84. Re:Hmmm by Blindman · · Score: 1

    I think that by random, they mean that the Nth digit has no correlation with any other digit in the sequence.

    Regardless of the existence of a pi formula, pi is not random any more than the constant e. Afterall, pi always starts with 3.

    --
    I don't practice what I preach because I'm not the kind of person that I'm preaching to.
  85. Re:Pi is great as a random source. by csbruce · · Score: 2

    However, I have a feeling to "trust" Pi more than e, given that you can write e in form of continued fractions with repeating patterns, and nobody has yet found a pattern in the continued fractions of Pi.

    I though that you could construct Taylor series for functions like arctan(x) and arctan(1) = 1/4*pi, so pi = 4*(ArcTanTaylorSeries(1)).

  86. Re:PI is also satanic....!!! by bored · · Score: 1

    It is predictable to anyone who is knowledgeable about these things, that 666 should appear at position 2440, since the world will end in that year!

    lol

  87. Re:So what? by funcan · · Score: 1

    I seem to remember reading somewhere (I'll dig out a pencil & paper sometime I'm more bored than I am now) that 140 ish digits is enought to calculate the circumfrence (sp?) of the observable universe to within the diameter of a hydrogen atom...

  88. hrm... by _ECC_ · · Score: 1

    There's a reason its called "Weed" college among the locals...

  89. I just love these discoveries by chrysalis · · Score: 1

    Now, when someone will show how good he is in maths, I will tell him about that. Chances are that he'd never have heard about this discovery, and he will shut up.

    -- Pure FTP server - Upgrade your FTP server to something simple and secure.

    --
    {{.sig}}
  90. Re:To Random or not To Random by tapiwa · · Score: 1

    Its compression not as in winzip, but

    1,2,3,4,5,6,7,8,.......

    is N(x+1)= N(x) + 1

    --

    Live today. Tomorrow will cost a lot more!

  91. Re:To Random or not To Random by tapiwa · · Score: 1

    if it is truly a random number generator, you will not be able to predict the next number in the sequence.

    If you can, then it is not a random number generator!

    --

    Live today. Tomorrow will cost a lot more!

  92. Prediction, not compression by tapiwa · · Score: 2

    I think all the compression people are missing the point.

    If we can predict a previously unknown nth decimal of pi, then pi cannot be random.

    This is where compression kicks in.... we have compressed pi to the formulae that we use to predict the value of the nth decimal.

    I say lets use this algorithm to predict the 2000 billionth decimal, and then get a few beowulf clusters working... if the two values match, then pi cannot be random

    Just my £0.02 worth

    --

    Live today. Tomorrow will cost a lot more!

    1. Re:Prediction, not compression by Legion303 · · Score: 1
      I say lets use this algorithm to predict the 2000 billionth decimal, and then get a few beowulf clusters working... if the two values match, then pi cannot be random

      If you show that two values calculated in different ways are the same, that only proves that those two values are the same. You need to prove that *all* such values are the same. A more important question to me is: is Pi transcendental? We now have a way to generate a polynomial expression for it (take the sums from the equation and add them together, dividing for decimal place each time). I haven't run the equation through tests yet, but this is something that should be addressed.

      -Legion

  93. Re:To Random or not To Random by MartinG · · Score: 1

    the set is descrete. they are a string of integers.

    --
    -- MartinG To mail me: echo kewyjlcxyzvjfxbqwh | tr bcefhjklqvwxyz .@adgimnoprstu
  94. Re:Why? There are only 3 digits. by 1010011010 · · Score: 1

    Great commentary on BattleBots the other night:

    (introducing a returning champion)
    "With just one more execution, he'll be eligible for the governorship of Texas!"

    - - - - -

    --
    Napster-to-go says "Fill and refill your compatible MP3 player", which is a lie. It's not MP3. It's WMA with DRM.
  95. Re:Why? There are only 3 digits. by 1010011010 · · Score: 2

    "With just one more execution, he'll be eligible for the governorship of Texas!"

    Moderation Totals:Troll=1, Total=1.

    This moderation brought to you by the Friends of George (FOG)



    - - - - -

    --
    Napster-to-go says "Fill and refill your compatible MP3 player", which is a lie. It's not MP3. It's WMA with DRM.
  96. Re:What do the mean random. by cameldrv · · Score: 1

    This of course assumes the Church-Turing thesis. I think that Kolmogorov complexity is still a valuable concept, however, given stuff like Chaitin's Omega, which would appear to have an undefined K. entropy, it is difficult to give priority to computation. I think that in the next hundred years we may see Church-Turing disproved.

  97. Are we just doing it wrong? by Console · · Score: 1

    Pi being impossible to calculate (decimals go on forever) means that no circle that exists anywhere in nature is perfect. Of every circle from the electrons to galaxy clusters, not one is perfect. They are all "askew". This blew my mind a bit back in the day when I had to care about pi (math class).

    Maybe pi is not calculable because we can't percieve enough dimensions? In a cartoon a sphere is a circle...

    Maybe circles are perfect after all! Our established math knowledge is horribly flawed! (As my test scores often indicated...)

    Maybe we would understand if we were born with fingers on each hand! ;-)

    Anyway, after leaving the academic field Pi has become more "great movie!" than "what is reality?". Now where's my beer...

  98. Randomness of Pi and randomness of its digits by JPS · · Score: 2

    Many posts are talking about Pi being random.
    Well, Pi is not random: it's Pi!

    Also, the digits of Pi are not "random". It I want to compute the 1024th digit of Pi, I can. So, it's not a random number.

    The word "random" might not be the most appropriate here. The question is whether any "substring" of Pi (expressed in any base) appears exactly as frequently as any other substring of the same length.

    1. Re:Randomness of Pi and randomness of its digits by de+Selby · · Score: 1

      Next thing you'll be telling me 2001 was the new millenium...

  99. Re:Not Texas, Indiana by Trailer+Trash · · Score: 3

    Another good reference is in Chapter 17 of "A History of PI" by Petr Beckman (ISBN 0-88029-418-3). Beckman goes so far as to include a reproduction of the bill.

    The bill doesn't actually give any values for PI directly. Rather, it supposes to provide simple formulas for computing the value of PI based on enclosing squares. Here's part of section 1:

    "It has been found that the cirular area is to the quadrant of the circumference, as the area of an equilateral rectable is to the square on one side."

    And later in section 2:

    "By taking the quadrant of the circle's circumference for the linear unit, we fulfill the requirements of both quadrature and rectification of the circle's circumference. Furthermore, it has revealed the ratio of the chord and arc of ninety degrees, which is as seven to eight, and also the ratio of the diagonal and one side of a square, which is as ten to seven, disclosing the fourth important fact, that the ratio of the diameter and circumference is as five-fourths to four, and because of these facts and the further fact that the fule in present use fails to work both ways mathematically, it should be discarded as wholly wanting and misleading in practical applications."

    Now, there are about three different "values" for PI in there. Dr. Edwin Goodman, who came up with this tripe, was a "circle-squarer", one who thought PI could be computed, well, easily.

    It's scary that the guy was a doctor given his profound misunderstanding of simple geometry, and seeming inability to do the simple measurements which would prove his theories wrong.

    But this bill is much bigger in folklore than in real life. Some facts regarding it:

    1. It was never passed in to law. Ever. It passed unanimously in the House, and was tabled in the Senate, and never voted on there.
    2. It doesn't say that PI=3, PI=3.14, or that PI is equal to any other simple number. Rather, it gives a number of methods (all of which are grossly incorrect) that could be used to very easily calculate PI.
    3. It never made it into any textbooks that I know of. That was the goal of Dr. Goodman.
    4. It did happen in Indiana, 1897, House Bill No. 246
    5. Dr. Goodman, in section 3 of the bill, also claims to have previously trisected an angle. The guy was either a fruitcake or a charlatan.

    Michael

  100. Re:More info on the Algorithm by ghoti · · Score: 1

    The formula sums up the expression in the square brackets multiplied with 1/16^k - so that means (if I am not completely mistaken) that that expression gives you the k-th *hex* digit of pi. You just have to use the right number system to make the problem easy ;-) (not very useful if you want decimal digits, though)

    --
    EagerEyes.org: Visualization and Visual Communication
  101. Re:Students Discover Pattern in Pi Digits: by bungalow · · Score: 2

    No. The true, message of god is "all your base are belong to us".

    Either ally with Him or don't. But don't think that you'll win a fight with God.

  102. Re:The signature of the artist ... by be-fan · · Score: 1

    Actually, the point of the research is not to caculate additional digits of Pi, but to understand the mathematical nature of Pi. And such inquiries about mathematics have been show to be immensely useful in all sorts of real world applications. Take the whole "quantum physics" thing. One could ask, "who really cares how a quark behaves on the sub-atomic scale?" Today, it has been found that a significant fraction of the US economy is based on the application of quantum physics.

    --
    A deep unwavering belief is a sure sign you're missing something...
  103. Re:Biblical precedence by Polytope · · Score: 1

    Perhaps my point was obscured by my vitriol. Let me try again without the ad hominem.

    The upshot of the article at ldolphin.org is that 1 Kings 7:23 predicts a value of 333/106 for pi. The author arrives at this value by extracting the numbers 3, 106, 111, and combining them as 3*111/106. Surely you can see how this might seem contrived to a skeptic. Since these numbers are relatively small, it should not be difficult to find them in a given text. A numerologist of superior skill could produce the ratio 355/113 from the same text.

    Now, 333/106 is a pretty good approximation to pi, but it is not remarkable. The reason that it is close to pi is that it is a so-called "continued fraction convergent" to pi. (See this page for an introduction to continued fractions.) The first few convergents to pi are 3, 22/7, 333/106, 355/113, and 103993/33102. Every irrational number can be represented by a continued fraction, and the convergents are used to find rational approximations. (The approximation 355/113 was known to the Chinese in the 5th century AD)

    By the way, I think it is silly to call 1 Kings 7:23 a biblical contradiction. The Bible is not an engineering manual, and surely the measurements given are accurate enough for their purpose. On the other hand, I see no difference between numerology and Alex Chiu. (oops, that just slipped out)

  104. Re:Biblical precidence by Polytope · · Score: 2

    Numerology can be used to prove anything whatsoever. The fact that some idiot or liar can manufacture the ratio 333/106 from a random biblical verse is not particularly surprising or compelling. Also, one wonders why God in his infinite wisdom didn't encode 355/113, which is a far better approximation to pi.

    Incidentally, the website you mentioned (ldolphin.org) is a goldmine for skeptics who wish to discredit Christianity. It is filled with some of the most credulous pseudoscientific bilge that I have ever encountered. He makes Art Bell look like James Randi.

  105. Re:I suspect... by Marasmus · · Score: 2

    The corrected URL:

    http://www.angio.net/pi/bigpi.cgi?UsrQuery=424242& startpos=242423

    Searching for a 6-digit, not an 8-digit, string...

    --
    .... um, i lost you after "0110100001101001".
  106. Re:Bible is more accurate than that actually by LinuxParanoid · · Score: 1

    Sorry to quote John Boatwright... Never heard of him. I just picked the first article I could find on Google that essentially made the point about handsbreadth rim arguement that I'd seen elsewhere before. I sincerely doubt it originated with Boatwright. I vaguely recall reading that some Jewish rabbi first pointed it out back, pre-1000 AD, but I'll do a followup here if I find a source that's better or the references the original source of the arguement.

    --LP

  107. Explanation: "random" vs "normal" by LinuxParanoid · · Score: 2

    Technically, it's not conjectured to be "random"; it's conjectured to be "normal", which means that there's an even distribution of the digits 0-9 (in base 10) or 0 and 1 (in base 2).

    --LP

  108. Re:Bible is more accurate than that actually by LinuxParanoid · · Score: 2
    OK, more diligent searching turned up a couple variants of the "Bible's pi is actually more accurate than 3.0" from a non-Boatwright source, with a nice nice visual diagram.

    And I also found a brief article (from a non-religious website) describing how a Jewish rabbi named Nehemiah in ~150 AD first made the argument that the diameter of the tub was 10 cubits from outer rim to outer rim, whereas the 30 cubit circumference was measured around the inner rim.

    I wouldn't consider these "proofs," just provocative re-examinations.

    --LP

  109. Bible is more accurate than that actually by LinuxParanoid · · Score: 4
    You forgot verse 26: "It [the rim] was a handbreadth in thickness..."

    If the circumference measurement is from inside the brim (or something like that), you get a value for pi that is 0.073% accurate, well within the significant figures used by Hebrews for measuring at that time.

    Not that the bible is a Mathematics text...

    --LP

    1. Re:Bible is more accurate than that actually by wkw3 · · Score: 1

      Oh please! If you're going to look somewhere for theological or mathematical proof, you're going to have to do better than John Boatwright. He's been trolling alt.atheism for a long time, and he's come up with some other astonishing "proofs".


      Proof God is a High Frequency Spectra of Energy
      Proof Jesus's name is on his thigh
      Proof God Predicted Nuclear Bombs
      Proof God Described Planet Formation
      Proof God Described the Moon's formation
      Proof God Described Planet Density Trends
      Proof Genesis Describes a "pre-sun" Star
      Proof God's Firmament Allows Measuring an Exploding Star
      Proof God Described the Planetary Dust Disk

      Pretty heavy stuff. I'm sure it's all ironclad.

      --
      When a preacher says he'll move a mountain, no one believes him. When a scientist says so, noone doubts him.
  110. Partly old news by LinuxParanoid · · Score: 5
    The fact that there's a algorithm for determining the Nth digit of Pi is old news. The BBP formula which does that was discovered by Bailey, Borwein, and Plouffe in 1995. (PDF paper here).

    There was a distributed computing project called PiHex that lasted several years for computing the five trillionth, 40 trillionth, and the quadrillioth bit of Pi, using a variant of the Plouffe discovery, Bellard's formula.

    A proof that digits of Pi are random would indeed be news, albeit not exactly a surprise; I'd comment on it but the article's link seems bad or swamped at the moment.

    --LP

    P.S. Google has a nice list of Pi links.

  111. Re:This is a clear violation of the DMCA by deblau · · Score: 1
    4.Pi is infinite and non-repeating, and therefore contains every possible combination of every integer in the infinite set (some mathbrained guru can feel free to slap me down on this)
    Here cometh the guru smackdown (tm) :)

    Consider the infinite, non-repeating binary number 0.1101001000100001000001...... At nowhere in the sequence does the pattern 10101 occur, nor 111, nor 101101, nor...

    --
    This post expresses my opinion, not that of my employer. And yes, IAAL.
  112. That's funny... by BurntHombre · · Score: 1
    DNA and the human genome is pretty rock solid proof of [evolutionism].

    Creationist make the same claim. Except they say it's proof of creation.

    Before you embarrass yourself again by verbally masturbating in front of the whole /. audience, you may want to investigate the claims of your opposition. At least just a little.

    Oh, but why bother. They're all "simpleminded illiterate tribesmen" anyway. Feh.

  113. contact the book by ankit · · Score: 1

    this reminds me of carl sagan's contact. hi says that pi is a proof of the existance of God. according to the book, if you go on finding the value of pi in a certain base, you will there will be a string of 0s and 1s, which when arranged in a square matrix will represent a circle :-)
    wonder if it would be easier to try it now... crazy idea...

    --
    Don't Panic
  114. Re:Of course they're not random! by Ghengis · · Score: 2

    The use of the word random when referring to Pi may be somewhat of a misnomer. It's not that the number Pi itself is random... it's the ratio of a circle's circumference to its diameter. The randomness (or random-like behavior) is in the digits, specifically, predicting the next one. There seems to be no pattern, much less a repeated pattern in the digits of Pi that is consistent throughout the number.

    --

    "The best laid plans of mice and men gang oft agley..." - ROBERT BURNS

  115. Re:I suspect... by BlueUnderwear · · Score: 2

    And the question would be What do you find at position 242424 of pi?

    --
    Say no to software patents.
  116. Re:True story. by BlueUnderwear · · Score: 2
    > I don't get it. What does "115" have to do with a spooky coincidence?

    In Europe, we put the day of the month before the month. I.e. this would be the 11th of May.

    --
    Say no to software patents.
  117. True story. by BlueUnderwear · · Score: 4
    You can find any of those in Pi... The real challenge however is to find not only an interesting message, but also to find it at an interesting position. And indeed, at position 242424 (including the 3 and the .), you find 42424242. Check for yourself at the PI Search page.

    For an even more spooky coincidence, click twice on Find Next, and carefully note the 3 last digits of the error message (start position...).

    --
    Say no to software patents.
    1. Re:True story. by TotallyUseless · · Score: 1

      check out how many times 666 occurs. i stopped clicking 'next' after about 30 or so

      --

      Time for some tasty Shiner Bock!
    2. Re:True story. by indole · · Score: 2

      Also to be noted, 31337 occurs at the palindromic position 12022021.

      1337 indeed.

      --
      (2,3-Benzopyrrole)
    3. Re:True story. by grammar+fascist · · Score: 1

      You can find any of those in Pi...

      So what you're saying is that Pi was created by an infinite number of monkeys?

      --
      I got my Linux laptop at System76.
  118. Re:Neumann said ... by dismayed · · Score: 1

    Just wondering, but did that come from the book Python Standard Library?I was just reading it, and that quote at the beginning of the Random chapter stood out.

  119. Re:To Random or not To Random by shockwaverider · · Score: 1

    No - Not BS.

    The size of the decompressor has to be included in the compression calcs.

    In addition splitting on a predfined series of bytes is consdered to be a "trick" as it merely offloads the data to the filesystem involved.

    --
    Remember kids! Guns don't kill people - Americans kill people.
  120. Re:more haiku by orangesquid · · Score: 1

    Maybe in Japanese, it doesn't rhyme, and yours does! :D

    "Slow down cowboy!

    Slashdot requires you to wait 20 seconds between hitting reply on comments.pl and submitting a comment.

    It's been 12 seconds since you hit 'reply'!"

    Okay, screw you, I type fast and I'm on a high-speed connection. Dipshit.

    --
    --TheOrangeSquid Is it any wonder things seem so awry? We swim in a sea of confusion and don't have to think to survive
  121. Re:Biblical precidence by big_hairy_mama · · Score: 1

    Still, the *ratio* is the same, no matter how long the ruler.

  122. Re:memory much? by x24 · · Score: 1

    You think that's bad? Here's a guy who juggles while reciting pi:
    http://www.cs.rpi.edu/~moorthy/moorthyjug.html

  123. PI is also satanic....!!! by jbuilder · · Score: 1

    The string 666 was found at position 2440 counting from the first digit after the decimal point. The 3. is not counted.

    I *knew* PI was the tool of the Devil.. it just had to be. I'll be we can even find out the answer to who shot JFK in PI if we search hard enough...




    perl -le '$_="6110>374086;2064208213:90<307;55";tr[0- >][ LEOR!AUBGNSTY];print'

    --
    Polymorphism -- It's what you make of it.
  124. Re:What do the mean random. by adubey · · Score: 2

    The meaning of randomness has to do with Kolmogorov complexity. While Kolmogorov was primarily a statistician, Kolmogorov complexity could actually be considered a topic in theoretical computer science.

    Let's say you have a string s of length |s|. If the smallest possible Turing machine that can output s has size > |s|, then s is a random string.

    On the other hand, if the smallest Turing machine that can output s has size some Turing machine exists that can write down s and yet is smaller than |s|. Thus pi isn't random.

    NB: for the other poster who was trying to use information theory to prove pi isn't random, please not that the probability that the nth digit takes on a certain value is now known to be a deterministic function... this may change your results.

  125. Re:Why does this matter? by d-man · · Score: 1

    Just remember what Asimov said:

    "The most exciting phrase to hear in science, the one that heralds new discoveries, is not 'Eureka!' (I found it!) but 'That's funny ...'"

    --
    Unix: Where /sbin/init is still Job 1.
  126. Re:Pi is great as a random source. by Moonshadow · · Score: 1

    Disclaimer: I am a high school student who just finished up Algebra II

    You mean, not everyone on Slashdot is a rocket scientest with 14 degrees who holds a prestigious position in a large company?! Oh, the shock!

  127. Re:Biblical precidence by mr.+roboto · · Score: 1

    What are you talking about?

    111/106 = 1.04716...

    It's not even close to Pi. Are you paying any attention whatsoever to what you're writing? Are you a complete moron?

    It's not accurate at all!!

    Think before you post, and at least have the minimal, reptilian, common sense to check your fucking numbers.

  128. Supress it as a DMCA violation! by Greyfox · · Score: 2

    If you look long enough, you should be able to find all the Metallica songs, every work of literature, decss and every movie ever made in pi. As such, this work should be suppressed as a DMCA violation!

    --

    I'm trying to teach myself to set people on fire with my mind... Is it hot in here?

  129. Not Texas, Indiana by sg3000 · · Score: 5
    Although I wouldn't put it past Dubya to legislate pi to a particular value -- this is the guy that doesn't believe Social Security is a Federal program, and his party has been trying to legislate the story of biblical creation as science for decades -- it was actually Indiana where this happened.

    in 1897 Representative T.I. Record introduced House Bill 246 suggesting three values for pi: 3.2, 4, and ~3.23. These three figures were based on the work of an amateur mathematician Edward Goodwin. The bill was quickly forwarded to the Committee on Swamp Lands (of course), which then forwarded it to the Committee on Education. This committee gave it a pass, where the House approved it unanimously. The bill made it to the Senate.

    Before the Senate could make asses of themselves as well, a professor of mathematics at Purdue named C.A. Waldo, intervened, and it died an embarrassing death.

    For a more humorous account, read Cecil Adam's account of this at the Straight Dope.


    --
    Insert simplistic political, ideological, or personal proselytization here.
  130. It's been done. by }{avoc · · Score: 1

    See:
    http://www.utm.edu/research/primes/glossary/Illega l.html

    Short version:
    This guy took gzipped decss code, and found that it could be expressed as a prime number. So there is an illegal prime. Considering that pi is infinate, it also exists in pi, so some part of pi is also illegal.

    Doh.

    -Dan

  131. Of course they're not random! by jefferson · · Score: 2
    If they were truly random, we'd have a different PI each time we calculate it. Remember that the so-called "random number generators" are in fact pseudorandom. Like the digits of PI, they are deterministic, and with the same starting point in the sequence, you always get the same set of numbers.

    Pseudorandom numbers are often used in place of true random numbers, because usually what is needed is a set of numbers with certain properties common to random numnbers, e.g. uniform distribution. Note that for cryptography, pseudorandomness is often not sufficient, and truly random numbers are needed. These are usually generated by sensing the physical world in some way, where, we assume that the combination of chaotic processes and quantum effects makes the incoming values truly unpredictable.

  132. Re:Neumann said ... by jdcook · · Score: 1

    It has also been a popular quote for cookie files for years.

    --
    Q:How many libertarians does it take to stop a Panzer division? A:None. Obviously market forces will take care of it.
  133. Old News by SamBeckett · · Score: 1

    There has existed an algorithm to find the nth hexadecimal digit of PI for a couple of years now. It seems to me, going from hex to binary is trivial.

    More info can be found http://www.mathsoft.com/asolve/plouffe/scimath.txt - there.

  134. DOE - Interesting? by kannen · · Score: 1
    Dude,

    This may be the first time they've EVER had significant traffic on their servers. How often do YOU look for cool, interesting articles on the DOE's website. Not very often, I suspect. =)

  135. Re:Students Discover Pattern in Pi Digits: by Punto · · Score: 3
    And today, thanks to the hard work of a pair of students at Carnegie Mellon University, we can read that language.

    And they'll be hearing from God's lawyers. This "formula" is clearly a circunvention device.

    --

    --

    --
    Stay tuned for some shock and awe coming right up after this messages!

  136. Re:memory much? by cybercuzco · · Score: 2

    Hey I once derived the quadratic formula while sitting in calc @ class simply because the lecture was so boring, that the derivation was more interesting than anything els i could do at the time ( i had already gotten bored with doodling ;-)

    --

  137. Re:Why does this matter? by cybercuzco · · Score: 2

    in base pi, pi= 10. not exactly random. Therefore, pi is not random in all bases.

    --

  138. Re:nth digit of pi by sudog · · Score: 1

    You can't convert any base to any other base "just like that"! After the decimal place you end up dealing with fractions that are sometimes impossible to properly convert to fractions of another base.

    Here's an easy proof: Try converting 0.025 into a clean non-repeating binary fraction.

    Don't waste your time. You can't.

  139. Re:Biblical precidence by he-sk · · Score: 1
    DNA/Human genome proves evolution? How? Sure, living things adapt to their surroundings, that's been proven on a small scale, but where's the proof of adaptation into new species?

    You mean the so-called missing links? Well, they're not missing, at least there are examples for the fish->reptile transition, for the reptile->bird transition (archeopteryx is most famous) and, IIRC, for the reptile->mammal transition. These are not transitions from a species to another (the species is the only real biological indicator of differences, because it forms the border of which animals can breed/have fertile descendants; all the other like race, family, ... are artificial) but from different orders of animals. If such a transition is possible, why shouldn't the transition from species to species of the same family/order be possible?

    Human history has shown some transistions from species to species, eg. wolf->dog, wild boar->domestic pig, etc. What more prove do you need?

    Plus, the anthropology (Is that the right word? I'm not a native English speaker, and I'm also stoned right now.) of the human species is so well documented; the adaption of a new species should be obvious!

    --
    Free Manning, jail Obama.
  140. Re:This is a clear violation of the DMCA by Jovian · · Score: 1
    Your point 4 is valid, assuming that you restrict it to sequences of finite length. (You would be hard pressed to find an infinite sequence where all of the terms past the Nth term all have the value 4 in an irrational number, if y'know what I mean. :)

    This assumption is valid since you're dealing with copyright materials which are not infinite in length. Mind you, you never know about the source code for windows XP 2005 - when the source code becomes infinitely long, it, most likely, will not be found as a subsequence of pi. Never underestimate the power of MS code bloat!

  141. Random or Non-Linear or Non-Cyclic by Listen+Up · · Score: 2


    If Pi was "random," as apparently the poster of this story is far from anything you would consider a Mathematician or even a "Math intelligent" person, then each time you derived Pi the numbers would be different. e.g. 3.14159... 3.204845... 2.09284...1.38485... You have confused the word "Random" with something it truly is not. The question you are looking for is each time I derive a "new" digit of Pi, will it be predictable, will it be cyclic? That has nothing to do with Pi being random. Because each time you want to derive that certain Nth digit of Pi, it will be the same. That proves Pi is not random, just not cyclic, as of yet.

  142. Define random - and PI isn't by SimCash · · Score: 1
    When I taught prob/stats and simulation I would use the information-theoretic definition of random that says:
    A number stream (viewed as a DB) is random if the number of characters to define it is greater than or equal to the number of characters it contains.
    We would then progress to compression algorithms then to pseudo-random numbers as used in simulations.

    Bottom line, philosophically at least, Pi cannot be random because it can be completed defined in a very small number of characters (e.g., the ratio of the circumference to the diameter of a circle expressed in a flat (Euclidean) space. Even better, as the solution to a simple infinite series.) This argument also applies to e, and some other transcendental numbers.

    Of course, authors like the ones quoted in the root story tend to confuse statistical tests with fact ...

  143. Re:Hmmm by gdr · · Score: 1
    For values of `random' that mean `uncompressible' of course, it can probably rate pretty highly.
    Huh, pi is highly `compressible' if you pick the right compression algorithm:

    XOR the input data with your representation of pi then compress the result with a conventional compression algorithm.

    This algorithm will be quite bad with conventional input (text files etc) but will compress pi quite effectively.

    The digits of pi are no more "random" than the digits of 1/3. There is a pattern to the digits of pi because there is an algorithm for calculating them. We just don't see the pattern a first glance.

    You could say that pi is more random than 1/3 because of the even distribution of the digits, pairs of digits, etc. Is there a measure of the "randomness" of a sequence of digits? Isn't "randomness" in this sense as subjective as "compressibility".

    A final thought, would we consider the digits of 1 random if our number system was base pi?

  144. Re:Hmmm by gdr · · Score: 1
    You can't make a number system based on a non-positive integer. Number systems must be based on positive integers that are not one. Think about it. What would the digits of base-pi be? 0, 1, 2, 3, 3.141? I don't think so.
    The digits would be 0,1,2,3 i.e. all the whole numbers below pi.

    Here is a java applet that will convert a decimal number to any base larger than 1 (even fractional bases). Source code is also available from this page although with a tiny bit of thought you could probably code it yourself.

  145. Re:pi randomness and algorithmic information theor by gdr · · Score: 2
    For an example, consider the sequence "1,2,3,4". Most people would predict the next digit to be "5".
    However if I was presented with the numbers "3, 1, 4, 1" and asked to predict the next number I would probably say "5".

    In the "1,2,3,4" case you are using information about the likely source of the digits to predict the next one (would you still say 5 if you knew the digits were generated by rolling a die?)

    All sequences provide no information about the next digit in the sequence unless you know something about the likely method used to generate that sequence.

  146. go backwards by shy · · Score: 1


    if they have found a:

    "simple formula discovered makes it possible to calculate the Nth binary digit of Pi without computing any of the first N-1 digits, and do the computation with very little computing power."

    Doesn't this make it possible to assign an extremely large number to N - say, a billion times bigger than we've ever calculated pi out to before - and see if that resolves to a zero? And, if so, proving that pi eventually ends? and working backwards from this theoretical point, couldn't you quite easily find the last digit of pi basically using a binary tree method?

    --
    ---- keep it simple.
    1. Re:go backwards by madPatter · · Score: 1

      Doesn't this make it possible to assign an extremely large number to N - say, a billion times bigger than we've ever calculated pi out to before - and see if that resolves to a zero? And, if so, proving that pi eventually ends? and working backwards from this theoretical point, couldn't you quite easily find the last digit of pi basically using a binary tree method?

      No. To show pi ends you would have to show that every digit after that 0 was also a 0. By the way, this cannot be done since pi is irrational and thus does not end.

  147. Where do you people come from? by havachu · · Score: 1

    Sheesh, I love it when people pass around old barbs that are obviously false.
    Try this link for the real deal on "legislature makes pi == 3".
    Did a state legislature once pass a law saying pi equals 3?
    or for the goat-fearful
    http://www.straightdope.com/classics/a3_341.html

    Come on down here and say that, boy.

  148. Re:Pi is great as a random source. by jafuser · · Score: 2
    . However, I have a feeling to "trust" Pi more than e, given that you can write e in form of continued fractions with repeating patterns, and nobody has yet found a pattern in the continued fractions of Pi.

    pi = 4 * (1 - (1/3) + (1/5) - (1/7) + (1/9) - (1/11) ... ) doesn't count?

    --

    --
    Please consider making an automatic monthly recurring donation to the EFF
  149. Re:Why does this matter? by Leto2 · · Score: 3

    Does a base have to be an integer? If not, pi in base(pi) is 10 exactly.

    --
    <grub> Reading /. at -1 is like driving through Cracktown in a convertible that is stuck in 1st
  150. Re:Why does this matter? by (void*) · · Score: 5
    Also, since Pi is a ratio that we 'choose' to express in a base10 numerical system, would the fact that the digits are random in a decimal system mean that they would be random if we expressed Pi in a hexidecimal or octal system?
    How is this insightful?

    Suppose there is some base b such that the digits of repeat. Then Pi * b * m = n where m and n is some integer. And so we would have Pi = n / b *m. But m and n are integers, as is b. So you've just shown that Pi is a rational number. It is not. Hence, no such base exists.

  151. Base 5 by shpoffo · · Score: 1

    What have we been telling people? It's all about Base 5!


    Ewige Blumenkraft!
    -shpoffo

    1. Re:Base 5 by shpoffo · · Score: 1

      Silly little discordian dupes. You only know what we want you to know, and believe what we want you to believe. Every hodge needs a podge.

      23=59 [GoN]

      see you on the flip-side

    2. Re:Base 5 by LoudMusic · · Score: 1

      All your Base 5 are belong to us.

      Sorry, couldn't resist (:

      ~LoudMusic

      --
      No sig for you. YOU GET NO SIG!
  152. Re:Hmmm, YABL (Yet, Another, Broken, Link) by shpoffo · · Score: 1

    it was /.ed - also try his home page for more links and such.

  153. pi randomness and algorithmic information theory by jejones · · Score: 1
    Somebody tell me where I'm screwing up here:

    Algorithmic information theory defines the amount of information in a string as the length of the (shortest, I would presume--you can always pad code) program that generates it. A random sequence is one that's uncompressible--the best you can do for a program to emit it is to have a copy of the sequence itself in initialized data and spit it out.

    Now...if there's an algorithm to generate an arbitrary digit of pi, obviously you can use it to write a function to generate all of them (eventually, in the sense that for any fixed N, you'll only have to wait a finite amount of time for the Nth digit to come out). That seems pretty darned compressible to me, so how the heck can the digits of pi be random? Is my understanding totally off here, or do counterintuitive things happen for infinite strings?

  154. Re:This is a clear violation of the DMCA by jeff_tyrrill · · Score: 3

    The value of the starting position for any useful work would be such a large number that simply expressing the number would in almost all cases take far more bytes than to store the work itself (barring some infinitesimally unlikely occurrence, which is just as unlikely as finding the work randomly occurring in any other form in nature, such as twigs falling from a tree and arranging, just by random luck, into letters and spelling a message). In fact, since the stream of digits of pi is infinitely long, not only can every work that has ever, does, and will ever exist be found in it, but every single work must lie buried an infinite number of times! For any work, you could come up with as many numbers as you want to describe its position.

    Small numbers indicating a quantity cannot be copyrighted, but the numbers necessary to express these digit positions would be far beyond any useful quantity imaginable. Just as all digital data is reducible to a long number, these digit positions are encoded data, not useful quantities, and therefore would be protected by copyright as just a representation of the works they are "pointing" to in the digits of pi.

  155. Re:Here is the article by alexburke · · Score: 2

    the natural logarithm of 2, often written "log(2)"

    Isn't that supposed to be ln(2)?

    --

  156. Re:Optimum compression... by RFC959 · · Score: 1

    Something very similar has already been done. Search for the "GNU superoptimizer" : "GSO is a function sequence generator that uses an exhaustive generate-and-test approach to find the shortest instruction sequence for a given function."

  157. Re:Pi is great as a random source. by rcw-home · · Score: 1

    doublea,b=4,c;main(){for(;++a<2e6;c-=(b=- b)/a++);printf("%f\n",c);}

  158. Re:Hmmm (free will?) by Uberminky · · Score: 1
    when I think of the consequences this would have on such nice ideas as "free will", I'm really positive that I like the uncertainty of quantum mechanics more.

    This is something I never understood. Why is it better to be a slave to randomness than a slave to the universe before you? When you really get down to it, that's just the problem (as I see it): nobody can come up with even a vague definition of "free will". If it's randomness, then a geiger counter hooked up to the control circuitry of a robot has free will. If it's deterministic, then the crudest pseudo-random number generator has "free will". (At what point is there sufficient complexity to call it "free will"?)

    It can't be nothing more than randomness, because clearly there is no "will" there at all. There is no rhyme or reason, and thus no meaning, and I can't call that "free will". There must be some order to bring meaning to the decisions we make. But order is the result of determinism! But simple determinism gives me no power that randomness didn't. It still leaves all power in the hands of those before me. So what is it? What is free will? A combination of the two? But that still leaves me utterly powerless. Obviously if I sit at home drinking beer all day, I will go nowhere, I must get off my butt to have a fruitful life. But how is this any more than a mere illusion of freedom?

    That's what I hate about philosophy: there's no way out!! ;)

    PS -- I'm no physicist, but I've taken a few intro quantum classes and things. And I gotta say, I still don't quite buy the notion of nondeterminism. But who knows, and in the end, does it really matter? I just wish scientists would be more clear about the fact that everything they say is nothing but hypothesis, with a dash of evidence thrown in. I don't know that the sun will rise tomorrow. An infinite number of things could stop that from happening. When I hear scientists spewing their drivel about what they "know" it annoys me so much... (I think the key to the universe is simplicity, and it seems all these guys want to do is make the theories more complex to fit their crappy experimental results. "What?!? That's not what was supposed to happen. I know: there must be a brand new particle that we don't know about, that can do anything, and that is impossible to detect. HAH! Our theory is complete! And look, our experiment even backs it up!") Ok, enough of my ranting...

    --

    The streets shall flow with the blood of the Guberminky.

  159. Re:nth digit of pi by daoine · · Score: 1

    I think the more generalized algorithm (which might be what they are talking about) is the PSLQ, which is only like a year and a half old. They talk a little about it at http://www.nersc.gov/news/bailey1-20-00.html, but the PSLQ link seems to have been removed due to a copyright lawsuit.

  160. Re:Students Discover Pattern in Pi Digits: by SuiteSisterMary · · Score: 2

    Actually, "We apologise for the inconvenience."

    --
    Vintage computer games and RPG books available. Email me if you're interested.
  161. Homer by Nastard · · Score: 1

    Mmmmmm, pi

    1. Re:Homer by freeweed · · Score: 2
      Actually, the funnier quote would be:

      Mmmmm... floor pi

      --
      Endless arguments over trivial contradictions in books written by ignorant savages to explain thunder in the dark.
  162. lalala by Lord+Omlette · · Score: 2

    So, anyone can calculate nth digit right? nth digit doesn't require n-1 digits, right? Am I the only one thinking "THIS WOULD MAKE A GREAT DISTRIBUTED CLIENT!!!"?

    Peace,
    Amit
    ICQ 77863057

    --
    [o]_O
    1. Re:lalala by vidarh · · Score: 2
      Why the hell would you want to calculate Pi to a lot of digits? It's been done to an accuracy that nobody needs already. Again and again and again. We don't really need yet another waste of resources.... :)

      --

      Remove Trash+ to reach my actual inbox

    2. Re:lalala by hyyx · · Score: 1

      No, you are not.

      PIHEX: http://www.cecm.sfu.ca/projects/pihex/

  163. More info on the Algorithm by regen · · Score: 5
    Can be found at http://www.lbl.gov/Science-Articles/Archive/pi-alg orithm.html.

    I couldn't get the link in the story to work, and found this while searching for the story.

    1. Re:More info on the Algorithm by Bobo+the+Space+Chimp · · Score: 1

      If I understand it correctly, k is n, and the neat trick about the sum is that each element corresponds to a 16-bit hex digit when PI is written out in hex.

      So, since each element of the sum is a straightforward (if itself intense) calculation, you can just pick the k, run the computation, and you're done.

      I also wonder, they say they don't have a formula for decimal digits. While they may not have a direct formula, any decimal digit would overlap at most 2 hex digits, and which 1 or 2 hex digits correspond to a given digital digit is a straightforward calculation, just multiplying by a constant...

      --
      I am for the complete Trantorization of Earth.
  164. Center for Advanced Computation by PotatoPhysics · · Score: 1

    As a current Reedie I get a big kick out of everytime I hear The Center for Advanced Computation At Reed College. Basically a renovated two-bedroom residential house that was annexed because it was too close to the campus this unassuming building is even unknown to most Reed community members. It's absolutely hilarious when the media come by looking for The Center for Advanced Computing and we point them to a small house behind some trees. As far as I know Crandall is the only faculty there.

    Crandall is a wonderful lecturer whose seminar talks never fail to befuddle the rest of the faculty (let alone the undergraduates). Personally, I have made a solemn vow stay away from the areas of physics that will likely degenerate into number theory. Regardless of my preferences, his class in scientific computing is more than worthwhile.

  165. Re:Why does this matter? by CaptJay · · Score: 1
    Actually there's base e which is widely used (also called natural logarithm, noted ln).

    e = 2.7 something (irrationnal number)

    --
    "I remember Y1K, every abacus had to get another bead"
  166. Re:To Random or not To Random by Rei · · Score: 2

    That would be pointless.

    To do valid compression with huffman coding, you first need to determine frequency of occurance. But, the frequency of occurance is all you want in this case - why finish the job of building the tree?

    Actually, arithmatic compression is much better. If you're not familiar with it, it is a probabilistic way of storing bits, where, the better you know the probabilities, the better you can do. Worst case, its compression is equivalent to huffman coding. Best case, the sky is the limit, it depends on your knowledge. I have an interesting application I want to try some time using huffman coding to store MDCT blocks :) Hey, you know the odds of a certain signal having various frequency components! And, you know the total amount of retained frequency in that block. Put the two together... you have very accurate probabilities :) You might get an extra 5% out of sound and 15% out of images (and even more out of video if it uses 3d transforms instead of layered 2d transforms).

    Any signal compression algorithms already use arithmatic encoding? Anyone know?

    -= rei =-

    --
    "Well, then fire it up and show me what this..." (sigh) ... "coccoon can do."
  167. Re:Biblical precidence by istartedi · · Score: 1

    I think maybe you missed the point. If you try to measure by putting your elbow to the ground 30 times and eye-balling it, and you have a systematic error of one inch each time you do that, it's 30 inches of error by the time you're done. Given those circumstances and no knowledge of higher math, 3 isn't such a bad estimate.

    --
    For all intensive purposes, "whom" is no longer a word. That begs the question, "who cares"?
  168. Re:Cool Application! by istartedi · · Score: 2

    Also the range of characters used is often very limited - simply decoding a few characters with every sequence, and see whether it would give you any characters outside the expected set would let you throw away a huge number of starting points very quickly.

    This problem is easy enough to solve. Just gzip before you encrypt. Then they might look for the gzip magic number, but you can exclude that too. The only real problem would be if gzip uses a "dictionary". They might be able to pick words out of that. So, gzip might not be the ideal choice but I'm sure there must be some compression method that produces statisticly random results, even in the early part of the file.

    --
    For all intensive purposes, "whom" is no longer a word. That begs the question, "who cares"?
  169. Re:Biblical precidence by istartedi · · Score: 5

    Well, if you're going to be using "cubits", it's not like precision is really a concern to begin with. IIRC, The cubit was the distance from the elbow to the tip of the longest finger. Whoever was ruler at the time set the standard. It would be interesting to see how close we could come doing it by hand, or with a "cubit-stick".

    --
    For all intensive purposes, "whom" is no longer a word. That begs the question, "who cares"?
  170. Depends on how you choose to define "random" by SLi · · Score: 1
    From the Webster's:

    Function: adjective
    Date: 1565

    1 a : lacking a definite plan, purpose, or pattern b : made, done, or chosen at random <read random passages from the book>

    2 a : relating to, having, or being elements or events with definite probability of occurrence <random processes> b : being or relating to a set or to an element of a set each of whose elements has equal probability of occurrence <a random sample>; also : characterized by procedures designed to obtain such sets or elements <random sampling>

    ---

    So, pi probably has no plan or pattern, but arguably does have a definite purpose. It wasn't probably made, done or chosen at random, though it's hard to know.

    I don't know if we can talk about probabilities together with pi, more than "if we pick a 5 from the decimal representation, which is the probability of the next digit being 8".

  171. Re:To Random or not To Random by SLi · · Score: 1
    Explain to me why I can get this out of a "perfect" random number generator:

    Because the probability of a random number being equal to some predetermined value when the set of possible random numbers is not discrete is exactly zero. Perhaps that's why.

  172. Re:To Random or not To Random by SLi · · Score: 1
    here's a simple test... try to compress the "random" string of numbers; if you can compress a string of random numbers, it isn't

    Sure, this is a good way of being sure some number is not random. But it doesn't work the other way round. You can't compress already compressed files or encrypted files (well, from good encryption and compression programs), yet they're not random.

  173. Re:Also depend on compression scheme... by SLi · · Score: 1
    Depending of your algorithm (repetion, fractal regression,...) you will get VERY DIFFERENT RESULTS using the same original file.

    _No_ compression algorithm ever will compress purely random numbers.

    Or to be more precise, no compression algorithm ever will compress more than 50% of all possible inputs of the size n or less for any given n. Proof left as an exercise (it's really simple).

  174. Re:To Random or not To Random by SLi · · Score: 1
    No.

    Mathematically, given two infinite sets A and B such that A is continuous and B a discrete subset of A, the probability of a randomly picked number from set A belonging to set B is not only very small (i.e. low probability), but zero. Now A is the group of all "numbers" and B is the group of all compressible numbers. Ergo, the chance is not there.

  175. Pi by SLi · · Score: 1
    Pi is an interesting number for not only being the ratio of a circle's circumference to its diameter, but also another constant in software development. What follows is empirical:

    t=pi*t_e, where

    t = the time required to finish a project, and
    t_e = the estimated time required to finish a project (which also happens to be equal to d-dt, where d is the deadline and dt is the current time).

  176. Re:To Random or not To Random by SLi · · Score: 1

    How about - pi?

  177. Re:Also depend on compression scheme... by SLi · · Score: 1
    If the random numbers do not occur all over the possible input domain, then they're not random in that domain, right? Or... How about randomly setting or clearing the least significant bit of every color in a 24-bit picture. That doesn't make the picture random, does it?

    Ok, it depends on how we define randomness. You're right on that.

  178. Re:To Random or not To Random by SLi · · Score: 1
    But really, when you pick a random number (with infinite precision) from 2 ;)

    Ok, perhaps better for me to not argue about something I don't understand too well myself either. I'll try to find one of those books for reference if you're interested in the higher mathematics.

    And about compressing an infinite set, you're right. I should probably have said "a random number of n bits for a very large n". I'm not that much mathematician yet, though :-)

  179. Re:To Random or not To Random by SLi · · Score: 1
    Well, they're trying to determine if pi is random. And they're certainly doing it with computers.

    you really are an idiot

    Thank you, sir, for pointing that out.

  180. Re:more haiku by MBCook · · Score: 1
    Good try but a Hiku is a 3 line poem THAT DOESN'T RHYME . You could use the following:

    Irrational Pi,
    Use the magic formula.
    This post is worthless!

    --
    Comment forecast: Bits of genius surrounded by a sea of mediocrity.
  181. Re:This is a clear violation of the DMCA by Morris+Schneiderman · · Score: 4

    Since pi predates the DMCA and everything 'protected' under it, pi must count as 'prior art', invalidating ALL copyright and patent claims.

  182. Re:Why? There are only 3 digits. by aozilla · · Score: 1

    Hmm, I always thought there were 10 digits in pi. 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9.

    --
    ok then your [sic] infringing on my copyright! Could you as [sic] me next time before STEALING my comments for your own?
  183. Re:Why does this matter? by Doomdark · · Score: 1

    You'd probably ask for 2 * 1 / 3.14159... tickets then? (pi being base and you wanting less than 1 unit)
    --

    --
    I like paying taxes. With them I buy civilization -- Oliver Wendell Holmes
  184. Re:Biblical precidence by Tim+Locke · · Score: 1

    pi = 3

    And he made a molten sea, ten cubits from the one brim to the other: it was round all about, and his height was five cubits: and a line of thirty cubits did compass it round about.

    1 Kings 7:23


    Sorry. You have incompletely analysed the verse. Try this: http://www.yfiles.com/pi.html

    --
    *** On the Internet, no one knows you're using a VIC-20
  185. Re:Biblical precidence by bellings · · Score: 1

    Ok, last post; I'm getting sick of this.

    Trolls aren't supposed to get sick of trolling!

    --
    Slashdot is jumping the shark. I'm just driving the boat.
  186. Re:Biblical precidence by Sara+Chan · · Score: 1
    the nearby city of Tyre had the most accurate approximation of pi -- and they kept it a secret, since they made a lot more money that way. pi, during the time period in question, was intellectual property.
    This is great! Do you have a reference?? (Maybe it could be used in IP court cases.)
  187. Re:Cool Application! by FreezerJam · · Score: 1

    Doh!

    That should be:

    "each n-bit sequence occurs 1/(2^n) of all n-bit sequences".

    Doh!

  188. ..and it has non-infringing uses everywhere by FreezerJam · · Score: 1

    The other notable advantage is that your encryption/decryption code is both widely available and doesn't appear to be cryptographic software. This is a huge advantage to those people who can be convicted/shot simply for having the ability to encrypt and decrypt information.

  189. Cool Application! by FreezerJam · · Score: 5

    If it is possible to calculate digits of Pi starting at any point, then you could easily use Pi as a pseudo-random pad.

    Once you know the starting digit location, you can easily decrypt something that has been XOR'd with the sequence from that point onward. But - given that each n-bit sequence occurs 1/n of all n-bit sequences, there are essentially an infinite number of options facing the code-breaker - even after each successful step!

    If you are feeling particularly vicious that day, encrypt with two XOR sequences, based on two difference starting points.

    1. Re:Cool Application! by vidarh · · Score: 3
      It has the slight little weakness that you need to transmit the key in some form. Which means that the attacker can reasonably assume that the starting point won't be too high. If the attacker knows *anything* about the content being sent, the mechanism is also vulnerable to the attacker doing guesses about what to expect, and use that to verify whether or not he's achieving success.

      For instance, if I were looking for JPEG or Word files, I could look for common headers by:

      1) Making an assumption about the maxium size of the key (the starting point in the Pi sequence), and 2) Take X bytes of known header information from each of a set of file formats, 3) Find every starting point in the Pi sequence that when XOR'd with the characters in the known headers produced the same data as in the start of your encrypted file, 4) proceed to see if I get valid data from continuing onwards from the starting points identified.

      Even if it's an unstructured file format like plain text, I still believe that you'd be able to do "interesting" analysis of the file based on statistical facts about plain text - the occurence of characters have clear statistical properties and patterns in different languages.

      Also the range of characters used is often very limited - simply decoding a few characters with every sequence, and see whether it would give you any characters outside the expected set would let you throw away a huge number of starting points very quickly.

      And since XOR'ing a non-random sequence with a "random" sequence of digits gives the result non-random properties. XOR'ing it again with another random sequence may obscure that (but it also poses a certain chance of actually totally reversing your initial operation), but not totally, and it may also weaken your initial operation for whole or parts of the file.

      Actually in that respect, you could have taken any good pseudo random number generator, and done almost the same thing as you suggest: The "starting point" is essentially just a seed.

      I'm not a cryptographer (not even on hobby basis) nor a mathematician (haven't touched a math book since my first term in University, thank you). When there's weaknesses obvious enough that I can see it like that, then I'm sure that someone who actually knows anything about cryptography can find a lot more problems with it.

      --

      Remove Trash+ to reach my actual inbox

    2. Re:Cool Application! by statusbar · · Score: 1

      Also, XOR is bad to use. Stay away from it. A sequence of 0's in the key and there will be cleartext coming through. So you need a more complex function that depends on the result of the previous byte encryption. Then, to get around the gzip header problem, you prefix your file with a random number of bytes of true random data. The header will be completely obfuscated then.

      But this is all moot, and has been thought of before. I'm sure that the amazing wizard geniuses who figured out the binary digit pi calculation could crack a simple minded pi-based encryption algorithm faster than you can understand their equation! Read their papers for their description of how they found their equation and most people will be lost in the first paragraph.

      Regardless, all PI based encryption algorithms will be secret-key encryption, which is not nearly as useful as public key encryption.

      --jeff

      --
      ipv6 is my vpn
    3. Re:Cool Application! by Ratbert42 · · Score: 2

      ...you could easily use Pi as a pseudo-random pad.

      If you don't mind the fact that it's the most well-know pseudo-random digit sequence in the world.

  190. Re:from the article by Theodore+Logan · · Score: 1

    I evidently should have read the comments before posting this. Quite obviously, I and others were wrong.

    --

    "If you think education is expensive, try ignorance" - Derek Bok

  191. Re:Students Discover Pattern in Pi Digits: by Theodore+Logan · · Score: 1
    Actually, starting at the 74088th digit is 70574957481696694062334272. However you interpret the ascii table, that's not "So long and thanks for all the fish" (and that was the dolphins anyway). Assuming two-digits ascii values it reads "F91190`E(>!*H". What god meant by that is probably explained by an AC in the reply to this post (isn't it always?).

    Yes, I have too much spare time.

    --

    "If you think education is expensive, try ignorance" - Derek Bok

  192. from the article by Theodore+Logan · · Score: 2
    In addition, a simple formula discovered makes it possible to calculate the Nth binary digit of Pi without computing any of the first N-1 digits

    I thought this was not only extremely difficult, but actually impossible. Pi is proven to be irrational many years ago now. I thought it had also been proven (also many years ago) that you cannot ever know the Nth digit of a irrational number without computing the N-1 first. I also remember an earlier slashdot discussion when some 20 year old had calculated the trillionth digit of pi using some distributed scheme. Naturally, some poster wanted to know whether he had calculated the trillion-1 digits before that one also, and he got instaniously drenched by replys claiming and proving that such a feat is impossible, so at least I'm not the only one having heard this.

    Could some math grad with knowledge about this help clear it up?

    --

    "If you think education is expensive, try ignorance" - Derek Bok

  193. Re:Pi is great as a random source. by johnjtrammell · · Score: 1

    Using the 'random' digits in pi to calculate pi ... ain't math great? :-)

  194. Re:Students Discover Pattern in Pi Digits: by Thumpnugget · · Score: 1

    Actually, that's truer than you might think.

    If pi is truly random, then any arbitrary sequence of digits (of any length) is present in it somewhere, at some position. Choose a suitable encoding for the information you're looking for - any encoding will do, e.g. three digit groupings for ASCII numbers - and then just search through the digits until you find that particular sequence. It will be in there somewhere, but quite possibly at an unbelievably astronomical position. In fact, the longer the sequence, the higher the probability that you find it later in the sequence.

    BUT WHAT DOES IT ALL MEAN?

    Just that it takes all the information in the universe to make it all the way around a circle.

    Somewhere, right now, Archimedes is laughing.

    DISCLAIMER: the contents of this message are also encoded into the digits of pi. However, the author is not at liberty to discuss the start position.
    -----

    --
    Free yourself. Everything else will follow.
  195. Did they crack it or not? by jessh · · Score: 1

    Well the site has been slashdoted so can someone tell me, did they crack pie or didnt they? the description seems to suggest they did but i cant help but think there is a catch.

  196. Pi is exactly 1.000 by waimate · · Score: 1
    The value of pi is exactly 1.0000 ...

    ... as long as you're using a 'base pi' numbering system.

    I propose we all switch now. Using whole numbers for our bases is childish, and makes dealing with the natural universe so much more awkward than it needs it be.

    If pushed, I'd consider 'base e' instead. Can't wait to argue about the next bill in a restaurant. Bistromathics here we come.

    1. Re:Pi is exactly 1.000 by falzer · · Score: 1

      Pi in 'base pi' would be represented as 10, would it not?
      Consider that 16 in base 16 is written as 10, 2 in base 2 is also 10.
      Just a thought.

  197. Re:Students Discover Pattern in Pi Digits: by John_Booty · · Score: 2

    > But don't think that you'll win a fight with God

    I can't win with God? Guess I'll just have to fight without him, then ;)

    --

    OtakuBooty.com: Smart, funny, sexy nerds.
  198. Algorithm Below by dmccarty · · Score: 1

    function nthDigitOfPi(long n) {
    return rnd(10);
    }

    --
    Have fun: Join D.N.A. (National Dyslexics Association)
  199. Re:Pi is great as a random source. by gauron23 · · Score: 1

    A 64-bit floating number (double) representation of Pi by division of two 32bit integers is:

    245850922 / 78256779 = 3.141592653589793e+000

  200. Re:Biblical precidence by sg_oneill · · Score: 1

    ..or even just different coloured guys with different and intresting cultural backgrounds. Any appeal to genetic breeding for races was scientifically scotched donkeys years ago. There has been so much interbreeding between the various 'races' over the past 10k years that it's kinda meaningless outside some obvious phenotypical differences.
    That's not to deny various out of africa versus other theorys on anthropological evolution, but it's not something that makes much difference. evolutionary selection in homo sapien sapiens has been pretty much limited to pigment adaptions and a few things.

    --
    Excuse the Unicode crap in my posts. That's an apostrophe, and slashdot is busted.
  201. Encryption by KhaliF · · Score: 1

    This is good :)

    Because we can now skip forward in pi orders of magnitude further than before, we could (if we wanted) use pi (with a random and gigantic start point or seed) as an xor source for cheap and nasty encryption :)

    --
    HelpGeeks - don't bother visiting, it's not worth it! Really!
    1. Re:Encryption by GodSpiral · · Score: 1

      As I told my girlfriend last evening,
      as fat as your ass seems, it is far less than infinite, and somewhat smaller than the universe.

    2. Re:Encryption by GodSpiral · · Score: 1

      I think your confusing RSA public key cryptography with encryption.

      RSA is one of many encryption techniques. Few others (if any in common use) depend on the fact that factoring large numbers is a difficult problem.

    3. Re:Encryption by Prior+Restraint · · Score: 1

      ...we could use pi (with a random and gigantic start point or seed)... for cheap and nasty encryption.

      Except that your encryption would only be as strong as the randomness of your seed. Since you'd have to store the seed for decryption purposes, it amount to security through obscurity (you're relying entirely on no one figuring out the meaning of the seed).

    4. Re:Encryption by archen · · Score: 2

      er... couldn't we just make up our own extremely long numbers to do this? Seems to me that if there is so much of a thought about wheither Pi is random or not, that people could figure out a number just as big and random. I mean I could take a gigantic picture of my butt, convert it to ascii and that's random enough for me.

  202. Encryption II by KhaliF · · Score: 2

    Any (irrational, nonrepeating) number which we can get the nth digit of by a straightforward, direct formula, that exhibits close-to-randomness would work for the purposes of encryption...

    But...

    With using pi, the fun part comes when you tell someone that the encrypted data they're trying to break has just been xor'd with pi at different starting points a few times, and that you don't feel like telling them the starting points :)

    Even better - the starting points could be taken as a integer equivalent of say an MD5 hash of each of three thirds or four quarters of the password you used :)

    I'd personally hate to be the cryptographer trying to break into your data when the keyspace is potentially infinite depending on password length :) Rubbing it in their faces that it's just xor'd with pi would just be icing on the cake :)

    ...All I want for Christmass (3042) is the look on their face when they hit the last 2048bit key and still can't get to my pr0n...

    --
    HelpGeeks - don't bother visiting, it's not worth it! Really!
  203. more haiku by ReidMaynard · · Score: 1

    not pi in the sky
    I beg forgiveness, for I
    ate all the pi, *sigh*

    --
    -- www.globaltics.net

    Political discussion for a new world

  204. Encryption by GodSpiral · · Score: 1

    The most obvious application is Xor encryption. A one time pad (series of bytes used only once) was the first uncrackable encryption method.

    An easily computable stream that looks random, and cannot be prestored in its entirety seems tough to crack to me. And there's no difficulty in having everyone you want to read your message all having the same pad. Transmitting the starting position to be used is the only difficulty.

  205. Re:This is a clear violation of the DMCA by sqlgeek · · Score: 1
    Ok, if I must, here's the problem with your assumption on point 4. Well first, a counter-example, the following number 0.101001000100001000001000000100000001... has an infinite decimal expansion and never repeats, yet fails to contain "2", much less any arbitrary decimal sequence.

    What you're assuming is equivalent to what these people are trying to prove. In short, given a sequence of random digits the likelihood of finding a given specific digit in the sequence is 1 - (9/10)^N, where N is the number of digits in the sequence. Hence as N --> infinity, this likelihood approaches 1. This is painting in broad strokes, admittedly. Now further, given a random sequence of m-digit numbers and a specific m-digit number, the likelihood of finding out desired member in the sequence is 1 - ((10^m - 1)/10^m)^N for an N digit sequence. Thus as N --> infinity, once again our chances of finding our desired number approach 1, for any specific value of m. So your intuition is pretty good, in that if the digits of pi are "random" in their distribution, then your chance of finding a given sequence within them is 1.

    cheers, Scott

  206. Re:Why does this matter? by MilTan · · Score: 1

    There is actually a theory that Pi is one of those special numbers (whose name escapes me - making this post a little less useful) which is random in all bases.

  207. Re:Hmmm by n6kuy · · Score: 1

    I guess that refutes the assertion that the size of the compressed data plus the size of the decompressor is always larger than the size of the uncompressed data.....

    Two negatives make a positive, but two positives don't make a negative.

    --
    If you disagree with me on social issues, then it's pretty clear that you are a narrow-minded bigot.
  208. Re:Hmmm by sqlrob · · Score: 1
    But if there's a simple formula, that means it is EXTREMELY compressible. Don't compress the output of the formula, just present the formula.

    There you go, infinite digits in a small, finite space. You don't get better compression than that.

  209. Re:Hmmm by sqlrob · · Score: 1

    I think that is more a rule of thumb than anything else.

    Remember, the formula applies to pi and pi only, so it's not general purpose.

    Also, it's easy enough to come up with other cases that refute always. You have a file that's 5 megabytes of the letter 'a', and you encode it using RLE. If the decompressor is >5 Mb, you are a hell of a sloppy programmer. This isn't a real world case, but it's enough to shoot "always" down in flames.

  210. Re:Students Discover Pattern in Pi Digits: by taliver · · Score: 2
    But I thought the message from God was

    Sorry for the inconvenience

    --

    I demand a million helicopters and a DOLLAR!

  211. Re:Why does this matter? by Mojojojo+Monkey+Inc. · · Score: 1

    I'm fairly positive there's no such thing as Base 9.5, just base 9 and base 10 (for example) so I don't think Base (pi) would work either.

  212. Re:Biblical precidence by Compenguin · · Score: 1

    pi, during the time period in question, was intellectual property ROTFLMAO, thats hillarious what else did they do patent smells and not let them watch movies they bought? Oh wait, we do that. *Ashamed look*

  213. Re:No! No! No! by nagora · · Score: 2
    Who cares what pi is in binary?

    Anyone who wants a good source of xor'ing digits for their encryption program. Just carve them into groups of 8 (or 16 or whatever you need).

    TWW

    --
    "Encyclopedia" is to "Wikipedia" what "Library" is to "Some people at a bus stop"
  214. Re:No! No! No! by nagora · · Score: 2
    The ability or otherwise to translate from the binary digits is of no impact to someone looking for random data for encryption; taking 8 digits and converting them to an ASCII value is clearly nothing to do with getting the decimal data, but it's still what you need for XORing plain text.

    TWW

    --
    "Encyclopedia" is to "Wikipedia" what "Library" is to "Some people at a bus stop"
  215. Re:No! No! No! by nagora · · Score: 2
    my point was one entirely of sociology. (coolness factor)

    Ah, well, in that case it's all subjective. I think it's cool and you don't. Personally, I don't like Mozart but plently of people do. That's the trouble with sociology (and the other soft-sciences): no one is ever wrong (or right).

    TWW

    --
    "Encyclopedia" is to "Wikipedia" what "Library" is to "Some people at a bus stop"
  216. Why? There are only 3 digits. by pizen · · Score: 2

    A few years ago, the Texas state legislature official rounded Pi to 3.14 because it was "easier". The have since undone that but just think about what that says about the man leading my country. I didn't vote for him.
    ---

  217. Re:This is a clear violation of the DMCA by Thing+1 · · Score: 2
    Piracy is built in to the very structure of the universe!!!!

    Heh. "Pi"-racy.
    --

    --
    I feel fantastic, and I'm still alive.
  218. Re:So what? by Prior+Restraint · · Score: 1

    I seem to remember reading somewhere that 140 ish digits is enought to calculate the circumfrence of the observable universe to within the diameter of a hydrogen atom...

    Interesting. I seem to remember reading somewhere that 40 digits is enough to calculate the circumference of the observable universe to within the diameter of a proton. Methinks an urban myth is circulating.

  219. Re:nth digit of pi by ShunScene · · Score: 1

    There is a base 10 version of the algorithm available too..

    -ShunScene

    p.s. Pi has been proven irrational, transcendental and non-algebraic.
    However, some posters are assuming that every (finite) number sequence occurs starting at some location in Pi. In chaos terms, this is equivalent to saying there exists a dense orbit in phase space (a sufficient condition for chaos to occur). This has certainly been conjectured, but I have not (yet) seen a proof, and have been led to believe it is independant of claims about the digits of Pi having "normal" auto-correlation co-efficients. (c.f. Polya's constant )

  220. Re:nth digit of pi by ShunScene · · Score: 1

    Well, Yes and No...
    Over the field of real numbers, transcendental is indeed equivalent to non-algebraic.
    However, I don't think they are necessarily equivalent over other fields.

    -ShunScene

  221. Re:So what? by Alien54 · · Score: 2

    Can someone tell me some down to earth, real reasons that anyone should care what the 12,345th digit of Pi is? I mean really, who cares?Well for most general engineering purposes 5 to 10 places is enough. How many car parts are manufactured to a milli millimeter spec, for example? and to tell the truth, once you hit the quantum level further precision can get a little silly.

    --
    "It is a greater offense to steal men's labor, than their clothes"
  222. Re:"Randomness". by spongman · · Score: 2

    there's also the problems that in order to store one bit of information you need a bit to store it in. so in order to store all the information in the universe, your computer has to be the universe. reading the results from this program would not only be impossible (since you'd have to also be part of the computer/universe) but would also not be very useful, since what you were trying to predict would aredy have happened.

  223. I saw that movie last summer ... by Wordsmith · · Score: 1

    ... and I don't think it some random digit he was putting in the pie, if you know what I mean.

  224. Random if shortest program is bigger than string by mesusha · · Score: 1
    While the Kolmogorov complexity of any string is NP-hard to compute, it does tell us something in this matter. A string can be defined truelly random if the length of the shortest possible program for a universal Turing Machine that can generate that string is equal or larger than the length of that string. In that case, given an infinite string, there is no program that does a beter job of predicting the continuation of a prefix of that string than coin flipping. To describe that string with a program would basically involve copying the string.

    Now what does this tell us for Pi? Well, there are many small programs that compute its continuation. While those programs are probably not the shortets possible, they are much shorter than pi.

    I.e. Pi is not truely random, not even close.

  225. Optimum compression... by SkyIce · · Score: 1

    would recognize the sequence and reduce the file to "p256M" :)

    1. Re:Optimum compression... by 11223 · · Score: 2
      Here's a neat (albeit *extremely* slow) idea: whip up a small (lisp? scheme?) program to generate all correctly-formed C programs without any string constants and exactly one function putc(), smallest to larger, and compile them all, and see exactly which ones output your file.

      I could write a C program in those constraints to generate 256MB of PI digits that's a heckofalot smaller than 256MB. In fact, this little bit would find the *smallest* such program to do so.

      Slow as hell, though ;-) Maybe if you had a quantumn computer and only a 720KB floppy to transfer files with...

    2. Re:Optimum compression... by 11223 · · Score: 2
      Let me add another constraint:

      Program must be primitive recursive. All non-deterministic programs to generate a specific sequence can be written out step by step, so this doesn't really remove anything from the bounds. Now, it does remove some *faster* programs, but certainly not any hope of compression.

      I suppose this gets less and less useful as I add more and more constraints.

      Wacko thought: I suppose there is one number theory statement X whose interpretation is that there are no general recursive algorithms shorter than X (using Godel numbering, smaller) that output X.

    3. Re:Optimum compression... by statusbar · · Score: 1

      Take a look at SFU's "Inverse Symbolic Calculator" which is pretty awesome.

      http://www.cecm.sfu.ca/projects/ISC/

      --
      ipv6 is my vpn
  226. Re:Why? There are only 3 digits. by dynoman7 · · Score: 1

    A few years ago, the Texas state legislature official rounded Pi to 3.14 because it was "easier".

    Lol. Football Phisics 101 classes often round gravity to 10 m/s for the same reason. ;-)


    If the only tool you have is a hammer, you tend to see every problem as a nail.

    --
    Blarf.
  227. Re:Why? There are only 3 digits. by dynoman7 · · Score: 1

    *Physics
    If the only tool you have is a hammer, you tend to see every problem as a nail.

    --
    Blarf.
  228. Re:So what? by Abcd1234 · · Score: 2

    Is that really the point? This is pure science for the science's sake. What's wrong with that? Besides, one day this knowledge may become useful, who knows? Perhaps, by studying the digits of pi, we'll be able to come up with theories about it's nature. Or, perhaps the pursuit of simplified equations/methods for calculating the digits of pi will lead to other mathematical revelations (just look at this situation... no one thought an equation like the one mentioned in this article was possible). There's no way to tell. I mean, think of all the things people have researched without thinking of practical applications ahead of time. Quantum mechanics, atomic theory, relativity, the myriad forms of pure mathematics such as number theory... and, I'll bet you, all along, people were saying "What's the point of all this? Who cares?" But, because of quantum mechanics, we have computers... because of number theory, we have encryption. So, please, think twice before making comments like this... you never know, one day, the theory behind the nature of Pi may drive the random number generator you use to encrypt your email.

  229. Log vs. LN (was: Re:Here is the article) by teslakid · · Score: 1

    When doing math, it is generally assumed that "log" indicates the natural logarithm, as base 10 holds no special meaning to mathmaticians. Because using both log and ln would be redundant, "ln" is never used. Only log(x) (to indicate "log base e") and "log base R(x)" where R is some number, are used.

  230. Someone has to say it... by Junior+J.+Junior+III · · Score: 1

    "Easy as pi" takes on new meaning...

    --
    You see? You see? Your stupid minds! Stupid! Stupid!
  231. Re:memory much? by egerlach · · Score: 1

    A friend of mine once derived the Cosine law in the middle of his Grade 12 Math exam... he could remember the derivation, but not the law.

    --

    "Free beer tends to lead to free speech"
  232. nth digit of pi by Ummite · · Score: 1

    I can't exactly remember where, but this is old from at least 3 years.

    1. Re:nth digit of pi by smashdot · · Score: 1

      Yes, you can... For fractions. The number 1/10th, fo example, cannot be exactly expressed in a binary floating-point number.

      --
      "C" is for cookie, that's good enough for me.
    2. Re:nth digit of pi by kilgore_47 · · Score: 2

      since hex is a binary shorthand.

      Base 16 (hex) is just another number system, like decimal or octal or binary or hands-n-toes (base 20). Any value could be converted into any of those.

      ___

      --
      ___
      The way to see by faith is to shut the eye of reason. --Ben Franklin
    3. Re:nth digit of pi by JayHerrick · · Score: 1

      I do blieve one could convert any base to any other base... so you can't really say an algorithm only works for a particular base.

    4. Re:nth digit of pi by JayHerrick · · Score: 1

      I stand corrected. (But wasn't that fun to talk about?)

      Now just for fun, why would:
      11001 / 1111101000
      ...not be considered a valid conversion?

  233. C Program by mirko · · Score: 1

    The C Program implementing this algorithm has been noded on Everything 2.
    --

    --
    Trolling using another account since 2005.
  234. Re:Site Slashdotted, Alternate link! by el_nino-2000 · · Score: 1

    Incase that link goes down, here is a copy of that article. BERKELEY, CA -- David H. Bailey, chief technologist of the Department of Energy's National Energy Research Scientific Computing Center (NERSC) at Lawrence Berkeley National Laboratory, and his colleague Richard Crandall, director of the Center for Advanced Computation at Reed College, Portland, Oregon, have taken a major step toward answering the age-old question of whether the digits of pi and other math constants are "random." Their results are reported in the Summer 2001 issue of Experimental Mathematics. Pi, the ubiquitous number whose first few digits are 3.14159, is irrational, which means that its digits run on forever (by now they have been calculated to billions of places) and never repeat in a cyclical fashion. Numbers like pi are also thought to be "normal," which means that their digits are random in a certain statistical sense. Describing the normality property, Bailey explains that "in the familiar base 10 decimal number system, any single digit of a normal number occurs one tenth of the time, any two-digit combination occurs one one-hundredth of the time, and so on. It's like throwing a fair, ten-sided die forever and counting how often each side or combination of sides appears." Pi certainly seems to behave this way. In the first six billion decimal places of pi, each of the digits from 0 through 9 shows up about six hundred million times. Yet such results, conceivably accidental, do not prove normality even in base 10, much less normality in other number bases. In fact, not a single naturally occurring math constant has been proved normal in even one number base, to the chagrin of mathematicians. While many constants are believed to be normal -- including pi, the square root of 2, and the natural logarithm of 2, often written "log(2)" -- there are no proofs. The determined attacks of Bailey and Crandall are beginning to illuminate this classic problem. Their results indicate that the normality of certain math constants is a consequence of a plausible conjecture in the field of chaotic dynamics, which states that sequences of a particular kind, as Bailey puts it, "uniformly dance in the limit between 0 and 1" -- a conjecture that he and Crandall refer to as "Hypothesis A." "If even one particular instance of Hypothesis A could be established," Bailey remarks, "the consequences would be remarkable" -- for the normality (in base 2) of pi and log(2) and many other mathematical constants would follow. This result derives directly from the discovery of an ingenious formula for pi that Bailey, together with Canadian mathematicians Peter Borwein and Simon Plouffe, found with a computer program in 1996. Named the BBP formula for its authors, it has the remarkable property that it permits one to calculate an arbitrary digit in the binary expansion of pi without needing to calculate any of the preceding digits. Prior to 1996, mathematicians did not believe this could be done. The digit-calculation algorithm of the BBP formula yields just the kind of chaotic sequences described in Hypothesis A. Says Bailey, "These constant formulas give rise to sequences that we conjecture are uniformly distributed between 0 and 1 -- and if so, the constants are normal." Bailey emphasizes that the new result he and Crandall have obtained does not constitute a proof that pi or log(2) is normal (since this is predicated on the unproven Hypothesis A). "What we have done is translate a heretofore unapproachable problem, namely the normality of pi and other constants, to a more tractable question in the field of chaotic processes." He adds that "at the very least, we have shown why the digits of pi and log(2) appear to be random: because they are closely approximated by a type of generator associated with the field of chaotic dynamics." For the two mathematicians, the path to their result has been a long one. Bailey memorized pi to more than 300 digits "as a diversion between classroom lectures" while still a graduate student at Stanford. In 1985 he tested NASA's new Cray-2 supercomputer by computing the first 29 million digits of pi. The program found bugs in the Cray-2 hardware, "much to the consternation of Seymour Cray." Crandall, who researches scientific applications of computation, suggested the possible link between the digits of pi and the theory of chaotic dynamic sequences. While other prominent mathematicians in the field fear that the crucial Hypothesis A may be too hard to prove, Bailey and Crandall remain sanguine. Crandall quotes the eminent mathematician Carl Ludwig Siegel: "One cannot guess the real difficulties of a problem before having solved it." Among the numerous connections of Bailey's and Crandall's work with other areas of research is in the field of pseudorandom number generators, which has applications in cryptography. "The connection to pseudorandom number generators is likely the best route to making further progress," Bailey adds. "Richard and I are pursuing this angle even as we speak." For more about the normality of pi and other constants, visit David Bailey's website. The BBP algorithm for calculating binary digits of pi was found using the PSLQ algorithm developed by Bailey and mathematician-sculptor Helaman Ferguson; it is discussed at Bailey's website and also in the Fall 2000 issue of Berkeley Lab Highlights. The Berkeley Lab is a U.S. Department of Energy national laboratory located in Berkeley, California. It conducts unclassified scientific research and is managed by the University of California. Contact information: Scientific queries can be addressed to David Bailey at dhbailey@lbl.gov

  235. Site Slashdotted, Alternate link! by el_nino-2000 · · Score: 3

    Lawrence Berkley lab has the orignial story their website

  236. Re:Biblical precidence by Issac_Hayes · · Score: 1

    Does it make you happy to crap on other people's faith? I love science and all the evidence in the world points to evolution, but I still believe in creationism. Are you telling me that there is not the slightest chance that creationism is the truth? Faith tells us that God is all knowing and all powerful. He could have made the universe 5 minutes ago and created you in it with all the memories you have. You think you can out think the Lord. How naive. In your opinion I am simple minded. I cannot imagine a more narrowminded egocentric view than to think that you can disprove all of Chritianity with a, "Uh-ahh"

  237. Re:To Random or not To Random by 11223 · · Score: 2
    That's a bunch of B.S.

    In other words, all strings of random numbers have entropy of 1? Nope. Explain to me why I can get this out of a "perfect" random number generator:

    000000000000000000000000....

    Now, granted, the probability of that is *low*, but it's there just the same.

    Now, your statement would work just fine if you were talking about the *complete* digits of PI. In fact, if you give me a stack of disks with a complete listing of all of the digits of PI, I'd be happy to compress it for you.

  238. Re:Hmmm by tfoss · · Score: 1
    For instance the three body problem descibes the motion of three bodies (sic!) under mutual gravitational force.

    Actually i think the three bodies problem is how to convince ones girlfriend to include the third body in that mutual gravitational field



    -Ted

    --
    -=-=- Quantum physics - the dreams stuff are made of.
  239. Re:Why? There are only 3 digits. by L41N14L · · Score: 3

    No-one did. They just rounded up his number of votes. It was easier that way.

  240. Re:What do the mean random. by jamescford · · Score: 1

    While the article title and the intro at the top both use the word "random", it becomes clear after the dateline that what they should be using is "normal". The question is whether the digits of pi, and also other similar natural constants, have a normal distribution of digits (in base 10 or any other base).

    As plenty of other people are pointing out, the use of "random" suggests that the digits shouldn't be fixed, which is a bit of a problematic concept when you're talking about a constant... ;-)

  241. Re:Biblical precidence by SpryGuy · · Score: 1

    Because they don't subscribe to the myth of evolution (a theory growing weaker and weaker by "conventional" science), doesn't make it crack-pot science

    Oh PLEASE.

    Evolution is a fact. Pure and simple, and as well established a fact as virtually any other scientific principle. DNA and the human genome is pretty rock solid proof of it. Now, HOW evolution works is still a theory, and there are many theories that try and explain it. That's an entirely different issue.

    But ANYONE who believes some 'god' just created earth and then poof, man and all the animals "just appeared", is a simple-minded moron. The Bible is a book of MYTHOLOGY and FABLE. A learning text for simpleminded illiterate tribesmen. Adam and Eve is an interesting little fable, but there is no way any rational intelligent human could believe that that cute story is REAL DOCUMENTED HISTORY unless they had been brainwashed by a religious cult all their lives, and are incapable of escaping those mental chains.

    - Spryguy

    --

    - Spryguy
    There are three kinds of people in this world: those that can count and those that can't
  242. Re:Why does this matter? by SpryGuy · · Score: 1

    i'd hazard a guess that pi, in base pi, is 1.

    I guess you think that means that ten in base ten is "1", eh?

    - Spryguy

    --

    - Spryguy
    There are three kinds of people in this world: those that can count and those that can't
  243. Re:Contact by SpryGuy · · Score: 1

    Infinity is not a number, so the phrase 'infinityth digit' is meaningless.

    - Spryguy

    --

    - Spryguy
    There are three kinds of people in this world: those that can count and those that can't
  244. Re:Biblical precidence by SpryGuy · · Score: 1

    If you still believe in creationism then you are a fool. I've read up on it, and it's so much pseudo-scientific gibberish. There is NO evidence that the world is only 6000 years old, and NO evidence that all species were created more or less simultaneously, and haven't changed since.

    I treat kooks and morons that believe in creationism with the same exact level of ridicule that I treat kooks and morons who believe the "world is flat". Because they are exctly the same ilk... brainwashed, intellectually dishonest, gullible fools.

    Yes, I am telling you there is not the slightest chance that creationism is the truth. How any intelligent thinking being could even imagine that it is The Truth is beyond me. Tell me, is the tooth-fairy The Truth? Santa Clause? A flat earth? An earth-centered solar system?

    And you call ME naive? You *are* simple minded, given this reply.

    - Spryguy

    --

    - Spryguy
    There are three kinds of people in this world: those that can count and those that can't
  245. Re:Biblical precidence by SpryGuy · · Score: 1

    Oh yeah. And even the Pope belives in evolution. "Christianity" does not require the believe in "creationism", at least as literally described in Genisis. There is no fundamental incompatibility with belief in the Christian God and/or Jesus, and the theory of evolution. The only incompatibility is if you believe the story of Adam and Eve is LITERAL, rather than allegory. And most intelligent people know it as allegory. A story. A simplified version. MOST Christians I know do not believe in 'creationism'. So debunking the inanity of creationism does not in any way "disprove all of Christianity".

    - Spryguy

    --

    - Spryguy
    There are three kinds of people in this world: those that can count and those that can't
  246. Re:Biblical precidence by SpryGuy · · Score: 1

    Nothing I say will convince you of anything.

    True enough, due to the fact that you're trying to argue SCIENCE by using FAITH. The two are incompatable at a fundamental level. You cannot ever PROVE anything by using faith-based reasoning, by definition.

    I only ask you to fully examine the evidence supporting your beliefs. Personally, I find it weak and incomplete.

    Oh, I've fully examined them, and it all makes perfect sense. I've also read up on Creationism, and it makes no sense what-so-ever. You may think the evidence is 'weak and incomplete' ... it's not weak at all, but I'll certainly agree it's incomplete since we don't understand the MECHANICS of it all and still have a lot to learn ... but it's a far cry better than the evidence for Creationism, which is nearly zero. The only 'evidence' there is is the book of Genisis. Hardly compelling in any way, scientifically. There is NO other evidence supporting a 6000 year old earth with static species.

    You might want to investigate DNS studies, especially mitochondrial DNA. You might want to investigate embryo development, where our common roots with other species are far more evident (the residual tail that forms in early stages of development, which then disappears... same with gill structures). You might want to map DNA across species and see how the mutations and changes of occured over time. Never mind the fossil record, the geological record, etc. Hell, the way the HIV virus mutates so rapidly is an excellent example of very rapid small-time-scale evolution at work.

    The evidence for creationism? Your belief because someone told you so. Hrm. Not exactly compelling, and it certainly doesn't hold up under scientific scrutiny.

    - Spryguy

    --

    - Spryguy
    There are three kinds of people in this world: those that can count and those that can't
  247. Re:Biblical precidence by SpryGuy · · Score: 1

    "Does it make you happy to crap on other people's faith?"

    Do you believe in enabling other people's ignorance, just because they cloak that ignorance in the name of 'faith'? What about people claiming the earth is flat? Their faith tells them so. Does that make them any more right? Or that the earth is the center of the solar system. Or that 2+2=5?

    If some mental midget wants to believe utter lies and crap, they will. But I feel no particular compulsion to enable them in their self-delusion.

    Besides, there are tons of people who simply dont' understand evolution. Evolution is the fact we observe. Darwin's Theory of Natural Selection was but one early theory trying to explain evolution. We don't know exactly how it works. Maybe it works entirely by devine intervention, who knows. We just know it DOES happen.

    Creationism is just pure bunk, through-and-through. It's using pseudo-science and hand-waving in order to try and 'scientifically' rationalize the LITERAL interpretation of creation in the bible.

    Which of course doesn't (and can't) work.

    But more than that, it is an amazingly stupid argument to begin with, totally ignoring the fact that virtually every religion out there has its own creation myth. What makes the christian one "right"? Why isn't the Norse myth of creation the right one? Why aren't we teaching THAT in schools? Or the Shinto version? Or the Hindu version? Or any of the other 4,000+ creation myths out there?

    - Spryguy

    --

    - Spryguy
    There are three kinds of people in this world: those that can count and those that can't
  248. To Random or not To Random by Morphine007 · · Score: 1

    here's a simple test... try to compress the "random" string of numbers; if you can compress a string of random numbers, it isn't

    1. Re:To Random or not To Random by djocyko · · Score: 1

      actually, the proability of getting that number is exactly 0. Mathematically speaking, it is impossible to get an infinite string of zeros out of a random number generator. say we are in binary:

      prob of getting 0: .5
      prob of getting 00: .25
      prob of getting 000: .125

      clearly the probability of getting N 0s in a row is (.5)^(N). As N -> inifinity, the probabilty goes to 0. You can not get an infinite number of zeros out of a perfect randome number generator.

    2. Re:To Random or not To Random by tom's+a-cold · · Score: 1

      Your argument is fallacious. To see this, consider the fact that the same reasoning can apply equally well to any sequence of digits. So, by your reasoning, for any sequence of digits, that sequence cannot be produced by a random number generator. So a random number generator cannot product any infinite sequence of digits. Therefore, I am a greyhound, snow is lime green, and microwave ovens were invented by sheep.

      You have been confused by infinitesimals. You are not the first. Limit of p(x) as N -> infinity = 0 is not the same as p(x) = 0.

      If I recall correctly, there's a proof by contradiction that shows that, for any finite or countably infinite sequence S, S appears somewhere in the decimal approximation of pi, and in the decimal approximation of any irrational real. Which makes me wonder why they're bothering to run the computer check.

      --
      Get your teeth into a small slice: the cake of liberty
    3. Re:To Random or not To Random by Bobo+the+Space+Chimp · · Score: 1

      Well, you could compress the compressable numbers as follows. Contents of set B not in set A are sorted in ascending order, call it set C.

      Compress set C as follows. The first element is compressed as "the first element of set C, the set of noncompressable random numbers". The second is the second, and so on.

      That will work for the first countably infinite elements, anyway, but that still leaves the infinite bulk behind. You could map it to the reals for a 1-1 correspondence, but by that time you've just relabeled the reals, and lost any compression anyway.

      --
      I am for the complete Trantorization of Earth.
    4. Re:To Random or not To Random by Bobo+the+Space+Chimp · · Score: 1

      Did anyone ever Huffman-code, winzip, run-length, or otherwise the first billion (or hundred billion, or whatever had been calculated prior to this new formula) digits of PI to see if they compressed at all?

      "Hmm, we've calculated the first billion digits of PI."

      "Could you zip up the file and e-mail it to me?"

      "Sure."

      zip/raw =? 1.0

      --
      I am for the complete Trantorization of Earth.
    5. Re:To Random or not To Random by steemonk · · Score: 1

      I was arguing it's not zero but 1/inf

      Just for people who think it's not zero...
      The reason it is zero:

      Argument 1
      One divided by infinity is zero. Why? What is one divided by zero? Infinity. Therefore, infinity and zero are reciprocals. Of course, this reasoning stretches the bound of mathematics.

      Argument 2
      Imagine a number line going from 2 to 3. 2.5 is a point on that number line. What are the dimensions of a point? 0 by 0 by 0. 0/inf is zero. I like this argument much better than the first.

  249. Re:Biblical precidence by Zero+Sum · · Score: 1
    There is ZERO chance that creationism is true. Not the slightest chance.

    Indeed God is all knowing and all powerful (and also benevolent). That implies the knows what is best, and has the ability to do the best. Nothing that God does is "not the best". Hence when he created the world he made it perfect and there is no need for miracles. There can be no observable evidence that God exists - or his creation would be imperfect.

    Given that God is benevolent, then he will not be so decieptful as to plant false evidence. A God who treats us as a game is not a God but a devil.

    Any creationist either has not thought it through or they are certifiably insane. Scientology makes more sense...

    --

    Zero Sum (don't amount to much). [root@localhost]

  250. Re:Biblical precidence by Zero+Sum · · Score: 1
    You are in violation of the DCMA. You have publiscised a decodoing mechanism for decoding the IP of fundamentalist christians.

    Please present yourself to the federal police for arrest...

    --

    Zero Sum (don't amount to much). [root@localhost]

  251. Re:Biblical precidence by Zero+Sum · · Score: 1
    >But didn't God turn control of the Earth over to the devil after the fall of Adam and Eve... all their descendents to be born into the kingdom of the devil? Maybe the devil was the one who planted false evidence?

    Any God who would do that *IS* a devil....

    --

    Zero Sum (don't amount to much). [root@localhost]

  252. pi, randomness, and crypto by ajaxxx · · Score: 1

    the more interesting question in terms of crypto is: if you know the value of the nth bit of pi, but not n (ie, you know the number but not the place), can you determine the value at the (n+1)th bit? if you think about it for a second (informally of course) you'll see that you can't. in a true random stream the odds of any given number following any other given number are evenly distributed, which in binary means, even if you know if bit n is 0, the odds of bit n+1 being 0 are 50%. therefore, you can use the bits of pi as a stream cipher. pick a starting offset (bit n of pi), calculate the successive bits of pi equal to the length of the message, xor it with the message, and transmit. the starting offset then becomes the key to the message, and if you transmit that securely (always a big if) then the protection is as good as a one time pad. this works as long as either a) pi is not cyclic or b) the cycle (if any) of pi is longer than the length of the message. the ability to calculate the n'th digit of pi does not necessarily imply that pi is cyclic, although it might. personally, i think this is hella cool. i might just have to write a /dev/pirandom driver; seed yourself at boot time from the {u,}random entropy pool, use that as the initial offset. it'd take some doing, bignum arithmetic and all that, but definitely doable.

  253. Re:Why does this matter? by ajaxxx · · Score: 1

    i'd hazard a guess that pi, in base pi, is 1.

    probably a number that's irrational in a number system with a rational base will continue to be irrational in all number systems with rational bases. (this is in fact by definition; "irrational" means "not producable by dividing one integer by another", and bases are just notational division.)

    if you really care to think about irrational number bases (and the associated notational headaches), then assuredly there is some number base wherein pi is rational (an "integer" ratio of the base). which isn't terribly useful information, unless you have a way of specifying irrational numbers to infinite precision, a way of notating them, and the mental flexibility to think in them. we wish you luck.

  254. Re:Biblical precidence by vslashg · · Score: 1
    Not quite, in that 111/106 is an approximation for pi/3, and not pi. That's fine, though; as an approximation for pi/3, 111/106 is halfway decent.

    The scary part about this approximation is that 2pi, a very important number in trigonometry, is 666/106. Now THAT'S scary. (But on the plus side, that means that even if 666 is the sign of the beast, the sine of the sign of the beast is zero.)

  255. Biblical precidence by vslashg · · Score: 4
    pi = 3

    And he made a molten sea, ten cubits from the one brim to the other: it was round all about, and his height was five cubits: and a line of thirty cubits did compass it round about.

    1 Kings 7:23

    1. Re:Biblical precidence by Jazu · · Score: 1

      Bwa-ha-ha! Foolish Christian! Your life has no meaning! For future reference: Being hostile and abusive doesn't do much for your credibility.

      --
      My joke got modded as Insightful and my insight got modded as Funny.
    2. Re:Biblical precidence by Gaijinator · · Score: 1

      Actually, as a creationist, you have to admit that evolution exists to an extent. How else would two humans (Adam and Eve) spawn such a diverse range of humanity (i.e. ethnic races)?
      ----------
      "Remember, your friends will stab you in the back for the price of an Extra Value Meal."

      --
      "For success, it is essential you have Thunderball Fists." "I can have such a thing?" "That's right. Thunderball Fists."
    3. Re:Biblical precidence by ddyer-bennet · · Score: 1

      Your invitation to disprove the stuff on ldolphin is suggesting that any of it should be taken seriously in the first place. The smart people in the world could spend all their time trying to untangle the deliberate obscurantism and definitional games and so forth. It's a fools game, we generally don't play.

    4. Re:Biblical precidence by someone247356 · · Score: 1

      You said; " (i.e. ethnic races)"

      Ugg....

      Why do people always want to refer to caucasions vs negroid vs asiatic differences as "races"?

      Wouldn't it be more apropo to consider us breeds? Like poodles vs terriers vs boxers etc.

      --
      Just my $0.02 (Canadian, before taxes)
    5. Re:Biblical precidence by kilgore_47 · · Score: 1

      Perhaps it was a smart Hebrew

      Or perhaps your grasping for something to hold on to because, deep down inside, you know that the myths that you've lived your life by are false. You've been had, deal with it.

      ___

      --
      ___
      The way to see by faith is to shut the eye of reason. --Ben Franklin
    6. Re:Biblical precidence by kilgore_47 · · Score: 2

      Being hostile and abusive doesn't do much for your credibility.

      While I see your point, I can't help but point out that when people refer to known scientific facts as 'myth' and present fairy tales as 'science', it doesn't help their credibility either. Anyway, its just /. and being hostile and abusive is what you gotta do sometimes.

      ___

      --
      ___
      The way to see by faith is to shut the eye of reason. --Ben Franklin
    7. Re:Biblical precidence by TransDermNitro · · Score: 1

      111/106 yields 1.04717.

    8. Re:Biblical precidence by Bobo+the+Space+Chimp · · Score: 1

      Well, either the Bible is literal or it is not. If it is literal here, then it is wrong and we can conclude the Bible is a bunch of made up crap (or that God isn't so smart after all.)

      If it is not literal here, then how do we pick and choose where it is literal? Why treat various lineages as literal timelines? Six days to create the world? God literally directly created life?

      Yes, it does indeed make a huge difference.

      --
      I am for the complete Trantorization of Earth.
    9. Re:Biblical precidence by Eniggles · · Score: 1

      Where in the bible does it say that God created more than one 'breed' of man? Unless you counted all breeds aside from the original 'man' to be "animals", which god created to share the earth with man. I don't mean to be ad-hominem, but that would make you a racist.

      --
      UFO's exist. The airforce isnt real.
    10. Re:Biblical precidence by asincero · · Score: 1

      > DNA/Human genome proves evolution? How? Sure,
      > living things adapt to their surroundings,
      > that's been proven on a small scale, but where's
      > the proof of adaptation into new species?

      There are many documented instances of speciation both in a controlled setting (i.e. experimentation in a laboratory) and in nature. Please visit http://www.talkorigins.org for more information.

      Your statement that evolution theory grows weaker by the day is nothing but pure bullshit and thats what probably enraged the previous poster. If anything evolution theory has the most evidence to back it up than any other scientific theory to date.

      - Arcadio

    11. Re:Biblical precidence by bruck · · Score: 1

      In Chronicles II 4:2 the exact same verse appears except it doesn't have the extra letter on which the entire argument appears to be founded.

    12. Re:Biblical precidence by bruck · · Score: 1

      I love science and all the evidence in the world points to evolution, but I still believe in creationism. I find this statement odd. There is an excellent book called "The Tower of Babel" which discusses the various species of Creationism and the evolution of Creationism in detail. The most common thing usually found in Creationist arguments is mis-understanding of the evidence and of the language. Starting with "it's only a theory" - thus assuming the fallacy that theory is the same as assumption. It's not. Assuming that science is just a different kind of faith. It's not. It may not be perfect but it provides a strict self-correcting mechanism for discovering how the world works. And it entirely depends on negative arguments.

    13. Re:Biblical precidence by JerryKnight · · Score: 1

      So 111/106 isn't accurate enough for you? How accurate do you want it to be?

      Incidentally, the website I mentioned (ldolphin.org) never claims to be the inerrant truth of the universe. It is not pseudoscientific bilge, and if anything is proven to be wrong, it won't disprove Christianity. These are theories, by scientists. If you discredit a scientist because he is Christian, then you are the irrational one. Because they don't subscribe to the myth of evolution (a theory growing weaker and weaker by "conventional" science), doesn't make it crack-pot science on the scale of Alex Chiu.

      I invite you to disprove anything on ldolphin.org. I won't be offended. It's science, the search for truth. We all want to know the truth. Because Christian scientists have a different angle on the world, doesn't make them wrong, or non-scientists.

      I'm sorry you were offended by my post.

      --

      Catapultam habeo. Nisi omnem pecuniam tuam mihi dabis, ad tuum caput saxum immane mittam.
    14. Re:Biblical precidence by JerryKnight · · Score: 1

      i was merely paraphrasing.

      --

      Catapultam habeo. Nisi omnem pecuniam tuam mihi dabis, ad tuum caput saxum immane mittam.
    15. Re:Biblical precidence by JerryKnight · · Score: 1

      well it would seem 1.0471698 is an adjustment factor (ie. the apparent pi=3 is actually pi=3*1.0471698=3.141509). Perhaps it was a smart Hebrew who came up with 111/106. If this was the meaning of the author and not just coincidence, the word for circumference could be translated "circumference divided by 1.0471698" which would give the accurate result.

      Ok that's the end of my 2 cents.

      --

      Catapultam habeo. Nisi omnem pecuniam tuam mihi dabis, ad tuum caput saxum immane mittam.
    16. Re:Biblical precidence by JerryKnight · · Score: 1

      Ok, last post; I'm getting sick of this. Where is all this proof that evolution took place? Sure, call me biased, but that's evading the argument.

      DNA/Human genome proves evolution? How? Sure, living things adapt to their surroundings, that's been proven on a small scale, but where's the proof of adaptation into new species?

      I'm not carrying this any further. Nothing I say will convince you of anything. I only ask you to fully examine the evidence supporting your beliefs. Personally, I find it weak and incomplete. You may find it "rock solid." Maybe I'm not seeing something you've read. Please feel free to email me your proof or even your criticisms.

      --

      Catapultam habeo. Nisi omnem pecuniam tuam mihi dabis, ad tuum caput saxum immane mittam.
    17. Re:Biblical precidence by JerryKnight · · Score: 2

      This is a common "error" in the Bible, made by simple-minded people who don't bother to research the language used. As this page explains, Hebrew letters have alphanumeric value. The normal spelling for the word that means circumference is qav, which has a value of 106. The word used here, qaveh, has value of 111, since the added heh means 5. The ratio of the word used to the normal word is 111/106 which yields 3.141509433962. This value gives the circumference of the bowl within 15 thousanths of an inch, which is more accurate than values of pi that are only hundreds of years old.

      I don't think the above post should have been mod-ed "funny." I would mod it -1, Pathetic Misuse of Biblical Text

      --

      Catapultam habeo. Nisi omnem pecuniam tuam mihi dabis, ad tuum caput saxum immane mittam.
  256. Like probable primes by Zo0ok · · Score: 1

    The question whether the decimals of pi are random has more to do with our definition of random than pi itself. Of course we all agree that pi remains the same forever. On the other hand, if you want series of random integers, why not start at some decimal in pi?

    So, are the decimals random? The answer is not more interesting than that to the question whether a number can be "probable prime" (either it is prime, or it is not, so how could it probably be prime, the probaility is definately 0 or 1).

  257. Well, duh! by tswinzig · · Score: 2

    In addition, a simple formula discovered makes it possible to calculate the Nth binary digit of Pi without computing any of the first N-1 digits, and do the computation with very little computing power.

    In light of this article, the obvious method is now:

    srand(time); #random enough, thank you
    $nth_digit = random();


    Duh!

    --

    "And like that ... he's gone."
  258. Pi: Not Random - Omega: Random (sort of) by DVega · · Score: 1

    Pi is not random, because there is an algorithm that computes its digits. It only "seems" like random.

    Omega is a number that is well defined and has a value, but we are unable to compute it.

    Omega is not random. It's a constant. But If someone (God?) gives us the value of Omega and the value of any random number, and we have to choose wich one is Omega, we have no logical way to decide.

    For more information see : The "Omega Number" & Foundations of Math

    ---

    --
    MOD THE CHILD UP!
    1. Re:Pi: Not Random - Omega: Random (sort of) by DVega · · Score: 1

      Omega is computable in a weak sense, but its binary digits or bits are algorithmically random and cannot be distinguished from the result of independent tosses of a fair coin


      ---

      --
      MOD THE CHILD UP!
    2. Re:Pi: Not Random - Omega: Random (sort of) by DVega · · Score: 1

      Neither do I have enough background to argue with you.

      Some years ago I attended a course at University of Buenos Aires, about Omega number and randomness. I've also had the idea that omega can be approximated but never computed.

      This year I went to a conference that Chaitin made in Argentina. It was a "simple" conference for general public, and I remember he mentioned the "Coin Toss" argument. I was rather surprised about that. I thought I had been wrong, so the digits of Omega were unpredictable.

      I'm not sure if any digits can be computed or not. But sure Omega is more random than Pi. :-)

      Greetings ...

      ps: I don't pretend to be cool or inteligent. I am not.

      ---

      --
      MOD THE CHILD UP!
    3. Re:Pi: Not Random - Omega: Random (sort of) by 3am · · Score: 1

      you're totally wrong.

      omega can be calculated, but it converges extremely slowly to the lower bound. chaitin even mentions this.

      --

      A: None. The Universe spins the bulb, and the Zen master merely stays out of the way.
    4. Re:Pi: Not Random - Omega: Random (sort of) by 3am · · Score: 1

      same article (which i have read, thank you):

      An Omega is computably enumerable because a systematic run of all programs will produce better and better approximations (without being able to compute its digits exactly), and random because it is incompressible [...]

      i know there's a lot more to omega, which i have no theoretical background in. if you have this background, feel free to illuminate me (i'm serious. i study math, and have some background in advanced logic and computational theory). however, i've found many people w/o the said background latch onto the omega number concept without having more than a rudimentary understanding of the underlying theory, because it sounds cool to them. like chaos. hence my skepticism.

      --

      A: None. The Universe spins the bulb, and the Zen master merely stays out of the way.
  259. Students Discover Pattern in Pi Digits: by tenzig_112 · · Score: 4
    For centuries, mathematicians have called the seemingly random pi digits, "The hidden language of God."

    And today, thanks to the hard work of a pair of students at Carnegie Mellon University, we can read that language.

    And without further ado, here is the hidden message starting at the 74088 digit:

    "So Long and thanks for all the fish."
    1. Re:Students Discover Pattern in Pi Digits: by carbon24 · · Score: 1

      Nop...God says "You use computer ..and I use PI "

    2. Re:Students Discover Pattern in Pi Digits: by Captain_Vegetable · · Score: 1

      Pi is exactly 3

      --
      Go home script kiddies!
  260. I can one up them! by djocyko · · Score: 1

    In addition, a simple formula discovered makes it possible to calculate the Nth binary digit of Pi without computing any of the first N-1 digits, and do the computation with very little computing power.

    sure, they can get the Nth binary digit down, but that says nothing about the last digit of binary pi. After years of calculation, estimation, and bullshitization, my team of expert physicists, mathematicians, and old-wise-men-of-the-village, have come to the ultimate conclusion that the last digit of pi in binary is undoubtedly equal to 1.

    to which I said "thats non-sense. write down pi, then add a 0 to the end. is that not the same value?"

    After many more years of careful study of the texts, bringing in ancient greek and latin scholars, and a couple ancient arameic into the mix, my team once again came up with a solution. The last siginificant digit of pi in binary is undoubtedly equal to 1.

    I thought long and hard about this and realized it was certainly true. Then, when I thought a bit more, I realized we found something even more significant. Knowing that any number with a fractional part in binary must, when converted to decimal, end with 5, I therefore reasoned the last significant digit of pi equals 5. Looking at my printout of decimal pi, I then resolved that when speaking in sigificant terms, pi does in fact equal 3.1415. I had always laughed at my engineering professors who seemed to use such silly approximations, but now I know for a fact 3.1415 is for all intents and purposes equal to pi.

    this is bound to be a joke

  261. Re:Why? There are only 3 digits. by b1t+r0t · · Score: 2

    Nope, that was Kansas. And once they were quietly taken aside and had it explained to them by a math professor, they withdrew the bill.

    --

    --
    "Open source is good." - Steve Jobs
    "Open source is evil." - Microsoft
  262. I don't think so by oznet · · Score: 1
    Your "reduce it to a number" step has serious flaws.

    How are you going to reduce it to a number? By adding all the bits or something? Well, there would be many very similar strings that would add up to that number. For example:

    "The dog was red" would be the same hash as "Teh dog was red".

    Things like CRC (haha), MD5, and SHA take a more statistical approach. The two sentences above will most likely not generate the same hash.

  263. Re:Small programs!!! by SagSaw · · Score: 1

    Except that there is a good chance that the index to pi requires more bits to represent than the length of the origional file. It has been mathematically proven that a compression algorithm cannot be created which compresses every file. (Note: I guess this topic comes up so often that the comp.compression FAQ contains a version of this proof.)

    --
    Come test your mettle in the world of Alter Aeon!
  264. Re:Why does this matter? by The+Troll+Catcher · · Score: 1

    Or even better:

    Use *base pi*. Why didn't someone think of this before? It would save a LOT of effort... those silly guys!

    Now, all we have to do is find out what pi^1 is... oh, wait. :)

  265. Here is the article by rabtech · · Score: 4

    Since the website seems to be /.ed, I give you the article:

    ===
    Are the Digits of Pi Random? A Berkeley Lab Researcher May Hold the Key

    A researcher at the Department of Energy's National Energy Research Scientific Computing Center (NERSC) at Lawrence Berkeley National Laboratory, and his colleague at the Center for Advanced Computation at Reed College, have taken a major step toward answering the age-old question of whether the digits of pi and other math constants are "random." Their results are reported in the Summer 2001 issue of Experimental Mathematics.

    July 26--Pi, the ubiquitous number whose first few digits are 3.14159, is irrational, which means that its digits run on forever (by now they have been calculated to billions of places) and never repeat in a cyclical fashion. Numbers like pi are also thought to be "normal," which means that their digits are random in a certain statistical sense.

    David Bailey
    Describing the normality property, David H. Bailey, chief technologist at NERSC, explains that "in the familiar base 10 decimal number system, any single digit of a normal number occurs one tenth of the time, any two-digit combination occurs one one-hundredth of the time, and so on. It's like throwing a fair, ten-sided die forever and counting how often each side or combination of sides appears."

    Pi certainly seems to behave this way. In the first six billion decimal places of pi, each of the digits from 0 through 9 shows up about six hundred million times. Yet such results, conceivably accidental, do not prove normality even in base 10, much less normality in other number bases.

    In fact, not a single naturally occurring math constant has been proved normal in even one number base, to the chagrin of mathematicians. While many constants are believed to be normal--including pi, the square root of 2, and the natural logarithm of 2, often written "log(2)"--there are no proofs.

    The determined attacks of Bailey and his colleague Richard Crandall, director of the Center for Advanced Computation at Reed College, Portland, Oregon, are beginning to illuminate this classic problem. Their results indicate that the normality of certain math constants is a consequence of a plausible conjecture in the field of chaotic dynamics, which states that sequences of a particular kind, as Bailey puts it, "uniformly dance in the limit between 0 and 1"--a conjecture that he and Crandall refer to as "Hypothesis A."

    "If even one particular instance of Hypothesis A could be established," Bailey remarks, "the consequences would be remarkable"--for the normality (in base 2) of pi and log(2) and many other mathematical constants would follow.

    A simple formula discovered with the integer-relation algorithm dubbed PSLQ makes it possible to calculate the Nth binary digit of Pi without computing any of the first N-1 digits, and do the computation with very little computing power.
    This result derives directly from the discovery of an ingenious formula for pi that Bailey, together with Canadian mathematicians Peter Borwein and Simon Plouffe, found with a computer program in 1996. Named the BBP formula for its authors, it has the remarkable property that it permits one to calculate an arbitrary digit in the binary expansion of pi without needing to calculate any of the preceding digits. Prior to 1996, mathematicians did not believe this could be done.

    The digit-calculation algorithm of the BBP formula yields just the kind of chaotic sequences described in Hypothesis A. Says Bailey, "These constant formulas give rise to sequences that we conjecture are uniformly distributed between 0 and 1--and if so, the constants are normal."

    Bailey emphasizes that the new result he and Crandall have obtained does not constitute a proof that pi or log(2) is normal (since this is predicated on the unproven Hypothesis A). "What we have done is translate a heretofore unapproachable problem, namely the normality of pi and other constants, to a more tractable question in the field of chaotic processes."

    He adds that "at the very least, we have shown why the digits of pi and log(2) appear to be random: because they are closely approximated by a type of generator associated with the field of chaotic dynamics."

    For the two mathematicians, the path to their result has been a long one. Bailey memorized pi to more than 300 digits "as a diversion between classroom lectures" while still a graduate student at Stanford. In 1985 he tested NASA's new Cray-2 supercomputer by computing the first 29 million digits of pi. The program found bugs in the Cray-2 hardware, "much to the consternation of Seymour Cray."

    Crandall, who researches scientific applications of computation, suggested the possible link between the digits of pi and the theory of chaotic dynamic sequences.

    While other prominent mathematicians in the field fear that the crucial Hypothesis A may be too hard to prove, Bailey and Crandall remain sanguine. Crandall quotes the eminent mathematician Carl Ludwig Siegel: "One cannot guess the real difficulties of a problem before having solved it."

    Among the numerous connections of Bailey's and Crandall's work with other areas of research is in the field of pseudorandom number generators, which has applications in cryptography.

    "The connection to pseudorandom number generators is likely the best route to making further progress," Bailey adds. "Richard and I are pursuing this angle even as we speak."--by Paul Preuss

    ===

    Enjoy.
    -- russ

    --
    Natural != (nontoxic || beneficial)
  266. No! No! No! by 3-State+Bit · · Score: 1

    From the discoverer of the formula:
    "This formula permits one to compute the n-th binary or hexadecimal digit of pi, without computing the first n-1 digits, by means of a simple scheme that requires very little memory and no multiple precision software. Here are various items that may be of interest: "

    Yes, that's right, binary or hexadecimal. In other words, you can forget about doing "cool stuff" with it. Who cares what pi is in binary?

    --

    1. Re:No! No! No! by Genoaschild · · Score: 1

      Binary rules the digitial world. Try binary multiplication and see how much easier it is then decimal. 1101110110001100001111111*10110=100110000101000001 101011101010 or (638851818)base 10 or 0x26141AEA. It takes almost no time to convert a binary number to decimal.
      ----

      --
      Just because a bunch of people believe or do something stupid, doesn't make it any less stupid.
    2. Re:No! No! No! by Genoaschild · · Score: 1

      Decimal is boring and it is relatively easy to take the (nth/2^n+ +((n-1)/(2^n-1)) + n-2/2^n-2 + ... n-(n-1)/2^n-(n-1). So indirectly you can and once you get to the trillionth decimal point or whatever, it doesn't take a whole lot of effort to make it more accurate.
      ----

      --
      Just because a bunch of people believe or do something stupid, doesn't make it any less stupid.
    3. Re:No! No! No! by Genoaschild · · Score: 1

      No we don't have a trillion seconds to wait for the stupid thing to be converted to decimal but who really cares. Decimal sucks anyways. All the world should do math in Hex. Things would make a lot more sense to large spec of the population. Anyways, the formulat works if a person is willing to calculate every single. The problem with your theory is, you don't have to calculate the entire thing to find the X digit. Just take it several digits out beyond what you are suppose to get until you get so many trailing zeros that it no longer has any chance of rollover. Very Simple. If you want the X decimal is equivalent to the Y in binary, you are only going to have to do a simple Logarithm.
      ----

      --
      Just because a bunch of people believe or do something stupid, doesn't make it any less stupid.
    4. Re:No! No! No! by Genoaschild · · Score: 1

      I'm right, you just don't understand my post. All you have to do is calculate the digits that effect a decimal point and sum them up to get that point. Via. to get the second decimal, you don't care about what the first binary decimal is because it can only be a .5 or 0 which does not effect the second point. If you get out really far, this may translate into calculate 10,000,000 points instead of 10,000,000,000,000 points to get a single digit. Greater savings.
      ----

      --
      Just because a bunch of people believe or do something stupid, doesn't make it any less stupid.
    5. Re:No! No! No! by mypalmike · · Score: 1

      Your computer doesn't give a mouse's bottomside about the decimal representation (except perhaps to print it out, or in the odd program that uses binary coded decimal):

      float pi = 3.1415...F;
      float* pPi;
      pPi = &pi ;
      int piBits = *((int*)pPi);

      --
      There are 0x40000000 types of people: those who understand 32-bit IEEE 754 floating point, and those who don't.
  267. Hmmm by James+Foster · · Score: 1

    I don't think anything is ever "random".
    Everything has its logical base... but alot of things can be way beyond our comprehension and thus can be considered "random".

    1. Re:Hmmm by OpCode42 · · Score: 1
      Everything has its logical base

      I thought that all your logic base belonged to us...

    2. Re:Hmmm by Bobo+the+Space+Chimp · · Score: 1

      Actually, the digits would have complete relevance to each other -- they are each other's neighbor in a deterministic formula.

      Yet what you say is also just a restatement that, for sufficiently long strings of PI digits, you would expect to see any particular string of digits with some nonzero probability.

      There are formulae to test the quality of random number generators to make sure that they do generate sequences like this.

      For example, a random number generator that generated a 10^^100000 32-bit numbers at random before repeating the sequence wouldn't be very good if it didn't generate three 2's in a row once in awhile.

      In the book Contact by Carl Sagan,

      **** spoiler alert ****

      he suggests that a group of the digits of PI "way out there," when graphed (in base 11?) showed a circle, which, although statistically possible in a random number sequence, wouldn't be expected for far, far longer. More geometric figures were a little further along. This was seen as proof of a "God", so to speak, or more accurately, a message from the creator of the universe, since only whoever created reality, PI, geometry, numbers, etc. could embed geometric figures and other messages. (That was also where the aliens got the idea to test cultures for intelligence by embedding messages within messages within messages.)

      --
      I am for the complete Trantorization of Earth.
    3. Re:Hmmm by Bobo+the+Space+Chimp · · Score: 1

      To assume the latter exists, you have to throw out causality. Yet that seems nonsensical because, like the man said, you've just renamed God to Random().

      Have scientists tested the randomness of QM measurements to make sure they're random? For all we know, there's just some deterministic random number generator generating a sequence of 10^^(10^^googleplex) digit numbers in a sequence that doesn't repeat for 10^^(that other number^^googleplex^^googleplex) numbers.

      On the other hand, it would be pretty scary if it generated the good old Knuth seeded sequence, 55 at a time.

      --
      I am for the complete Trantorization of Earth.
    4. Re:Hmmm by chrisvdp74656 · · Score: 1

      As I recall, the aliens hadn't analysed pi for messages, that was ... the female scientist who's name I cannot recall's idea. She found the circle embedded in base-11 pi before the aliens did.
      -==-
      We are Microsoft. You will be assimilated. Resistance is futile.

      --
      09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
    5. Re:Hmmm by stoolpigeon · · Score: 1

      Seeing this post made me so very happy. I have been trying to explain that nothing is random to others for some time now. People look at me as if I am a little off.

      Randomness is the 'god' of the scientific age. We have simply moved from "God did not create the universe- Random did."

      People think that randomness is this impersonal force that makes things happen for no reason at all.
      What it really is, is an explanation when the factors involved in the outcome are too complicated to grasp.

      --
      It's hard to believe that's how Micronians are made. Why don't we see it right now by having you both kiss one another?
    6. Re:Hmmm by stoolpigeon · · Score: 1

      Well, I have no idea what deterministical chaos is so I can't really respond to you other than to explain myself.
      I have yet to encounter a situation where cause and effect does not come into play. And if the nature of the cause is known and understood- the outcome is completely predictable.

      So far the kind of things that I have seen people call random, are merely events where they do not pervieve the cause with much clarity. i.e. flipping a coin.

      --
      It's hard to believe that's how Micronians are made. Why don't we see it right now by having you both kiss one another?
    7. Re:Hmmm by stoolpigeon · · Score: 1

      Very interesting. Thank you.

      "Give me the state/position of all particles in the universe at one time and I can calculate the state/position at any time in the future or past."

      I am really going to mull this over as I have always thought of this whole thing in the context of individual events. Taking it to a wider context gives it a whole different flavor.

      It's fundamentelly impossible to predict...

      But will it always be impossible? Or do we just think it is impossible because we lack information and understanding?

      (This may be the first time I've gotten real value out of the comments portion of slash dot- I apprectiate your informative posts)

      --
      It's hard to believe that's how Micronians are made. Why don't we see it right now by having you both kiss one another?
    8. Re:Hmmm by stoolpigeon · · Score: 1

      As this thought line extends I am pretty comfortable with Free Will that exists w/out randomness in our universe. But that shifts the whole topic.
      I'm often a little lost in the math, science area- but my first undergrad degree is in theology. So as we leave the 'facts' further behind I don't get too worried.

      I believe in free will, I do wish though that people in general would give less credence to chance, and look for the reasons things happen.

      I probably wont post to this thread again-- thanks platypus! I have very much appreciated your posts.

      --
      It's hard to believe that's how Micronians are made. Why don't we see it right now by having you both kiss one another?
    9. Re:Hmmm by CTboy · · Score: 1

      It's fundamentally _impossible_ to precisely predict speed and position of a given electron. It's fundamentelly impossible to predict when and in which direction an alpha particle will be emitted from a collapsing atom nucleus.

      You mean "fundamentally impossible for us to predict using current technologies".

      There's no problem saying "truly random => unpredictable", but the problem with saying "unpredictable => truly random" is that you can never be sure that your frame of reference for defining predicatbility is universal.

      We can't precisely predict the speed and position of a given electron, but that doesn't mean it's truly random. It could still be deterministical chaotic, and predictable by some technology and/or physics model that we don't know.

      I'm not saying that true randomness doesn't exist, I'm just saying that, if it exists, it's existance is impossible to prove.

    10. Re:Hmmm by steemonk · · Score: 1

      A final thought, would we consider the digits of 1 random if our number system was base pi?

      You can't make a number system based on a non-positive integer. Number systems must be based on positive integers that are not one. Think about it. What would the digits of base-pi be? 0, 1, 2, 3, 3.141? I don't think so.

    11. Re:Hmmm by johann6 · · Score: 1

      Doesn't this go along the lines of Stephen Wolfram's new book? The idea that overly complex systems can be represented by simple rules? -- "Life moves pretty fast. You don't stop and look around once in a while, you could miss it." Ferris Bueller

      --
      "Life moves pretty fast. You don't stop and look around once in a while, you could miss it." Ferris Bueller
  268. What do the mean random. by bmongar · · Score: 3

    Too bad I can't get to the article to see how they are defining random. I have studied random numbers quite a bit, and have worked on the assumption that any thing that can be calculated is not truely random. So under that definition no, it isn't random, and neither are any of the random number generator algorithms.

    The comon test for randomness is the chi squared test which actually tests for dispersion of numbers. That is are number occuring in 'equal' frequencies in an order that isn't too similar to the order in other sections of the sample. Failing the chi squared tests shows you aren't 'Pseudo Random' passing it only proves your numbers are dispersed not random

    --
    As x approaches total apathy I couldn't care less.
    1. Re:What do the mean random. by grammar+fascist · · Score: 1

      I have studied random numbers quite a bit, and have worked on the assumption that any thing that can be calculated is not truely random.

      Maybe Pi is interesting because it passes every test for randomness except that one.

      --
      I got my Linux laptop at System76.
    2. Re:What do the mean random. by telbij · · Score: 1

      There are obviously multiple definitions of random going around here, and I think it's safe to say that everyone talking about Pi really means 'equally dispersed', not random.

  269. Re:Neumann said ... by (H)elix1 · · Score: 1

    Not sure where I first saw it, but I think it was in a quotes section when I was digging for blowfish code.

  270. Neumann said ... by (H)elix1 · · Score: 5

    "Anyone who considers arithmetical methods of producing random digits is, of course, in a state of sin."
    (John Von Neumann, 1951 )

    1. Re:Neumann said ... by danger42 · · Score: 1

      Von Neumann was also a homosexual, which to some is a state of sin.

      --
      -nd
  271. Beware of the code... by stonewolf · · Score: 1
    I pulled down the code from Bailey's site (http://www.nersc.gov/~dhbailey/piqp.c) and have been playing with it this morning. In at least one place the code as written expects there to be 64 bits of fraction in a double (normally 64 bits total) floating point number. So, I assume he runs this on a machine where double is at least 80 bits long.

    So, before we all go off building what ever you build out of a PI digit generator, check the code carefully. And test it. Looks like it may have some precision problems with large digit indices.

    StoneWolf

  272. Hmmm, YABL (Yet, Another, Broken, Link) by gwizah · · Score: 2

    Or is it slashdotted already??

    --

    There is no spork.
  273. Re:ok anwer me this.. by dreid · · Score: 1

    If you're really curious there is a nice 189pg book you can read. It's called "A History of Pi" by Petr Beckman. It's published by Barnes & Nobles Books. I read it a year or so ago, and found it very interesting and at some points downright entertaining.

    --
    --Random Fortune-- /earth: file system full.
  274. Re:So what?: We REALLY could use this... by Quill · · Score: 1

    Ha! I laugh and that it is all a joke.

    The RFC is quite flawed as it requires the server to listen on port 314159, whereas the current TCP ports are limited to 64k.

    --
    My religion forbids the use of sigs.
  275. Re:So what?: We REALLY could use this... by einhverfr · · Score: 2
    The Internet Society has released a protocol this last April which could use this method quite well. See RFC3091. Mow I know you will all laugh and say this is all a joke and would never be implimented, but that is what they said about RFC 1149 and look-- some linux guys in Norway implimented it.

    So the real question is, will this make an RFC 3091 protocol happen more rapidly?

    Sig: Tell all your friends NOT to download the Advanced Ebook Processor:

    --

    LedgerSMB: Open source Accounting/ERP
  276. Re:So what?: We REALLY could use this... by einhverfr · · Score: 2
    I am glad I made you smile.

    One has to be careful with such humor on /. Many will fail to catch it and think you are serious.

    As to RFC 1149, Maximum trasmission retry for TCP is 120 sec. So RFC 1149 is nearly useless except for some ICMP and UDP...

    Sig: Tell all your friends NOT to download the Advanced Ebook Processor:

    --

    LedgerSMB: Open source Accounting/ERP
  277. Re:So what? by HoldmyCauls · · Score: 1
    --
    Emacs: for people who just never know when to :q!
  278. This is a clear violation of the DMCA by GMFTatsujin · · Score: 5

    Consider:

    1. All computer code can be represented as a series of ons and offs, typically interpreted as 1's and 0's
    2. Any series of 1's and 0's can be interpreted as a base 2 form of some integer x
    3. Pi contains an infinitely variable series of digits which, in chunks, can be taken as integers
    4. Pi is infinite and non-repeating, and therefore contains every possible combination of every integer in the infinite set (some mathbrained guru can feel free to slap me down on this)

    Therefore, somewhere in the digits of Pi is a string of digits which, when transformed into binary, form the code to decrypt CCS on a Linux box. All the scientists have to do is find the correct starting position and how may digits need to be calculated. The resulting information could be spread throughout the internet and used to decrypt protected content.

    Further investgation into the true nature of Pi is a violation of the DMCA! This must stop at once!

    or... Holy moley! Taking that same argument, one could reason that every movie ever made, or that ever could be made, is buried digitally in Pi somewhere! Piracy is built in to the very structure of the universe!!!!

    Tatsujin

    1. Re:This is a clear violation of the DMCA by p_trinli · · Score: 2

      Your post is in there somewhere too.

      --
      Aaron J. Shaver
      http://aaronshaver.com/

  279. Re:Why does this matter? by SlippyToad · · Score: 1

    I think it was Faraday who, when asked of what use was his mucking around with electricty, replied "Of what use is a new-born child?"

    Enough said.

    --
    One day I feel I'm ahead of the wheel / the next it's rolling over me / I can get back on / I can get back on
  280. When are they going to study e? by per+unit+analyzer · · Score: 1

    As an engineer, I'm dissapointed they haven't released a similar study on the exponential constant, e. After all, e is probably even more fascinating since e^(j*pi)= -1

    --z

    --
    In Soviet Russia, the Beowulf cluster imagines you!
  281. Re:Pi is great as a random source. by joshtimmons · · Score: 2

    (and nobody has yet found a pattern in the continued fractions of Pi) Actually, if I understand you correctly, they have: Pi = 4 * (1/1 - 1/3 + 1/5 - 1/7 + 1/9 - 1/11 ...)

  282. Re:You missed his point by Squiffy · · Score: 1
    You're welcome to correct me on this if you can, but I think your logic is confused. Consider it this way: If you roll ten ten-sided dice, the probability of correctly predicting the outcome is 1 in 10-to-the-10th. Once you roll, though, the probability of getting what you got is 1. Otherwise, the outcome would still be uncertain even after you rolled, and you'd be sitting there rolling your set of dice, each time crying out, "Wow! I rolled 7312580462! The chance of rolling that was 1 in ten billion! What an incredible coincidence!" And then, "Wow! I rolled 4365784965! The chance of rolling *that* was also 1 in ten billion! With this luck, I should buy a lottery ticket!"

    If you adapt this scenario to something that generates purely random real numbers, the principles are the same. The probability of *predicting* the outcome is 0. But once you run the generator and get a number, the probability of having gotten what you got is 1.

  283. they are random, i think by supaphinn · · Score: 1

    I think its nice to asume that we could use logic to calculate with precicsion that they do hold a real value.

    But i dont think so. Numbers are abstract, they are simply a way of approximating reality.

    I think think pi could possibly be realized without a constant. That number 3.1415926... will go on forever.

    It must be random because with a ratio that has an infiniate number of variables, there is no perfect answer. Each additional number seems arbitrary.

    Who knows, anyones guess is as good as mine, this is the first time i ever thought about it as random, but visually, it seems to make sense.

    oh well.

    --phinn

  284. But I thought it was: by MadCow42 · · Score: 2
    starting at the 74088th digit, I read it as:

    "Sorry for the inconvenience"

    q:]

    MadCow

    --
    I used to have a sig, but I set it free and it never came back.
  285. Why does this matter? by Bonker · · Score: 3

    Whithout being a flaming asshole, what applications are there for knowing if the digits of PI are random or not?

    Also, since Pi is a ratio that we 'choose' to express in a base10 numerical system, would the fact that the digits are random in a decimal system mean that they would be random if we expressed Pi in a hexidecimal or octal system?

    --
    The next Slashdot story will be ready soon, but subscribers can beat the rush and slashdot the links early!
    1. Re:Why does this matter? by Jas26785 · · Score: 1

      Oh yeah, I know what you mean... who cares about finding any patterns to pi. It's just like that whole damn mass and energy thing, who cares if there is a pattern between them or not? It's not like anything useful could come of it.

    2. Re:Why does this matter? by cwalkden · · Score: 2
      There is actually a theory that Pi is one of those special numbers (whose name escapes me - making this post a little less useful) which is random in all bases.

      Such numbers are called normal.

      Specifically, a real number x is normal in base b if the frequency with which the digit r occurs in the base b expansion of x is equal to 1/b, for each r \in {0,1,...,b-1}. A real number is normal if it is normal in each (integer) base b.

      It's easy to construct (usually artificial) numbers that are normal to any given base. One can also sure (easily - using the Birkhoff Ergodic Theorem) that Lebesgue almost all real numbers are normal. However, there are no known examples of such a number. Thus `most' real numbers are normal (in the sense of `pick a real number at random then with probability one it will be normal'), but no explicit examples are known.

      This is all straightforward ergodic theory (actually, `uniform distribution mod 1'), and there's an excellent account in Kuipers & Neidreitter's book, which is sadly out of print.

    3. Re:Why does this matter? by cwalkden · · Score: 2
      Does a base have to be an integer? If not, pi in base(pi) is 10 exactly.

      Yep. Writing a real number x in base b (not necessarily an integer) essentially means writing

      x = \sum_{n=0}{\infty} a_{n}/b^{n}
      for suitable integers a_n. (`Essentially' here means that there may be some non-uniqueness, for example 1.000...=0.999... .)

      To prove that the real number x is normal to base b, one looks at the ergodic properties the transformation defined on the unit interval [0,1] by

      T_b: x \mapsto bx \mod 1
      (that is, the function that takes x, multiplies it by b and then takes the fractional part). When b is an integer, this transformation preserves Lebesgue measure (length) and is ergodic. Birkhoff's Ergodic Theorem then says that Lebesgue almost every point x is such that the sequence \{ T_b^{n}(x) \mid n = 0,1, 2,...} is uniformly distributed mod 1, and such a point x is easily seen to be normal in base b. Now there are only countably many different integer bases and the countable intersection of sets of full Lebesgue measure also has full Lebesgue measure. Hence (Lebesgue) almost every point is normal in every (integer) base.

      What about the case when b is not an integer? Well, the map T_b can still be defined, but it no longer preserves Lebesgue measure. It does, however, preserve a measure that is equivalent (in the sense of having the same sets of measure zero) to Lebesgue measure, and it is ergodic with respect to this measure. One can again conclude that for a given base b (not necessaily integral), Lebesgue almost every point x is normal to base b.

      However, one cannot then go on to say that almost every point is normal to every (real, non-zero) base b. This is because the intersection of uncountably many sets each of full measure can (and typically will) have zero measure. However, the following is true: take any sequence b_1, b_2, ..., then almost every point is normal in each base b_n.

      Of course, the set of full measure obtained will depend on the sequence b_1, b_2, ....

      There's a whole theory based around the ergodic properties of the map T_b for a non-integer b. Such transformations are called \beta-transformations, and there's a vast literature; see Parry, W. On the $\beta $-expansions of real numbers. Acta Math. Acad. Sci. Hungar. 11 1960 401--416, for starters.

    4. Re:Why does this matter? by slaytanic+killer · · Score: 1

      Hey, no one bit. Must be a /. record. ;)

    5. Re:Why does this matter? by jamesmartinluther · · Score: 1
      We seem attached to discrete numbering systems.

      What about the Pi system?

      "I'll take 6.28318... tickets for me an my girlfriend"

    6. Re:Why does this matter? by Anders1 · · Score: 1

      No, Pi has been proven to be irrational, and in fact transcendental (it is not the root of any finite polynomial with integer coefficients).

    7. Re:Why does this matter? by Anders1 · · Score: 1

      Actually, taking a logarithm to the base x is quite different than writing a number in base x. You can take a logarithm base e -- such a logarithm (not the number e itself) is called a natural logarithm -- but you can't write a number in base e. And FYI, e is about 2.718281828459045...

    8. Re:Why does this matter? by madPatter · · Score: 1

      I think you're confusing not random and repeating.

      Not random does not necessarily mean repeating. The number 0.101001000100001... is not random, but it doesn't repeat.

      Without the assumption that a non-random number is repeating (and thus rational), the proof doesn't work.

    9. Re:Why does this matter? by Kowoika+Dzeshamista · · Score: 1

      Hate to pull some kind of stunt like this here, but anyway... If pi is the result of a chaotic system, then if all possible sequences of N digits occur at least twice (for all N), then pi must be repeating (since if a chaotic system returns to a state, it'll start repeating). Therefore either pi is not the result of a chaotic system (and, given the preceding digits of pi, it is impossible to determine the next digit, which has been disproven by that formula), or there exists some sequence of N digits that occurs only once, for each value of N. Since all of the one-digit sequences ( through ) occur at least twice, pi is not the result of a chaotic system. Someone check my logic.

      --
      Hold it in your hand and watch it disappear - set it free and watch it remain.
  286. PI is not random of course by TheAlabamaKid · · Score: 1

    The definition of random is that the value can not be predicted, and of course we can predict any digit of PI. I would say that PI is no different than a long sequence of 1's in respect to being random. It is like a tree falling in the forest, does it make a sound? You could argue about that, but it would just be the definition of the word "sound" that you were discussing.

  287. Hate to be a nag, but... by RareHeintz · · Score: 2
    ...that algorithm (and variants) have been around for a while.

    And does anyone know if that link is incorrect in some way? My DNS can't resolve it.

    OK,
    - B
    --

  288. Why Curisoty Based Research? by JohnDenver · · Score: 4

    "It is a profound and necessary truth that the deep things in science are not found because they are useful; they are found because it was possible to find them." -Robert Oppenheimer

    Robert Moody from the Department Mathematical Sciences, University of Alberta illustrates the importance of curiosity based research in his paper using lasers as an example of why curiosity based research is necessary.

    Carl Sagan in his book, The Demon Haunted World, also stresses the importance of curiosity based research using James Clark Maxell's discoveries as an example of how it effects our lives today by providing the necessary building blocks for radio, television, computers, lasers, etc.

    It may be a while before we can find any spectacular applications with this new knowledge of pi, or we may not find any spectacular applications before we dissapear in the cosmos.

    The point is: We'll never know if there are any spectacular or even merely useful applications if it isn't shared, discussed and debated throughout the community.

    --
    "Communism is like having one [local] phone company " - Lenny Bruce
  289. Re:Pi is great as a random source. by acidblood · · Score: 1

    I had this feeling as well. That's why my initial library project had two requirements:

    1. small seeds (perhaps some 256 bits would do) of a truly random source.
    2. a way of computing square roots and logarithms to arbitrary precision.

    The idea was to XOR at least two irrational and/or transcendental numbers, such as square roots (of non-squared numbers, of course!), pi, e, logarithms, etc. It'd be necessary to use some of the random bits to choose which of the numbers will be calculated (pick from one of the four choices above, or others that might be implemented). Then, should we choose a square root or logarithm, we'd need more random bits to pick whether it'd be the square root/logarithm of 32857 or 18764874, say. The rest of the random bits would be used to pick a starting bit in the calculation stream, inside each of the calculated numbers. At last, all streams would be XORed, and that would be the output.

    Although it seems like a lot of calculation, remember that computers are getting more powerful everyday, and calculating hundreds of thousands of digits takes a second or so in gigahertz computers; and a truly random source of data (such as timing the decay of radioactive atoms) is slow at generating large streams, but can perfectly cope with the small seeds we need for this library.

    --

    Join the NFSNET. Our prime goal is making little numbers out of big ones. http://www.nfsnet.org/

  290. Re:Pi is great as a random source. by acidblood · · Score: 1

    What John Walker's program refers to as optimum compression is Huffman coding, IIRC.

    --

    Join the NFSNET. Our prime goal is making little numbers out of big ones. http://www.nfsnet.org/

  291. Re:Pi is great as a random source. by acidblood · · Score: 1
    There's nothing about transcendental numbers that makes their digits random; pi and e happen to be special. For instance, the first number proven to be transcendental was (some variation on) 0.101001000100001000001...; that sequence isn't random by any definition.

    I should have put it more clearly -- there's nothing special about transcendental numbers in general, indeed. It's just that I've analyzed two of them, Pi and e, and both have uniform statistical distribution and so forth. However, each new addition to this hypothetical library would have to go through the same extensive testing I've applied here, being transcendental or irrational or whatever.

    I'd recommend to anyone interested in projects like this to look at George Marsaglia's page; his tester may help you avoid releasing crap.

    I have done some testing with DIEHARD as well -- all randomness analyzers seem to back my ideas (:

    --

    Join the NFSNET. Our prime goal is making little numbers out of big ones. http://www.nfsnet.org/

  292. Re:Pi is great as a random source. by acidblood · · Score: 1

    Also, there are other uses for random numbers outside of generating cryptographic keys; for example, Monte Carlo simulations.

    --

    Join the NFSNET. Our prime goal is making little numbers out of big ones. http://www.nfsnet.org/

  293. Re:Error in article. by acidblood · · Score: 1

    Mathematicians usually write logarithms in the base e as simply log. While it is usually taught that log assumes base 10, the base-e logarithm is much more important in math than any other logarithm. If you had been in a calculus course, you'd know that.

    --

    Join the NFSNET. Our prime goal is making little numbers out of big ones. http://www.nfsnet.org/

  294. Re:Error in article. by acidblood · · Score: 1

    According to Wolfram Research's Mathematica, Log[x] is base e, while Log[10, x] is base 10. Of course, your TI-89 knows better, right? Perhaps you can take the time to ask a mathematician -- a real mathematician, not a high school teacher.

    --

    Join the NFSNET. Our prime goal is making little numbers out of big ones. http://www.nfsnet.org/

  295. More Pi randomness stats by acidblood · · Score: 1
    As an update to my previous post, here are some stats on my newly finished 1 gigabit Pi run:

    Entropy = 7.999998 bits per byte.

    Optimum compression would reduce the size
    of this 134217728 byte file by 0 percent.

    Chi square distribution for 134217728 samples is 306.26, and randomly
    would exceed this value 2.50 percent of the times.

    Arithmetic mean value of data bytes is 127.5018 (127.5 = random).
    Monte Carlo value for Pi is 3.141822921 (error 0.01 percent).
    Serial correlation coefficient is -0.000185 (totally uncorrelated = 0.0).

    Look at the original post for stats on the first 512 megabits of Pi.

    Also, I had made slight modifications to the ent program (used to generate the stats above), in order to treat the input as a stream of 16-bit values, not 8-bit as done in the above stats. Here are the 512 Mb and 1 Gb stats output by this modified version:

    Entropy = 15.998588 bits per short.

    Optimum compression would reduce the size
    of this 33554432 short file by 0 percent.

    Chi square distribution for 33554432 samples is 65664.47, and randomly
    would exceed this value 50.00 percent of the times.

    Arithmetic mean value of data shorts is 32765.0013 (32767.5 = random).
    Monte Carlo value for Pi is 3.142281362 (error 0.02 percent).
    Serial correlation coefficient is 0.000000 (totally uncorrelated = 0.0).


    Entropy = 15.999293 bits per short.

    Optimum compression would reduce the size
    of this 67108864 short file by 0 percent.

    Chi square distribution for 67108864 samples is 65745.70, and randomly
    would exceed this value 50.00 percent of the times.

    Arithmetic mean value of data shorts is 32767.4050 (32767.5 = random).
    Monte Carlo value for Pi is 3.141822921 (error 0.01 percent).
    Serial correlation coefficient is 0.000000 (totally uncorrelated = 0.0).
    --

    Join the NFSNET. Our prime goal is making little numbers out of big ones. http://www.nfsnet.org/

  296. Re:Pi is great as a random source. by acidblood · · Score: 2

    Sorry, that's not a continued fraction.

    I can't find an expansion for Pi, but for the golden ratio (1.6180339...) they go like this:

    Phi = 1+1/(1+1/(1+1/(1+1/(1+1/(1+...)))))

    What's interesting, Phi can be wrote as .5*(sqrt(5) + 1). Number theory is fascinating. But I'm straying out of my way now. Try to write the fraction on paper, and you'll understand what continued fractions are.

    --

    Join the NFSNET. Our prime goal is making little numbers out of big ones. http://www.nfsnet.org/

  297. Pi is great as a random source. by acidblood · · Score: 5
    I did some very interesting work this year with this, in the course of planning a high-quality pseudo-random library. I calculated the first 512 megabits of Pi, and then started splitting up the file in smaller pieces, to study whether they had an "information-theoretic randomness quality". That is, they're not random (you can calculate them), but they exhibit desirable randomness properties, such as uniform statistical distribution.

    Here's the output of John Walker's ent program for 512 megabits of Pi:

    Entropy = 7.999997 bits per byte.

    Optimum compression would reduce the size of this 67108864 byte file by 0 percent.

    Chi square distribution for 67108864 samples is 245.38, and randomly would exceed this value 50.00 percent of the times.

    Arithmetic mean value of data bytes is 127.4938 (127.5 = random).
    Monte Carlo value for Pi is 3.142281720 (error 0.02 percent).
    Serial correlation coefficient is -0.000145 (totally uncorrelated = 0.0).

    For the entropy test, a completely random sample would have an entropy of 8.0 bits per byte, and the ideal Chi Square distribution would be 256.0 (considering there are 256 degrees of freedom in an 8-bit data structure, or 2**8 possibilities.) As you can see, that's about as random as you can get. And the larger the samples you feed it, the more it converges to the ideal values.

    I've also done some testing with other transcendental numbers, such as e (2.718281828...), and they all seem to show great randomness properties, in the information-theoretic sense at least. However, I have a feeling to "trust" Pi more than e, given that you can write e in form of continued fractions with repeating patterns, and nobody has yet found a pattern in the continued fractions of Pi.

    As for my pseudo-random library project, my programming skills are quite bad, but if you have some knowledge of scientific computing (multiplication algorithms using FFTs, for example), you can contact me and I might revive the idea.

    --

    Join the NFSNET. Our prime goal is making little numbers out of big ones. http://www.nfsnet.org/

    1. Re:Pi is great as a random source. by vidarh · · Score: 2
      Uhm. Obviously "optimum compression" would be an optimal program for calculating Pi, which I'd hope would be a fair bit smaller than the size you mentioned :-)

      Rephrase it "optimum compression without using knowledge about specific inputs", and I'd be with you...

      --

      Remove Trash+ to reach my actual inbox

    2. Re:Pi is great as a random source. by warrior389 · · Score: 1

      indeed, we should take advantage of this great resource quickly, before they they discover an Adobe eBook reader starting at the 4 trillion and first digit!

    3. Re:Pi is great as a random source. by glyph42 · · Score: 1

      But Huffman coding is not compression unless you give it a probability model! Every compressor depends on a model, which is designed by humans to model our files here on Earth. There is no way around it. You cannot make a compressor that doesn't "make assumptions" about the input, and you cannot make a compressor that is not somehow tuned "to specific inputs", or at least specific classes of inputs.

      The only way to compress something is to know something about it and model that something, and then you can only compress those things which follow the model.

      --
      Music speeds up when you yawn, but does not change pitch.
    4. Re:Pi is great as a random source. by SumDeusExMachina · · Score: 1
      Disclaimer: I am a high school student who just finished up Algebra II

      Question: Even though these rate highly on the scale of randomness, wouldn't it be a very bad idea to use these in encryption algorithms where randomness is required? It looks like all a potential attacker would have to do is run through a fairly large section of Pi (because the n-th place digit of Pi will always be the same value regardless of how many times you calculate it) and run through every possible size using any or all of the bits contiguously. This wouldn't take too long on a fairly high-powered cluster, would it?

      --
      At the end of the day,
      I'd have to say
      that Linux is fucking gay.

      --

      Is your company running tools written by ma
    5. Re:Pi is great as a random source. by Waffle+Iron · · Score: 2

      How about "lossy" compression: Pi = 22/7

  298. Slashdotted by J'raxis · · Score: 1

    The government survives Code Red, but can't withstand a single Slashdot link...

  299. Re:Symbolic Compression / misnomer by J'raxis · · Score: 1

    Yep, and wouldn't go through right anyway: I didn't type the 16-bit (or whatever) code for ; I typed the &entity; for it (π). If I cut and paste the then pass it through the comment preview it gets mucked up too.

  300. Re:Symbolic Compression / misnomer by J'raxis · · Score: 2

    Uh huh, and here's another, with 50% better compression:

  301. Re:The signature of the artist ... by Pov · · Score: 1

    It may seem like that, but then you never know until you discover something. Electricity was "just a toy" when it was first being researched. It turned out pretty well. No, I don't know what calculating pi to this extent could possibly produce that would be worth all the effort, and it probably won't be, but then again . . . .

    --
    --- Don't be a player hater: I meta-mod ALL negative mods as Unfair.
  302. Nanocentury by clone22 · · Score: 1

    There are pi seconds in a nanocentury.

    --
    Ask me about my vow of silence!
    1. Re:Nanocentury by Uttles · · Score: 1

      a century is 100 years, so there is no such thing as a nanocentury, but hell let's examine it anyway
      a nanocentury would be like a microyear, or .000001 years
      so since a year has 31557600 seconds, a nanocentury would be 31.5576 seconds. That's pretty far off from Pi
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

      --

      ~ now you know
  303. Re:True story. - Sounds familiar by tom's+a-cold · · Score: 1

    Jorge Luis Borges wrote a story called "The Library of Babylon" about an extremely large, but finite, library of random books. Every possible book of a certain length, in a certain character set. In those books can be found all human knowledge, almost infinitely repeated if you consider whitespace and non-essential typos. Also, all human fallacies, the complete works of Shakespeare, including those that were lost to posterity, and works that purport to be the Bard's but are not... etc. The only complication is in finding anything. Same goes for the digits of pi. Infinite sequences are counter-intuitive in lots of ways.

    --
    Get your teeth into a small slice: the cake of liberty
  304. Re:yeth ( I think you've go that backwards ) by someone247356 · · Score: 1

    You wrote; "And 355/113 is even easy to remember. One One Three over Three Five Five..."

    Shouldn't you have said Three Five Five over One One Three??

    --
    Just my $0.02 (Canadian, before taxes)
  305. Zounds!!!! by TigerBaer · · Score: 1

    Quite possibly one of the most significant articles to ever slap slashdot across the face (possibly- i havent read the article yet), and already with a mere 11 comments posted, it is SLASHDOTTED.....

    ZOUNDS!!@$!$

  306. Formula for a != message. by KupekKupoppo · · Score: 1

    description of thought.

    contradiction or deviation from thought of article.

    semi-insightful, semi-obvious, somewhat-karma-whoring conclusion.

    (posted after seeing a X != Y on every story for the past day)

  307. Re:You missed his point by Bobo+the+Space+Chimp · · Score: 1

    > Explain to me why I can get this out of a
    > "perfect" random number generator:
    >
    > 000000000000000000000000....

    Actually, you can't. The probability of getting any particular string of digits out of a perfect random number generator is 0.

    Yet if you ran such a generator to generate one number, you would get a number whose probability was zero.

    Therefore truly random number generators do not exist. QED, there is something behind Quantum Mechanics' random wave functions.

    So tired, must sleep...

    --
    I am for the complete Trantorization of Earth.
  308. Re:You missed his point by Bobo+the+Space+Chimp · · Score: 1

    Unless, of course, QM physics pulls randomness from a pool of random numbers transfinitely larger than the set of reals.

    Which could indicate building QM on a real-number based spacial mathematics could be wrong...

    So very, very, very tired...

    --
    I am for the complete Trantorization of Earth.
  309. Re:Why? There are only 3 digits. by Bobo+the+Space+Chimp · · Score: 1

    State legislators do have an interest in defining a legal definition for PI (and other constants) for use in contracts.

    If someone only wants to sell you enough dough for pies 3.1 x D, where D is specified by you, you're gonna get pretty upset if you manufacture pies by the millions. Now you're in court, and the judge says, tough luck, there was no PI specified in the contract, and there was no legal definition of accuracy...

    --
    I am for the complete Trantorization of Earth.
  310. Re:"Random Access" to pi by jonese_67 · · Score: 1

    Is there a closed form to be had from that formula?

    --
    - jonese (http://farmaccidentdigest.com)
  311. Re:Why? There are only 3 digits. by BillX · · Score: 1
    Well, at least Texans can round. In IN they made a (now repealed) law that Pi = 4. I think I saw this on dumblaws.com.

    --

    --
    Caveat Emptor is not a business model.
  312. Re:pi randomness and algorithmic information theor by vidarh · · Score: 2
    No. A random sequence does not have to be uncompressible. The sequence "1 1 1" could very well be the output of random selection and is just as likely as "5 3 9" or any other combination of three digits.

    You can however not write a generic compression algorithm that can compress any and all inputs without further information (as this would allow you to pass the output back in to that algorithm and repeat, until it has been compressed to nothing - which is a clear paradox).

    "random" in the context of the article should rather be "unpredictable based on previous digits". What that means is that it should be impossible to predict the next digit og Pi based on the previous digits without resorting to other information about Pi (such as how to recognize Pi, and find a formula to calculate it) - the number itself doesn't appear to include any discernable information that allows you to accurately predict the next digit.

    For an example, consider the sequence "1,2,3,4". Most people would predict the next digit to be "5". And most likely you'd be correct, because you'd assume you were looking at a part of a sequence increasing with one per digit - there's a relationship between the digits that can be easily calculated.

    Noone has found that with Pi, and this article is about trying to prove that no such relationship can be found.

    Or for the benefit of non-mathematicians: It's "random".

    (disclaimer: I'm certainly no mathematician, and I'm sure someone can find some silly flaw in the above :-)

    --

    Remove Trash+ to reach my actual inbox

  313. "Randomness". by kanayo · · Score: 1

    What in the Universe is actually random anyway?
    The fact that you yourself do not know the next digit or outcome does not mean that it is also unknown to some other.

    1. Re:"Randomness". by kanayo · · Score: 1

      The fact that the Creator made it impossible for you to know everything, does not mean that He also blinded Himself to the intricacies of His work.

    2. Re:"Randomness". by Sheng+Long · · Score: 1

      Theoretically, if you had all the information in the universe (i.e. exact position and velocity of every fundamental particle) at your disposal and unlimited computing power, you COULD determine everything that is to happen (or has happened). Then nothing would be random.
      The only problem is Heisenberg's Uncertainty Principle, which basically states that you can't know an electron's position AND velocity at the same time (also commonly expressed as "you can't measure quantum phenomena without changing the results"). Sounds heady but the point is that there is randomness, there MUST be because it is impossible to know everything, even with unlimited processing power.

      --
      ___________I've found a remarkable proof of this fact, but there is not enough space in the sig to write it.
  314. STOP SEMANTIC IDIOCY by 3am · · Score: 1

    A number of posters have made the insipid insight that pi is not random.

    It only appears in the wording of the original /. poster - the article itself takes pains to qualify their use of the word random:

    "Numbers like pi are also thought to be "normal," which means that their digits are random in a certain statistical sense."

    Thus, the authors of the article are well aware that a. that the digits of pi are not literally random - it has a constant value, and the individual digits of its infinite expansion will always be the same, and b. that pi is not random in the information theoretical sense, in that a program which gives you the next digit in pi does not need to be any longer than any of the multitude of algorithms for calculating pi (see liebnitz, ramanujan).

    In fact, Bailey (the mathematician focused on in the article), does not even mention the word random. he is too busy trying to describe his work in which he is linking the BBP algorithm with a chaotic dynamics conjecture called "hypothesis a" which describes certain sequences (including those generated by the BBP algorithm).

    random is just a convenient, if innacurate, way of saying that the probability of a given n-digit sequence appearing in pi (in base b) converges to 1/(b^n) the further out you look in the base-b expansion of pi.

    stop saying how 'the digits of PI are not in fact random'. it's beating a dead horse, irrelevant, and worse than the constant drone of people correcting CmdrTaco's typos...

    --

    A: None. The Universe spins the bulb, and the Zen master merely stays out of the way.
  315. Memorizing Pi... by SirJimbo · · Score: 1

    So does this mean that those people that can recite 500 digits of pi are figuring them out as they go?
    That would make it even easier to trip them up in the middle

    Who is more foolish, the fool,
    or the fool that follows him? (Obi-Wan Kenobi)

  316. Confusseled by Hassman · · Score: 1
    I'm puzzeled. If pi is random, doesn't that mean that you shouldn't (as in should not, can't be done, impossible, uncomprehendable, about as likly as "Planet of the Aps" ending not being lame) be able to find the Nth digit without knowing the previous digits. hmmm...

    -Mark

    --
    -Mark
    Dovie'andi se tovya sagain.
  317. Re:So what? by Chakat · · Score: 1
    Read this article on the equation. Basically, when you start doing high-end simulations, you need insane amounts of precision or else the results become meaningless.

    Besides, how else are you supposed to do to show you are a 1337 g33k if you can't rattle off a couple hundred digits of the most famous infinitely long constant.

    D - M - C - A

    --

    If god had intended you to be naked, you would have been born that way.

  318. So what? by Uttles · · Score: 1

    Can someone tell me some down to earth, real reasons that anyone should care what the 12,345th digit of Pi is? I mean really, who cares?
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    --

    ~ now you know
    1. Re:So what? by Uttles · · Score: 1

      wouldn't that be a nanometer?
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

      --

      ~ now you know
    2. Re:So what? by Uttles · · Score: 1

      Look, all I'm saying is that after a certain amount of precision it's really useless. If we knew like 100, or maybe 500 digits of Pi that would be enough.
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

      --

      ~ now you know
    3. Re:So what? by orbitalia · · Score: 1

      Don't mess with Pi.. You'll only go round in circles.

  319. I suspect... by gamgee5273 · · Score: 1

    ...the answer will be "42."

  320. Kolmogorov complexity by s20451 · · Score: 2

    try to compress the "random" string of numbers; if you can compress a string of random numbers, it isn't

    Not really. Since pi is some constant, and not generated by a random process, the most meaningful description of its compressibility is its Kolmogorov complexity, which refers to the shortest program capable of re-generating the original string. Unfortunately, Kolmogorov complexity is not computable in general.

    --
    Toronto-area transit rider? Rate your ride.
  321. Also depend on compression scheme... by da5idnetlimit.com · · Score: 1

    Depending of your algorithm (repetion, fractal regression,...) you will get VERY DIFFERENT RESULTS using the same original file.

    + PI having no end in itself, can you please send me the method you think you will use before actually compressing pi, and which involve calculating pi to it's end ? 8)

    Please call me 5' before World's End, so I can come and check youir results 8)

    --
    It takes 40+ muscles to frown, but only four to extend your arm and bitchslap the motherfucker
  322. Low probability ? as in Free - As - Beer ? by da5idnetlimit.com · · Score: 1

    Because a low probability is not a truth in itself.

    I also have a LOW probability to win the Lotery 8|
    (1/14 600 000, under French Lotery system)

    --
    It takes 40+ muscles to frown, but only four to extend your arm and bitchslap the motherfucker
  323. PI IS STATIC AND PREDICTABLE ! by da5idnetlimit.com · · Score: 2

    if not, it could not be used as universal common point.

    the famous "Golden Number" is more impressive, I think

    --
    It takes 40+ muscles to frown, but only four to extend your arm and bitchslap the motherfucker
  324. Algorithm sources and other stuff by Zarhan · · Score: 3

    At the man's homepage.

    http://www.nersc.gov/~dhbailey/

    Check out the piqp.c in the middle of the page.

  325. Error in article. by MxReb0 · · Score: 1

    The article says that "...the natural logarithm of 2, often written "log(2)"," but really, it would be written "ln(2)".

    --

    MAKE YOUR TIME
    1. Re:Error in article. by MxReb0 · · Score: 1

      Well, acording to my TI-89, log(x) is base 10, while ln(x) is base e. Do you want to argure with my calculator?

      --

      MAKE YOUR TIME
    2. Re:Error in article. by MxReb0 · · Score: 1

      Your mom.

      --

      MAKE YOUR TIME
  326. 1995? by hyyx · · Score: 1

    "In addition, a simple formula discovered makes it possible to calculate the Nth binary digit of Pi without computing any of the first N-1 digits, and do the computation with very little computing power."

    Someone developed a digit-extraction algorithm (w/o having any n-1 digits) back in 1995:

    http://www.mathsoft.com/asolve/plouffe/plouffe.h tm l

    A [now-defunct] distributed computing project that set records to compute the five trillionth, forty trillionth, and quadrillionth bit of pi:

    http://www.cecm.sfu.ca/projects/pihex/index.html

  327. Richard Crandall by rufusdufus · · Score: 1

    I remember Richard Crandall from Reed. He was a physics professor who was way into algorithms and number theory. At one time he held the record for highest prime number. He also did a bunch of stuff for Next early on; I think he was Steve Jobs professor while Steve was at Reed. In any event they know each other pretty well. Main thing I remember about his code was that he was really good at numerical algorithms, but he didnt like to put in spaces or newlines; his code was real hard to read. Somebody had said something about checking the floating point in the code, but I am sure there is no error, just obscure shortcuts being taken.

  328. Re:Why? There are only 3 digits. by Violet+Null · · Score: 2

    No, it was neither Texas nor Kansas (Kansas did do the 'evolution' thing, though).

    There was, a year or so back, a hoax on the Internet about Alabama doing the same thing, but it was a hoax. The only factual evidence that anything of the sort ever happened was in Indiania, 1897, and it never even got close to passing: the Senators considered it to be a complete joke.

  329. Yes and no ... by Genoaschild · · Score: 1

    The number PI never has a repeating decimal in the decimal system(their are actual mathematical system where pi does not have a repeating decimal but that's another story.) The number PI is not random. It is just a constant. A number that can easily be calculated in decimal with reasonable accuracy. Because we can calculate it, it is not random. If a number has decimals that are just their without reason, it is random. This is not the case.
    ----

    --
    Just because a bunch of people believe or do something stupid, doesn't make it any less stupid.
  330. And even now... by D+Anderson+n'Swaart · · Score: 1
    Repeated attempts failed to load this page completely.

    Do you think that enough of us emailed them, Opera would consider revising that error message to This site is slashdotted. Please try again in a couple of days?

  331. Link Broke by Heated+Alkaline · · Score: 1

    Darnit I would really like to see this article, but the dang link is broke, can someone please send me the correct link...thanks, or repost or something...

  332. even easier way to calculate pi digits by theantix · · Score: 1
    Okay, you folks got it all wrong. All you have to do is have faith and presto, a simple pi digit calculator (hint: they're all 0)

    -rt-

    --
    501 Not Implemented
  333. How Borwein's formula works by spektr · · Score: 1

    1. The Borwein-formula for pi has certain properties that let you compute the n-th digit behind the comma in far less time than by the conventional method of computing all the other n-1 digits. But the computing-time still raises with n.

    2. This method works for base 16, but not for base 10. As far as I know, no formula for base 10 has been found, yet.

    3. Borwein's formula:

    pi = sum[k=0..inf]((1/16^k)*(4/(8k+1)-2/(8k+4)-1/(8k+5) -1/(8k+6))

    4. How to compute the n-th digit fast (in base 16):

    Multiply the formula with 16^(n-1). Now the n-th digit is directly behind the comma. You get:

    16^(n-1)*pi=sum[k=0..inf]( (16^(n-1-k))/(8k+1) - (2*(16^(n-1-k)/....

    And here's the trick: We are only interested in the digits *behind* the comma, so we can calculate each nominator (16^(n-1-k)) modulo its denominator, losing the part before the comma and therefore dealing with shorter numbers which is faster. E.g. for the first term: ( 16^(n-1-k) mod (8k+1) ) / (8k+1). [hint: n mod m is the remainder of n/m]

    Once again: if you have a term a/b with a>b then there's a term (b*c+d)=a with d<b [d=a mod b]. Then (b*c+d)/b=a/b and d/b is the part behind the comma and c is the part before the comma (because b/b=1).

    Note that each term of the infinite sum has a *positive* value (compared to other formulas, where the terms are alternating positiv and negative). Otherwise this method couldn't work, because you couldn't be sure that the part before the comma is really not relevant.

  334. Symbolic Compression / misnomer by kris_lang · · Score: 1

    Of course, the infinite series can be compressed into two ASCII symbols representing the english letter 'p' followed by the letter 'i', or by the english phrase 'the exact value of the ratio of the circumference of a circle to its diameter'. These are technically both accurate compressions of the transcendental value of pi, and of course require that the metadescription of the compression scheme is external to the compressed data, but that is also true of most encoding schemes. The digits of pi are definitely not random, the are determinate and calculable; they are however present in a random probability distribution, or at least presumed to be, since no one can calculate all of the digits of a transcendental number in finite time. The digits of pi are calculable, and there has been inexorable progress in coming up with better algorithms for calculating pi.

    1. Re:Symbolic Compression / misnomer by kris_lang · · Score: 1

      True, * is a better compression. But aleph1:2 bytes compression vs. aleph1:1 byte compression are exactly the same ratio, since an infinity of digits in pi is compressed. But bravo, I agree.

      I didn't use the symbol because it's not universally supported in ASCII, and I didn't want to get into the UNICODE argument. In fact, when I cut and pasted it from your posting into this and previewed it, it comes out as an asterisk rather than as the Greek letter 'pi'.

  335. Re:memory much? by emoeric · · Score: 1
    wow. That man is too cool for school.
    Here's some more stuff i found lookin around for crazy people with too much time on their hands: http://www.ac.wwu.edu/~mnaylor/pi.html

    for the goatse fear in all of us

    |---------------|

    --

    |---------------|
    practically an AC
  336. memory much? by emoeric · · Score: 3
    "Bailey memorized pi to more than 300 digits 'as a diversion between classroom lectures' while still a graduate student at Stanford"

    Where do they find these guys? He memorizes pi, i play snake on my cellphone. eh

    |---------------|

    --

    |---------------|
    practically an AC
  337. Are The Digits of Pi Random? by JimEL · · Score: 1

    Try this link instead: http://www.lbl.gov/Science-Articles/Archive/pi-ran dom.html

  338. Small programs!!! by Mandelbrot-5 · · Score: 1

    How many cycles does this calculation take? A software co. could right some software and run it through a cluster to find where in pi the program was. The size of the software could be 10 bits or 10 gigs, but you would only need to download simple equation and plug it into your PiWare program. But then what would we all do with our bandwidth?

    --
    Math is like sex. People who get it are popular in class, people who don't are not.