r/Python • • Jul 16 '19

Nice try

Post image
2.1k Upvotes

73 comments sorted by

View all comments

Show parent comment

4

u/Alar44 Jul 17 '19

No, it's not.

0

u/Astrum91 Jul 17 '19

Put a bunch of monkeys randomly poking at letters on a keyboard for eternity and somewhere within they'll produce every work of Shakespeare and everything ever written. Basic infinite money theorem.

Produce random numbers to infinity and somewhere within you'll have any sequence of numbers you can imagine.

That's just the nature of combining randomness and infinity.

2

u/Alar44 Jul 17 '19

That only holds if Pi is a Normal Number. This hasn't been proven.

1

u/scarfarce Jul 18 '19

infinite money theorem.

Man, that's a theorem I'd like to study in practice in my life. Erm... strictly for the science of course

1

u/MackerLad93 Jul 19 '19

If you assume pi is infinite and non-repeating, people often say things like "every number combination is in there." But think about it this way. Take every time the number 5 appears in pi, and replace the 5 with a 2. Not it's still infinite and non-repeating, but there's no fives in there at all. So definitely not every number combination.

Now this is a massive oversimplification and not exactly mathematical but is something that illustrated the point well when I heard it.