Does anyone know why Machin's original formula for $\pi$ converges so much faster than Leibniz's formula for $\pi$?
Machin's original formula: $\pi=\sum_{n=0}^\infty \frac{16(-1)^n239^{2n+1}-4(-1)^n5^{2n+1}}{1195^{2n+1}(2n+1)}$
Leibniz's formula: $\pi=\sum_{n=0}^\infty \frac{4(-1)^n}{2n+1}$
I think it has something to do with the centre of convergences, but am not sure.
Both formulas are based on the Taylor development of the arc tangent,
$$\sum_n\frac{(-1)^nx^{2n+1}}{2n+1}.$$
The absolute ratio of successive terms is
$$\frac{2n-1}{2n+1}x^2.$$
So when $x=1$ (Leibnitz), the general term decreases desperately slowly, while in the Machin formula, it decreases by more than a factor $25$ on every new term, giving each time more than one exact digit.
There are much faster formulas (Machin isn't used anymore for the computation records), and even a formula that gives the $n^{th}$ digit without computing the previous (though in base $16$ only).