This is a followup question to my answer for a previous question, where I identified the $\arctan$ algorithm used in an 1961 Algol compiler for the Electrologica X1 (subsequently also used in an Algol compiler for the English Electric KDF9 in 1963) as Borchardt's algorithm combined with an unspecified convergence acceleration scheme. Borchardt's algorithm uses an AGM-like iteration
$$a_{i+1} = \frac{a_{i}+b_{i}}{2}$$ $$b_{i+1} = \sqrt{a_{i+1} b_{i}}$$
When $0 \le a_{0} \lt b_{0}$, and with $\lim_{i\to\infty} a_{i} = A, \lim_{i\to\infty} b_{i} = B$, the iteration converges to
$$A = B = \frac{\sqrt{b_{0}^{2} - a_{0}^{2}}}{\arccos \left(\frac{a_{0}}{b_{0}}\right)}$$
Setting $a_{0}=1$ and $b_{0}=\sqrt{x^{2}+1}$ results in $$A = B = \frac{x}{\arctan (x)}$$
For practical finite-precision computation of $\arctan$ one might set $a_{0} = 1$, $t_{0} = x^{2}+1$, and $b_{0} = \sqrt{t_{0}}$, then iterate
$$a_{i+1} = \frac{a_{i}+b_{i}}{2}$$ $$t_{i+1} = \frac{a_{i}b_{i}+t_{i}}{2}$$ $$b_{i+1} = \sqrt{t_{i+1}}$$
and after $n$ iterations, compute $\arctan (x)$ as $\frac{x}{b_{n}}$. With either variant of the iteration, the sequence terms are represented by
$$a_{i} = \frac{x}{2^{i}\tan \left(\arctan \left(\frac{x}{2^{i}} \right)\right)} = \cos\left(2^{-i}\arctan(x)\right)\ b_{0}\prod_{k=1}^{i} \cos\left(2^{-k}\arctan(x)\right)$$ and $$b_{i} = \frac{x}{2^{i}\sin \left(\arctan \left(\frac{x}{2^{i}} \right)\right)} = b_{0}\prod_{k=1}^{i} \cos\left(2^{-k}\arctan(x)\right)$$
Denoting the ratio of corresponding sequence terms as $r_{i} = \frac{a_{i}}{b_{i}} = \cos\left(2^{-i}\arctan(x)\right)$, we have
$$r_{i+1} = \sqrt{\frac{1}{2}\left(1+r_{i}\right)}$$
Borchardt's algorithm converges rather slowly: the relative error of the sequence terms vis-a-vis the limit is reduced by a factor of 4 in each iteration. This makes it unsuitable for practical computation.
The convergence acceleration used for the algorithm in the Electrologica X1 and the English Electric KDF9 consists of a simple weighted sum applied to the $b$ sequence. After performing $n$ iterations of Borchardt's algorithm it computes
$$ s_{n} = c_{0} + \sum_{i = 0}^{n} b_{i}c_{i+1}$$
using the coefficients (weights) $c_{i} > 0$ and $\sum_{i=0}^{n+1} c_{i} \approx 1$. This scheme proves remarkably effective and provides significant convergence acceleration for several small $n$ that I tried, as can be seen from the following data. Here, I computed the $c_{i}$ numerically, first solving a system of equations, then following up with a heuristic search to provide near-minimax approximations. $$ \begin{array}{|c|c|c|c|} \hline n & \text{maxrelerr } b_{n} & \text{maxrelerr } s_{n} & \text{}c_{n+1}, \ldots, c_{0} \hspace{355pt} \\ \hline 1 &9.97\times10^{-2} & 3.43 \times 10^{-5} & 0.69617124459182167, 0.144352364524566680, 0.159461775291309780 \hspace{107pt} \\ \hline 2 & 2.55\times 10^{-2} & 1.98 \times 10^{-7} & 0.721874544729367070, 0.124637158064966650, 0.076900841586498916, 0.076587554226549212 \\ \hline 3 & 6.42\times 10^{-3} & 1.30 \times 10^{-9} & 0.725940948300632270, 0.121226383247637810, 0.076665949618478599, 0.038082490510660455, 0.038084227678911814 \\ \hline 4 & 1.61 \times 10^{-3} & 1.92 \times 10^{-13} & 0.725940450929943300, 0.121226383896389640, 0.076666493926238713, 0.038082414121091472, 0.019042129238794558, 0.019042127887638101 \\ \hline \end{array} $$
I have demonstrated the practical utility of this approach for the low-precision computation of $\arctan$ on modern computing platforms where fast (but possible approximate) square root computation is provided by the hardware.
It seems to me that it may also be useful for $\arctan$ computations in arbitrary-precision computation, and I would like to explore this further. However, this is hampered by the lack of an efficient way to compute the coefficients used in this sequence acceleration scheme. Is there a closed-form formula or a recursion formula for rapidly computing these coefficients? From the data so far, the coefficients appear to be following a pattern, so I suspect such methods could exist.
Because I suspected, for a number of reasons, the involvement of the British mathematician Peter Wynn in the creation of the $\arctan$ algorithm for the Electrologica X1, I first looked into Wynn's $\epsilon$-algorithm. While it provides convergence acceleration, the acceleration is not nearly as pronounced as with the simple weighted sum. I also looked at Wynn's research notes and unpublished manuscripts, but found nothing relevant.
I looked at publications on Borchardt's algorithm and related iteration schemes, both those without [1]-[4] and those with [5]-[11] an acceleration methods, but did not find anything that matched closely. I tried the Romberg method, and while it provides acceleration, it does so much less than the weighted sum method. The closest match is Carlson's extrapolation scheme [9], which, however, works with the terms $a_{i}$ rather than the $b$ sequence and also does not provide the same amount of acceleration. I also studied publications specifically on convergence acceleration and extrapolation methods [12]-[16] but could not find anything applicable to the problem at hand. I am not a mathematician and have not worked with convergence acceleration or extrapolation methods before, so it is entirely possible that I overlooked some useful connection to the material in these publications.
I used the inverse symbolic calculator to determine whether the coefficients I found numerically are near any "interesting" values, which does not seem to be the case. The coefficients used in the Electrologica X1 for $n=4$ are all fractions with a denominator of $1479104550$; that did not provide a clue either. I also rationalized the coefficients I found numerically into various fractions and looked for numerator and denominator sequences in the OEIS without success.
In terms of further brainstorming, I have considered equating series expansions for the $b$ and $s$ sequences and possible connections to Padé approximants or Chebyshev expansions, but I do not have the mathematical wherewithal to effectively follow through on those ideas.
[1] Bille Chandler Carlson, "Algorithms involving arithmetic and geometric means." The American Mathematical Monthly, Vol. 78, No. 5, 1971, pp. 496-505
[2] Francesco Giacomo Tricomi, "Sugli algoritmi iterativi nell'analisi numerica." In Metodi valutativi nella fisica-mathematica, Rome, December 15-19, 1972 (Quaderno N. 217, Accademia Nationale dei Lincei 1975), pp. 105-117
[3] John Todd, "The algorithms of Gauss, Borchardt, and Carlson." In John Todd, Basic Numerical Mathematics, Vol. 1: Numerical Analysis, Basel: Birkhäuser 1979, pp. 13-23
[4] Isaac Jacob Schoenberg, "On the arithmetic-geometric mean and similar iterative algorithms." In Isaac Jacob Schoenberg, Mathematical Time Exposures, Mathematical Association of America 1982, pp. 149-167
[5] R. M. Milne, "Extension of Huygens' approximation to a circular arc." The Mathematical Gazette, Vol. 2, No. 40, Jul. 1903, pp. 309-311
[6] Karl Kommerell, "Der Begriff des Grenzwertes in der Elementarmathematik." In Karl Kommerell, Das Grenzgebiet der elementaren und höheren Mathematik, Leipzig: Koehler Verlag 1936, pp. 1-102
[7] Heinz Rutishauser, "Ausdehnung des Rombergschen Prinzips." Numerische Mathematik, Vol. 5, 1963, pp. 48-54
[8] Siegfried Filippi, "Die Berechnung einiger elementarer transzendenter Funktionen mit Hilfe des Richardson-Algorithmus." Computing, Vol. 1, 1966, pp. 127-132
[9] Bille Chandler Carlson, "An algorithm for computing logarithms and arctangents." Mathematics of Computation, Vol. 26, No. 118, Apr. 1972, pp. 543-549
[10] G. M. Phillips, "Archimedes the Numerical Analyst." The American Mathematical Monthly, Vol. 88, No. 3, Mar. 1981, pp. 165-169
[11] George M. Phillips, "Archimedes and the complex plane." The American Mathematical Monthly, Vol. 91, No. 2, Feb. 1984, pp. 108-114
[12] Hermann Engels, "Zur Geschichte der Richardson-Extrapolation." Historia Mathematica, Vol. 6, 1979, pp. 280-293
[13] Jacques Dutka, "Richardson extrapolation and Romberg integration." *Historia Mathematica, Vol. 11, 1984, pp. 3-21
[14] Guido Walz, "The History of Extrapolation Methods in Numerical Analysis." Report No. 130, University of Mannheim, Oct. 1991, 11 pp.
[15] Claude Brezinski, "Convergence acceleration during the 20th century." Journal of Computational and Applied Mathematics, Vol. 122, No. 1-2, 2000, pp. 1-21
[16] Avram Sidi, Practical Extrapolation Method. Cambridge University Press 2003