Slashdot Mirror


Pi: Less Random Than We Thought

Autoversicherung writes "Physicists including Purdue's Ephraim Fischbach have completed a study comparing the 'randomness' in pi to that produced by 30 software random-number generators and one chaos-generating physical machine. After conducting several tests, they have found that while sequences of digits from pi are indeed an acceptable source of randomness -- often an important factor in data encryption and in solving certain physics problems -- pi's digit string does not always produce randomness as effectively as manufactured generators do."

3 of 416 comments (clear)

  1. I had great hope when clicking on the link... by Anonymous Coward · · Score: 5, Insightful

    ... but it seems a shitty research, based on the article:

    > Pi never scored less than a B on the tests, and in one case outperformed all the RNGs, which in addition to mathematical algorithms included a device that uses turbulence in a fluid as its source of randomness. But in most cases, pi lost out to at least one RNG, and in several it finished decidedly in the middle of the pack.

    Obviously. There is no reason that pi would beat every RNG out there on a sample of numbers. It should just be slightly ahead the pack (if some RNG are bad), or just in the middle (if all are good).

    > "Our work showed no correlations or patterns in pi's number set - in short, pi is indeed a good source of randomness," Fischbach said. "However, there were times when pi's performance was outdone by the RNGs."

    Well, there is a reason why mathematicians consider that statistics are not a branch of mathematic. And such article are a proof of it.

    pi output on the statistical tests were correct (if they werer not, then it would be an important news, as it would imply correlations). The fact that some other RNG generated "better" output for the (relatively) small sample they used is meaningless.

  2. Slightly different view.. by beldraen · · Score: 4, Insightful

    The real issue with statistics is that people who use them generally do not understand them. I get irritated with people all the time when people "prove" some statement. Statistics shows that a sample of the populace has some correlation within some bound that is likely to be true some percentage of the time. So, the real question is: what was the bound and what percentage of the time was the randomness within that bound. If PI's bound exists outside of the statistical error of the bounds of the other tests then one could say that PI is less random; however, it sounds like they indeed found a few tests where PI "beat" the other tests. In other words, the bound PI was within the statistical error of the other tests, but the computed mean was occasionally better. But, occasionally better is to be expected some percentage of the time. If it is with in that number of times, it is as you say, a meaningless conclusion. Statatics within the bounds of error are completely equal. Probability is math, but it is also just very probable that it is used wrong.

    --
    Bel, the mostly sane.. "Of course I can't see anything! I'm standing on the shoulders of idiots." -- Me
  3. Re:because it ain't random by shreevatsa · · Score: 5, Insightful

    Pi is a transcendental number
    Yes, that's right...
    and therefore cannot be exactly determined
    Er, that depends on what you mean by "exactly determined". Do we need to know the digits in decimal expansion (base 10) to "determine" pi? How about saying that pi is exactly "1.000" in "base pi"? IMHO, whether or not a number can be exactly determined is independent of whether its decimal expansion is known. By your logic, sqrt(2) cannot be exactly determined, as it is an irrational number and has infinitely many digits (and they aren't periodic, unlike 1/3=0.33333333333... which also has infinitely many digits). But I am not entirely comfortable with saying that sqrt(2) cannot be exactly determined. After all, we know exactly what it is -- the positive number whose square is two.

    I expect e and the square root of 2 to be better choices
    WTF? How is e a better choice? It is also a transcendental number, just like pi. And sqrt(2) isn't even transcendental!