In mathematics, Machin-like formulae are a popular technique for computing π to a large number of digits. They are generalizations of John Machin's formula from 1706:
which he used to compute π to 100 decimal places.
Machin-like formulas have the form
()
where and are positive integers such that , is a signed non-zero integer, and is a positive integer.