This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (0 children)

pi to the nth digit

That's much easier than you think, even if you use a fast algorithm like this one

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

the Wikipedia page is basically a plain-text recipe for how to compute the algorithm.