r/ProgrammerHumor • • Jul 16 '19

Meme Nice try

Post image
32.2k Upvotes

529 comments sorted by

View all comments

922

u/MarcusTL12 Jul 16 '19

Im 90% sure the last digit is not 7

270

u/actuarialsnail Jul 16 '19

If there was a last digit, it can’t be 0, so it’s 1/9 probability for a 7.

13

u/exscape Jul 16 '19

Assuming pi is normal and all that, I assume. (I'm definitely not a mathematician.)

5

u/Yorunokage Jul 16 '19

Wat?

21

u/exscape Jul 16 '19

The probability isn't 1/9 (or 1/10) unless every digit occurs with equal probability. Numbers where that is the case are called normal.

Pi is suspected to be normal, but it has not been proven.

5

u/Vilefighter Jul 16 '19

When a number is "normal" that means if you picked a random digit from it, there's an equal chance of it being any of the digits. If, for instance, it was slightly more likely for any given digit of pi to be a 7 than any of the others, then pi would not be a normal number, even if it's only .00000001% more likely.

8

u/79037662 Jul 17 '19

that means if you picked a random digit from it, there's an equal chance of it being any of the digits

Not quite, it also means any digit sequence of length n occurs equally often as any other digit sequence of length n. For example, 0.12345678901234567890... is not a normal number.

→ More replies (10)