Borwein's algorithm

Borwein's algorithm is an algorithm devised by Jonathan and Peter Borwein to calculate the value of 1/π.

It works as follows:

Then ak converges quartically against 1/π; that is, each iteration approximately quadruples the number of correct digits.

See also

See also: Borwein's algorithm, Algorithm, Borwein's algorithm (others), Gauss-Legendre algorithm, Jonathan Borwein, Peter Borwein, Pi