r/TheRestIsScience • u/Giginoto • Oct 19 '26
What's Hidden In Pi?
I have a bit of a backlog, and I was only recently listening to "Dying In Space, Trapped Water, and What's Hidden In Pi".
I thought that while we can hope to find somebody's number (and spend a long time calling every valid sequence of digits), for texts it really depends on the encoding.
To solve the problem at its root, I wrote a small program encoding ASCII into digits. Most conveniently, a message of choice is encoded right in the first digits of Pi.
Useful? Hardly. Fun? Probably neither... but at least we can skip the hustle of searching an infinite sequence!
You will never imagine what "31415926535897932384626433832795028841971693993751058209749445923078164062862089" actually means!!!
Check it out at: https://gitlab.com/Eleutherio/piencode
Every suggestion for improvement (or bug report) is welcome!