一个快速收敛的类 Machin 公式用于计算 $\pi$
A Rapidly Converging Machin-like Formula for $π$
AI总结:
本文提出一种快速收敛的类 Machin 公式,通过递推生成有限分解,使 Lehmer 度量任意小,并给出 Python 实现。
摘要:
我们提出了一个简单的递推公式,用于生成计算 $\pi/4$ 的类 Machin 表达式。该方法适用于起始项中的任何分母,并且总能提供有限分解。我们证明了类 Machin 公式中的项衰减得非常快,以至于仅通过选择第一项就可以使 Lehmer 度量任意小。我们引入了部分类 Machin 公式的概念。虽然整数的增长可能很快使计算机实现变得不切实际,但同样的原因限制了高次项的总贡献。如果预先知道所需精度,可以选择表达式的子集来满足该精度。我们还提供了 Python 程序来计算类 Machin 公式(完整和部分)的项及其 Lehmer 度量。
英文摘要:
We present a simple recurrent formula to generate the Machin-like expression for calculating $π/4$. The method works for any denominator in the starting term and always provides a finite decomposition. We show that the terms in the Machin-like formula decrease so rapidly that the Lehmer's measure can be made arbitrarily small only by selecting the first term. We introduce the concept of the partial Machin-like formula. While the growth of the integer numbers may quickly render the computer implementation impractical, the same reason restricts the total contribution of the high terms. If the required precision is known in advance, the subset of the expression may be selected to satisfy it. We also present the Python program to compute the terms of the Machin-like formula (full and partial), and its Lehmer's measure.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。