Math 2.0

Number theory Definition

Chudnovsky algorithm

Builds on piFactorialConvergent series

Definition

The Chudnovsky algorithm computes approximations of pi from the Chudnovsky formula 1π=12∑k=0∞(−1)k (6k)! (13591409+545140134 k)(3k)! (k!)3 6403203k+3/2,\frac{1}{\pi} = 12\sum_{k=0}^{\infty} \frac{(-1)^k\,(6k)!\,(13591409 + 545140134\,k)}{(3k)!\,(k!)^3\,640320^{3k + 3/2}}, where n!n! is the factorial. To obtain π\pi to DD decimal digits, it adds the first NN terms of this series and inverts the sum. Here NN is slightly more than D/14D/14. The partial sum is evaluated by binary splitting. The rational numbers that form the terms are combined pairwise in a balanced tree, so the work is done with large-integer products.

Remarks

The ratio of successive terms tends to −123/6403203≈−6.6×10−15-12^3/640320^3 \approx -6.6 \times 10^{-15}, since (6k)!/((3k)!(k!)3)(6k)!/((3k)!(k!)^3) grows like a constant times 1728kk−3/21728^k k^{-3/2} by Stirling's formula; this gives about 14.1814.18 digits per term. Example: the k=0k = 0 term gives π≈6403203/2/(12⋅13591409)=3.14159265358973…\pi \approx 640320^{3/2}/(12\cdot 13591409) = 3.14159265358973\ldots, correct to 1313 decimal places. Non-example: summing the Leibniz series π/4=1−13+15−⋯\pi/4 = 1 - \frac13 + \frac15 - \cdots is not this algorithm and is far slower: its error after NN terms is of order 1/N1/N. The number 6403203=262537412640768000640320^3 = 262537412640768000 is close to eπ163−744e^{\pi\sqrt{163}} - 744, which reflects the j-invariant value j(1+−1632)=−6403203j\big(\frac{1 + \sqrt{-163}}{2}\big) = -640320^3.

Reading path

To understand this page from the ground up, read these 59 pages in order. The foundations come first.

  1. Convergent series concept
  2. Factorial concept
  3. Limit point of a set definition
  4. Local maximum definition
  5. Sequence definition
  6. Limit of a function definition
  7. Local minimum definition
  8. Real sequence definition
  9. Subsequence definition
  10. Continuity at a point definition
  11. Derivative definition
  12. Bounded sequence definition
  13. Cauchy sequence definition
  14. Geometric sequence definition
  15. Limit of a sequence definition
  16. Monotone sequence definition
  17. Series definition
  18. Continuous function definition
  19. Fermat's theorem on stationary points statement
  20. Limit superior definition
  21. Cauchy sequences are bounded statement
  22. Sum of a finite geometric series statement
  23. Monotone convergence theorem for sequences statement
  24. Every sequence has a monotone subsequence statement
  25. Convergent sequence definition
  26. Pointwise convergence definition
  27. Squeeze theorem statement
  28. Partial sum definition
  29. Power series definition
  30. Intermediate value theorem statement
  31. Bolzano–Weierstrass theorem statement
  32. The sequence r^n tends to zero for |r| < 1 example
  33. Radius of convergence definition
  34. Convergent series definition
  35. Uniform convergence definition
  36. Sine and cosine definition
  37. Boundedness theorem statement
  38. Cauchy criterion for sequences statement
  39. Uniform convergence on a set definition
  40. Absolute convergence definition
  41. A series of nonnegative terms converges iff its partial sums are bounded statement
  42. Series of functions definition
  43. Sum of a series definition
  44. Extreme value theorem statement
  45. Uniformly Cauchy sequence of functions definition
  46. Comparison test statement
  47. Geometric series example
  48. Rolle's theorem statement
  49. Root test statement
  50. Weierstrass M-test statement
  51. Mean value theorem statement
  52. Cauchy–Hadamard theorem statement
  53. Power series converge uniformly on smaller discs inside the radius of convergence statement
  54. Uniform convergence of derivatives allows term-by-term differentiation statement
  55. Term-by-term differentiation statement
  56. Power series are differentiable inside the radius of convergence statement
  57. Derivative of cosine statement
  58. pi object
  59. Chudnovsky algorithm definition

Further reading

  1. Web https://en.wikipedia.org/wiki/Chudnovsky_algorithm
About this page
TagZ5G5JPT022
URIm2://Z5G5JPT022
Kinddefinition
WritingW0 stub
MSC11Y60, 65D20
DefinesChudnovsky algorithm
Usespi, Factorial, Convergent series

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • an inventory row: the row of the inventory that the node accounts for (0 of 1)
  • a source with a locator (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.