Chudnovsky algorithm

From Wikipedia, the free encyclopedia
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 2.7 trillion digits of Template:Pi in December 2009,[3] 10 trillion digits in October 2011,[4][5] 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 April 2nd 2025 with 300 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π=12k=0(1)k(6k)!(545140134k+13591409)(3k)!(k!)3(640320)3k+3/2

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(logn)3).[16]

Optimizations

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

See also

Script error: No such module "Portal".

References

<templatestyles src="Reflist/styles.css" />

  1. Script error: No such module "citation/CS1".
  2. Script error: No such module "citation/CS1".
  3. Script error: No such module "Citation/CS1".
  4. Script error: No such module "citation/CS1".
  5. Script error: No such module "citation/CS1".
  6. Script error: No such module "citation/CS1".
  7. Script error: No such module "citation/CS1".
  8. Script error: No such module "citation/CS1".
  9. Script error: No such module "citation/CS1".
  10. Script error: No such module "citation/CS1".
  11. Script error: No such module "citation/CS1".
  12. Script error: No such module "citation/CS1".
  13. Script error: No such module "citation/CS1".
  14. Script error: No such module "Citation/CS1".
  15. a b Script error: No such module "citation/CS1".
  16. Script error: No such module "citation/CS1".
  17. Script error: No such module "citation/CS1".

Script error: No such module "Check for unknown parameters".