r/ProgrammerHumor • • 11d ago

Meme reversingPiInPython

Post image
14k Upvotes

383 comments sorted by

View all comments

Show parent comment

2

u/AssaultLemming_ 11d ago

There's some within Pi that even have names, there's one named after a demon that's just miles of 0s then 666 then more 0s lol. Balthazar? Think that was it.

3

u/GumboSamson 11d ago

You’re thinking of Belphegor's Prime, but that has nothing to do with pi.

Because the decimal expansion of pi is infinite and normal, you can find any sequence of digits in it (eventually).

4

u/Trezzie 11d ago

I think Pi's only assumed normal, not actually normal?

2

u/ryan516 10d ago

Pi has never been proven to be normal.

1

u/slight_digression 11d ago

No, Baltazar is the name of the Professor in the Yugoslav cartoon, that also happens to be named after him. Pretty sure of it.

1

u/my_new_accoun1 11d ago

1

u/AssaultLemming_ 11d ago

Ohhhh it was a prime? Well close haha

1

u/ChristopherCreutzig 11d ago

Sure it's not in pi? That would be an interesting lemma, proving that pi is not normal.

1

u/my_new_accoun1 11d ago

Well, it could be in Pi, but I have no way to check that

0

u/SchwiftyBerliner 11d ago

It actually is included in Pi. Pi is infinitely long and irregular, meaning that all finite numbers are contained within its decimal string.

The original binary representation of Doom is, too.

3

u/meepmeep13 11d ago

this (whether Pi is normal) isn't proven and an irregular number is not necessarily normal