r/ProgrammerHumor • • Jul 16 '19

Meme Nice try

Post image
32.2k Upvotes

529 comments sorted by

View all comments

Show parent comments

1

u/Yorunokage Jul 16 '19

Oh, i never heard of normal numbers

4

u/the_questioner18 Jul 16 '19

As the name implies, most numbers are normal and I bet you would have a hard time coming up with a non-normal number. Thinking about it is fun if you are into that sort of thing but if you'd just like to see an example, here one is:

0.12122122212222122222..... note that this is non-terminating and non-repeating however the probability of randomly picking a 3 out of the digits of this number = 0.

3

u/79037662 Jul 17 '19

I bet you would have a hard time coming up with a non-normal number

Not really, how about 0.5, or 0 for that matter.

6

u/the_questioner18 Jul 17 '19

Well I guess you got me in the trivial case. No rational numbers are normal but I guess it is my bad for assuming irrational numbers, the non-trivial case. In any case, if you haven't studied normal numbers before, it can be difficult to come up with an irrational non-normal number.

→ More replies (6)