logoalt Hacker News

olooneytoday at 1:59 PM3 repliesview on HN

I like the 4-5-6 theorem:

    pi^4 + pi^5 = e^6
Well, to five decimal places, anyway. Some other good ones:

    e^pi - pi = 20

    sqrt(2) ln pi = phi
There are also famous "almost integers" such as this one discovered by Ramanujan:

    e^(pi sqrt(163))
Which is an integer to 12 decimal places.

Edit: I just remembered I have public JupyterLite notebooks for both of these:

https://notebooks.oranlooney.com/lab/index.html?path=fake_ma...

https://notebooks.oranlooney.com/lab/index.html?path=heegner...


Replies

vitriol83today at 5:03 PM

the Ramanujan one has some relatively high powered mathematical explanation

https://en.wikipedia.org/wiki/Heegner_number

show 1 reply
Y_Ytoday at 4:57 PM

(e^pi - pi)/pi^4 ~= i^i

dylan604today at 3:53 PM

> Which is an integer to 12 decimal places

this isn't something I was expecting to read today. I guess this works with weak types? /s

show 1 reply