English

A Fast Self-correcting $\pi$ Algorithm

Number Theory 2019-12-24 v4 Symbolic Computation

Abstract

We have rediscovered a simple algorithm to compute the mathematical constant π=3.14159265. \pi=3.14159265\cdots. The algorithm had been known for a long time but it might not be recognized as a fast, practical algorithm. The time complexity of it can be proved to be O(M(n)log2n) O(M(n)\log^2 n) bit operations for computing π\pi with error O(2n)O(2^{-n}), where M(n)M(n) is the time complexity to multiply two nn-bit integers. We conjecture that the algorithm actually runs in O(M(n)logn). O(M(n)\log n). The algorithm is \emph{self-correcting} in the sense that, given an approximated value of π\pi as an input, it can compute a more accurate approximation of π\pi with cubic convergence.

Keywords

Cite

@article{arxiv.1912.05319,
  title  = {A Fast Self-correcting $\pi$ Algorithm},
  author = {Tsz-Wo Sze},
  journal= {arXiv preprint arXiv:1912.05319},
  year   = {2019}
}

Comments

9 pages