Computing Pi the Chudnovsky Way
Computing Pi the Chudnovsky Way
The Chudnovsky algorithm generates 14 or more digits of for every summation step. It has been used to achieve numerous world record calculations for since it was published in 1989. As implemented here, Mathematica calculates an approximation to =12(6k)!(13591409+545140134k) for a number of summation steps that you set. The Demonstration shows how many total digits of have been correctly computed as a result.
π
π
1
π
∞
∑
k=0
k
(-1)
(3k)!
3
(k!)
3k+
3
2
640320
π