r/askscience • u/Manticorp • Oct 28 '13
Mathematics Could an infinite sequence of random digits contain all the digits of Pi?
It's a common thing to look up phone numbers in pi, and it's a common saying that every Shakespeare ever written is encoded in pi somewhere, but would it be possible for every digit of pi to appear in a random sequence of numbers? Similarly this could apply to any non terminating, non repeating sequence like e, phi, sqrt(2) I suppose. If not, what prohibits this?
I guess a more abstract way of putting it is: Can an infinite sequence appear entirely inside another sequence?
23
Upvotes
View all comments
Show parent comment
2
u/epsdelta Oct 29 '13
I'm confused by a number assertions ...
Napoleon: Take the number 0.314159... in the interval [0,1]. The probability that a random choice picks that number is zero. But that's the same probability for any number in that interval, say, 0.5. I agree that the likelihood is vanishingly small as you have asserted, but not impossible.
garblednonsense: "As pi is transcendental, it means that the sequence of digits is uncountable infinite." I have a counterexample: assign the value of 1 to the first digit of pi, 2 to the second, etc. This describes a one-to-one function from the natural numbers (countably infinite) to the digits of pi, demonstrating countability of the digits of pi.
Interesting approaches, both of you though.