Chudnovsky algorithm

From testwiki
Jump to navigation Jump to search

Template:Short description The Chudnovsky algorithm is a fast method for calculating the digits of [[pi|Template:Pi]], based on Ramanujan's [[List of formulae involving π#Efficient infinite series|Template:Pi formulae]]. Published by the Chudnovsky brothers in 1988,[1] it was used to calculate Template:Pi to a billion decimal places.[2]

It was used in the world record calculations of approx. 2.7 trillion digits of Template:Pi in December 2009,[3] 10 trillion digits in October 2011,[4][5] around 22.4 trillion digits in November 2016,[6] 31.4 trillion digits in September 2018–January 2019,[7] 50 trillion digits on January 29, 2020,[8] 62.8 trillion digits on August 14, 2021,[9] 100 trillion digits on March 21, 2022,[10] 105 trillion digits on March 14, 2024,[11] and 202 trillion digits on June 28, 2024.[12] Recently, the record was broken yet again on November 18, 2025 with 314 trillion digits of pi.[13][14] This was done through the usage of the algorithm on y-cruncher.

Algorithm

The algorithm is based on the negated Heegner number d=−163, the j-function j(1+i1632)=−6403203, and on the following rapidly convergent generalized hypergeometric series:[15]1π=100054270934400∑k=0∞(−1)k(6k)!(545140134k+13591409)(3k)!(k!)3(640320)3k

This identity is similar to some of Ramanujan's formulas involving Template:Pi,[15] and is an example of a Ramanujan–Sato series.

The time complexity of the algorithm is O(n(log⁡n)3), where n is the number of digits desired.[16] Each term produces around 14 correct decimal digits of Template:Pi.[17]

Optimizations

The optimization technique used for the world record computations is called binary splitting.[18]

See also

Template:Portal

References

Template:Reflist