Here's a quick implementation in Python: def pi(precision): getcontext().prec=precision return sum(1/Decimal(16)**k * (Decimal(4)/(8*k+1) - Decimal(2)/(8*k+4) - Decimal(1)/(8*k+5) - Decimal(1)/(8*k+6)) for k in xrange(precision))
-
-
Show this threadThanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
I have this formula as a poster in my work office.pic.twitter.com/DIqDD6B4Ja
-
Where do I get this poster??
- 1 more reply
New conversation -
-
-
Equivalently, here's the Bailey-Borwein-Plouffe formula in terms of tau = C/r.pic.twitter.com/OxwBfygkLx
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Looks like black magic. Is there a proof/explanation somewhere (readable for people without a PhD) ?
-
There's a proof and we are working on annotating it on
@fermatslibrary to make it even more accessible. You should expect to see it in the upcoming papers of the week =)
End of conversation
New conversation -
-
-
Not quite right, you need to do more to get the actual digit. https://en.wikipedia.org/wiki/Bailey–Borwein–Plouffe_formula …
-
@fermatslibrary why don’t you fix incorrect statement in image as@BruvverEccles pointed out? You do realise that with all the retweets and likes an untruth is spread and accepted?
End of conversation
New conversation -
-
-
This Tweet is unavailable.
-
Wait, doesn't this contradict the fact/conjecture that π is normal? This sequence somehow looks too 'simple' to me
- 1 more reply
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.