1072

you are viewing a single comment's thread
view the rest of the comments
[-] sukhmel@programming.dev 15 points 14 hours ago* (last edited 14 hours ago)

That's nice, albeit I want to point out for anyone wondering that this is only conjectured and not guaranteed:

One of the properties that π is conjectured to have is that it is normal, which is to say that its digits are all distributed evenly, with the implication that it is a disjunctive sequence, meaning that all possible finite sequences of digits will be present somewhere in it.

There is no guarantee for any specific sequence to appear in π, but for short chunks chances are better (it's not really a probability, but it's simpler to say and I can't explain in details anyway). That's because (from wiki):

It is widely believed that the (computable) numbers √2, π, and e are normal, but a proof remains elusive.

this post was submitted on 02 Sep 2026
1072 points (98.6% liked)

Programmer Humor

33083 readers
2075 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 3 years ago
MODERATORS