Abstract
In our earlier publication we have shown how to compute by iteration a rational number in the two-term Machin-like formula for of the kind where can be chosen as an integer with nested radicals defined as and . In this work, we report an alternative method for determination of the integer . This approach is based on a simple iteration and does not require any irrational (surd) numbers from the set in computation of the integer . Mathematica programs validating these results are presented.
Keywords:
constant π; Machin-like formula; Lehmer’s measure; surd number; Ramanujan’s nested radical MSC:
11Y60
1. Introduction
Historically, a computation of decimal digits of was a big challenge until 1706, when the English astronomer and mathematician John Machin discovered a two-term formula for as given by
that is named in his honor now. Using this remarkable formula he first was able to calculate 100 decimal digits of [1,2,3]. Nowadays the identities of kind
where and are rational numbers, are regarded as the Machin-like formulas for . Interestingly that some of them, including the original Equation (1), can be proved geometrically [4,5]. It is very often when in the Machin-like formulas for the constants and are both integers [6,7,8]. The more complete lists of formulas of kind (2) can be found in the references [9,10] and weblinks provided therein.
The significance of the Machin-like formulas cannot be overestimated as their application may be one of the most efficient ways in computing . Historically, only these formulas were able to compete with Chudnovsky formula [2,11] to beat the records in computation of the decimal digits of . In particular, in 2002, Kanada first computed more than one trillion digits of by using the following self-checking pair of the Machin-like formulas [12]
and
Such an achievement made by Kanada shows a colossal potential of the Machin-like formulas for computation of the decimal digits of .
As a simplest case one can apply the Maclaurin expansion series for computation of the arctangent functions in Equation (2)
and since this equation implies
we can conclude that it would be very desirable to have the coefficient as large as possible by absolute value in order to improve the convergence rate.
Although the Maclaurin expansion series of the arctangent function can be simply implemented, its application is not optimal. The more efficient way to compute the arctangent functions in Equation (2) is to use the Euler’s expansion formula [13]
Alternatively, the following expansion series
where
can also be used for more rapid convergence. This formula can be obtained by a trivial rearrangement of the Equation (5) from our work [14] (see also [15]).
In 1938 Lehmer introduced a measure defined as [6,16]
This measure can be used to determine a computational efficiency of a given Machin-like formula for . Specifically, when value of the constant is smaller, then less computational labour is required to compute by a given Machin-like formula. Therefore, it is very desirable to reduce the number of the terms J and to increase by absolute value. The more detailed information about the Lehmer’s measure and its significance for efficient computation of can be found in literature [7].
In our previous publication using de Moivre’s formula we derived the two-term Machin-like formula for [15]
where can be chosen as an integer
such that a set of nested radicals can be computed as starting from .
In the recent publication the researcher(s) from the Wolfram Mathematica [17] demonstrated an example for computation of as a rational fraction. In particular, it was shown that with integer constant the constant can be computed such that the ratio
results in more than 300 correct decimal digits. However, the method of computation shown in [17] is based on Equation (5) that involves the nested radicals consisting of multiple square roots of 2 [18,19,20,21,22,23]. Although Equation (5) helps generate the required integers , it should not be generally used at larger values k since a function based on multiple square roots is not an elementary. Therefore, a simple method based on rational approximation would be preferable. In this work, we develop a new method of computation of the integer that excludes application of the set of nested radicals . This approach is simple and does not require any irrational (surd) numbers in computation.
2. Preliminaries
Suppose that
The simplest case when . However, there may be infinitely many identities of kind (6). Let us show the infinitude of this kind of formulas.
Theorem 1.
There are infinitely many numbers α and γ satisfying the relation (6).
Proof.
It is interesting to note that using Equation (7) one can easily prove the well-known Equation (8) for below.
Theorem 2.
We have that
Proof.
The following relation
is a simplest Ramanujan’s nested radical [18,19,20,21,22,23]. Denote X as unknown, then from the relation
it immediately follows that
or
Solving this equation yields two solutions for X that are and 2. Since
all values of are non-negative and monotonically increase with increasing integer k. Therefore, excluding from consideration we end up with a solution
From this limit it immediately follows that
Consequently, the ratio as .
The argument of the arctangent function in Equation (7) tends to zero as the integer k increases. Therefore, in accordance with relation (3) we can write
from which it follows that
or
□
As we can see, this proof of Equation (8) is as easy as the one shown in [18]. We also note that the following limit that we used in the proof
is valid since the identity (7) remains valid at any arbitrarily large positive integer k.
It is also easy to prove the infinitude of the Machin-like formulas (2) for ; substituting into the expansion series [24]
we obtain the following identity [25]
leading to
and so on. Although the identity (9) shows infinitude of the Machin-like formulas for , its number of the terms increases with increasing N. We can also show a simple proof for infinitude of the two-term Machin-like formulas for .
Lemma 1.
For real α and , there are infinitely many two-terms Machin-like formulas for π of kind
Proof.
The Lemma 1 follows directly from the Theorem 1 that implies infinitude of equations of kind (6). In order to show this relation, we assume that and in Equation (6) are both positive numbers and represent as a sum , where is any small number that can be chosen arbitrarily such that . Thus, we can rewrite the Equation (6) in form
From the inequality it follows that . Therefore, we can approximate
By introducing now an error term , we can infer that
Consequently, we have
or
where is defined such that
When and in Equation (10) are known, then the unknown value is given by
The derivation of Equation (12) can be shown from the following identity
Exponentiation on both sides leads to
Solving this with respect to the constant leads to Equation (12).
Theorem 3.
If in Equation (10) the multiplier and is a rational number greater than 1, then is also a rational number.
Proof.
Define and such that
and
Then, it is not difficult to see by induction that
where by the following two-step iteration we have
Consequently, Equation (12) can be rewritten in form
Applying the de Moivre’s formula we can separate the complex number into real and imaginary parts in polar form as
Substituting this expression into the Equation (15) after some trivial rearrangement we get
Since , then
and, therefore, the principal value argument can be replaced by the arctangent function as follows
Consequently, we can write
As we can see from this equation, the constant . This signifies that the imaginary part of Equation (15) must be equal to zero. Therefore, from Equation (15) we get
The values and are rational since, according to two-step iteration (14) all values and at any intermediate steps of iterations are rational. Therefore, the constant must be a rational number. □
Consider two examples. Choosing and and substituting these two values into Equation (12) we can find that
The following Mathematica code:
returns True. Choosing now, for example, and and substituting these two values into Equation (12) again, we can get a negative value
| \[Alpha]=16; \[Beta]1=509/25; \[Beta]2=114322283895863787286174872158832679853761/ 19955894848381168459034791030978450561; |
| Pi/4==16*ArcTan[1/\[Beta]1]+ArcTan[1/\[Beta]2] |
The following Mathematica code:
also validates the two-term Machin-like formula for
by returning True. The different signs in follow from the chosen integer at . When we take
then the value of . However, if , then and vice versa if , then . The examples above correspond to the following inequality
| \[Alpha]=16; \[Beta]1=407/20; \[Beta]2=-817344423776293722798294452010774302554561/ 172199208235943812365929049219262848959; |
| Pi/4==16*ArcTan[1/\[Beta]1]+ArcTan[1/\[Beta]2] |
Chien-Lih proposed a method showing how to reduce the Lehmer’s measure by using the Euler’s-type identity in an iteration for generating the two-term Machin-like formulas for . However, our method of generating the two-term Machin-like formula for based on the two-step iteration (14) is much easier than the method proposed by Chien-Lih in the work [26].
3. Derivation
In general, the constant may be either rational or irrational number. However, it is more convenient to apply notation that is defined by Equation (5) instead of . Such a notation is to emphasize that the constant is an integer dependent upon on k. Thus, with this notation the two-term Machin-like formula for can be represented as
where in accordance with Equation (12) we have now
It is interesting to note that by taking , we get
Substituting into Equation (17) we obtain Considering that and substituting these two constants into Equation (10) we derive an original Machin-like Formula (1) for .
Since the value rapidly increases with increasing k, application of the Equation (18) if not effective to compute the second constant . However, the two-step iteration (14) perfectly resolves this issue. Specifically, implying that the initial values for the two-step iteration (14) are
and
we can find the second constant as
We can derive again the original Machin-like Formula (1) for by using the two-step iteration (14) at . This leads to the following
Finally, using Equation (19) we can find the second constant to be
It should be noted that the second constant is an integer only at and . At it is not an integer but a rational number.
The next example is . The first constant is an integer given by
The second constant is a rational number that can be computed either by Equation (18) or, more efficiently, by two-step iteration (14)
The following Mathematica code validates the two-term Machin-like formula for at :
by returning True.
| k=6; \[Beta]1=40; \[Beta]2=-2634699316100146880926635665506082395762836079845121/ 38035138859000075702655846657186322249216830232319; |
| Pi/4==2^(k-1)*ArcTan[1/\[Beta]1]+ArcTan[1/\[Beta]2] |
Alternatively, the second constant can also be found by using the following identity in trigonometric form
that follows from Equation (16). It should be noted that the constant must be a rational number as it has been shown by Theorem 3.
We can see that from Equation (5) it follows that
Consequently, the following ratio can be simplified as given by
Replacing the arguments of the sine and cosine functions in Equation (20), we can approximate the two-term Machin-like Formula (17) for as
Using the identities for the double angle
after some trivial rearrangements we obtain
Recently, it has been noticed in publication [17] that the ratio approximates reasonably well when integer . The following theorem shows why accuracy of this ratio improves with increasing k.
Theorem 4.
There is a limit
Proof.
By definition of the floor function we have
where by definition the fractional part cannot be smaller than zero and greater than or equal to unity
Therefore, we can write
Since the fractional part cannot be smaller than 0 and greater than 1 we can conclude that
Consequently, we can infer that
From Theorem 2 we know that
Lemma 2.
There is a limit such that
Proof.
We know that the limit
is valid since the identity (17) remains valid at any arbitrarily large integer k. We also know that from the Theorem 4 and relation (3) it follows that
This signifies that
However, according to relation (3) this equation can be simplified as
and the proof follows. □
We note that both arguments of the arctangent function tend to zero with increasing k. Therefore, referring to the relation (3) again we can simplify the approximation above as
Using the Theorem 4 it follows that at
Consequently, the value
with increasing k. This leads to
Comparing Equations (17) and (21) one can see that
and due to relation (23) this approximation can be further simplified to
Although this equation only approximates the second constant , its accuracy, nevertheless, improves with increasing k. Perhaps, the approximation (25) can also be used at larger values of the integer k as an alternative to the exact Formula (19) based on the two-step iteration (14).
We can see consistency of the approximations (23) and (25) with Theorem 4 and Lemma 2. In particular, when k tends to infinity the constants and also tend to infinity. Therefore, in order to enhance a convergence rate, it is important to obtain the integer in the two-term Machin-like Formula (17) for as large as possible. Once the value of the first constant is determined, the second constant can be computed by using Equation (19) based on two-step iteration Formula (14). For example, at the value = 85,445,659. The corresponding Lehmer’s measure is only. Such a small Lehmer’s measure implies a rapid convergence rate. In particular, we can observe 16 correct decimal digits of per term increment. This can be confirmed by running a Mathematica program provided in [27].
At Equation (19) yields a rational number consisting of 522,185,807 digits in numerator and 522,185,816 digits in denominator. Such a quotient with huge numbers in numerator and denominator is not unusual and can also be observed in Borwein integrals. Specifically, Bäsel and Baillie in their work [28] showed that a formula for can be generated with a quotient consisting of 453,130,145 and 453,237,170 digits in its numerator and denominator, respectively. The interested readers can download the exact number with all digits from [29].
4. Implementation
At first glance, the approximation (24) does not look interesting as its both sides contain the constant and it is unclear how to represent it in explicit form. However, sample computations we performed with this approximation show that it can be implemented effectively. In particular, we noticed that application of approximation (24) in iteration provides a result that tends to be more accurate with increasing the integer k.
Consider for example . In this case we have that
With initial guess for , say 1000, after just 5 iterations (self-substitutions) we obtain
This can be seen by running the following Mathematica command lines that show the results of computation based on this iteration:
| k=10; a[1]=Sqrt[2]; a[n_]:=a[n]=Sqrt[2+a[n-1]]; Print["Exact value: ",Floor[a[10]/Sqrt[2-a[9]]]]; |
| u2k:=1000; itr=1; Print["Initial guess value: ",u2k]; |
| Print["--------------------------"]; Print["Iteration ","Approximation"]; Print["-------------- -----------"]; While[itr<=5,u2k=1/(1/u2k+1/2^k (1-Tan[2^(k-1)/u2k])); Print[itr," ",u2k//N];itr++]; |
The Mathematica generates the following output:
Exact value: 651
Initial guess value: 1000
--------------------------
Iteration Approximation
--------------------------
1 700.404
2 654.196
3 651.905
4 651.899
5 651.899
We have ceased the iterative process after 5-th cycle since two successive numbers coincide with each other at fourth and fifth iterations with same output .
Application of the Equation (24) is convenient since for each consecutive increment of the integer k the following inequality remains valid
This inequality follows from the property of the floor function that is used in Equation (5); the constant should be either equal to or larger it by unity (see [17] for some examples). Thus, based on Equation (24) and inequality (26) we can make the following assumption
The computational tests we performed shows that this formula provides correct results for a large range of the integer . However, its general applicability for any arbitrarily large k yet to be proved.
There are different methods to approximate the tangent function in Equation (27). One of the ways is to truncate the following expansion series
where are the Bernoulli numbers, defined by a contour integral
Although this series expansion is rapid in convergence, its application may not be optimal since it requires the determination of the Bernoulli numbers. One of the ways to compute them is given by the following identity
We can see that this formula involves the double summation and, therefore, cannot be rapid in principle especially at larger orders of n. Although other methods of computation of the Bernoulli numbers are more efficient, their implementations require quite sophisticated algorithms [30,31,32].
Alternatively, the tangent function may also be computed by using continued fractions [33,34,35]. However, algorithmic implementation of the continued fractions may not be optimal for our particular task.
This problem can be resolved by noticing that at each consecutive step of iteration the integer increases, and because of this the argument of the tangent function decreases. Consequently, it may be reasonable to utilize argument reduction method for computation of the tangent function [36]. As a simplest case we can use, for example, the double angle identity providing argument reduction by a factor of two
Therefore, taking into account that in accordance with (28) at , we can approximate the double angle identity above as
This approximation implies that the arctangent function can be calculated in a simple iteration over and over again by defining the following function
where
Tangent function can be computed more accurately by defining
since according to expansion series (28) we can also infer that .
The following Mathematica command lines execute the program for computation of the integer constant by using Equations (27) and (29):
| (* Clear previous value *) Clear[\[Beta]1]; (* Set of nested radicals *) a[0]=0;a[k_]:=a[k]=Sqrt[2+a[k-1]]; |
| (* Equation (5) *) \[Beta]1[k_]:=\[Beta]1[k]=Floor[a[k]/Sqrt[2-a[k-1]]]; |
| (* Applying Equation (29) in iteration *) f[x_,1]:=f[x,1]=SetPrecision[(2*x)/(1-x^2),k]; f[x_,n_]:=f[x,n]=(2*f[x,n-1])/(1-f[x,n-1]^2); |
| (*Main computation*) func[u1_,k_]:=func[u1,k]=1/(1/u1+1/2^k*(1-f[1/u1,k-1])); |
| k=2; (* iteger k *) fstConst=2; (* first constant *) kMax=30; (* max number for iteration *) str={{"Integer k"," | ","Equation (5)"," | ","Equation (27)"}}; (* string *) |
| While[k<=kMax,AppendTo[str,{k," | ",\[Beta]1[k]," | ",fstConst}]; fstConst=Floor[func[2*fstConst,k+1]];k++]; Print[TableForm[str]]; |
The Mathematica generates the following table:
| Integer k | | | Equation (5) | | | Equation (27) |
| 2 | | | 2 | | | 2 |
| 3 | | | 5 | | | 5 |
| 4 | | | 10 | | | 10 |
| 5 | | | 20 | | | 20 |
| 6 | | | 40 | | | 40 |
| 7 | | | 81 | | | 81 |
| 8 | | | 162 | | | 162 |
| 9 | | | 325 | | | 325 |
| 10 | | | 651 | | | 651 |
| 11 | | | 1303 | | | 1303 |
| 12 | | | 2607 | | | 2607 |
| 13 | | | 5215 | | | 5215 |
| 14 | | | 10430 | | | 10430 |
| 15 | | | 20860 | | | 20860 |
| 16 | | | 41721 | | | 41721 |
| 17 | | | 83443 | | | 83443 |
| 18 | | | 166886 | | | 166886 |
| 19 | | | 333772 | | | 333772 |
| 20 | | | 667544 | | | 667544 |
| 21 | | | 1335088 | | | 1335088 |
| 22 | | | 2670176 | | | 2670176 |
| 23 | | | 5340353 | | | 5340353 |
| 24 | | | 10680707 | | | 10680707 |
| 25 | | | 21361414 | | | 21361414 |
| 26 | | | 42722829 | | | 42722829 |
| 27 | | | 85445659 | | | 85445659 |
| 28 | | | 170891318 | | | 170891318 |
| 29 | | | 341782637 | | | 341782637 |
| 30 | | | 683565275 | | | 683565275 |
Thus, we can see the feasibility of computation of the constant without any irrational (surd) numbers. Just by applying only arithmetic manipulations (summations, multiplications and divisions) we can compute the integer by iteration based on Equation (27).
5. Quadratic Convergence to
There is another interesting application of Equation (24). In particular, we found experimentally that the following formula defined by iteration
leads to a quadratic convergence to the constant such that (by assumption)
The quadratic convergence to can be observed by running the command lines:
| Clear[k,\[Theta]] |
| k=7;(* assign value of k *) \[Theta]=2^k;(* initial guess *) str={{"Iteration No."," | ","Computed digits of \[Pi]"}};(* string *) |
| If[k>17,Print["Please wait. Computing..."]]; |
| (* Equation (30) used in iteration *) For[n=1,If[k<15,n<=15,n<=k],n++,\[Theta]=SetPrecision[1/(1/\[Theta]+ 1/2^k*(1-Tan[2^(k-1)/\[Theta]])),2^(n+1)];AppendTo[str, {n," | ",MantissaExponent[Pi-2^(k+1)/\[Theta]][[2]]//Abs}]]; |
| Print[str//TableForm]; |
The output of Mathematica is the following table:
| Iteration No. | | | Computed digits of π |
| 1 | | | 0 |
| 2 | | | 1 |
| 3 | | | 4 |
| 4 | | | 9 |
| 5 | | | 19 |
| 6 | | | 39 |
| 7 | | | 79 |
| 8 | | | 159 |
| 9 | | | 319 |
| 10 | | | 639 |
| 11 | | | 1278 |
| 12 | | | 2558 |
| 13 | | | 5116 |
| 14 | | | 10233 |
| 15 | | | 20468 |
As we can see from this table, after third iteration the number of correct digits of increases by factor of two at each consecutive step of iteration.
More explicitly, the dynamics of computation of can be seen by running the following Mathematica code:
| Clear[k,\[Theta]] |
| k=7;(*assign value of k*) \[Theta][0]:=2^k;(*initial guess*) |
| (* Iteration formula (30) *) \[Theta][n_]:=1/(1/\[Theta][n-1]+1/2^k*(1-Tan[2^(k-1)/\[Theta][n-1]])); |
| (* Approximated value of \[Pi] *) piAppr[n_]:=2^(k+1)/\[Theta][n]; |
| Print["Iteration 1"]; Print[N[piAppr[1],25],"..."]; |
| Print["Iteration 2"]; Print[N[piAppr[2],25],"..."]; |
| Print["Iteration 3"]; Print[N[piAppr[3],25],"..."]; |
| Print["Iteration 4"]; Print[N[piAppr[4],25],"..."]; |
| Print["Iteration 5"]; Print[N[piAppr[5],25],"..."]; |
| Print["------------------"]; Print["Actual value of \[Pi]"]; Print[N[Pi,25],"..."]; |
Mathematica returns the following output:
Iteration 1
2.907395020312418973489641...
Iteration 2
3.128878092399718501843067...
Iteration 3
3.141552409181815125317050...
Iteration 4
3.141592653184895576712223...
Iteration 5
3.141592653589793238421658...
Actual value of
3.141592653589793238462643...
As we can see, the first five iterations provide 0, 1, 4, 9 and 19 correct decimal digits of , respectively. The actual value of , generated by Mathematica built-in function, is also shown for comparison.
The quadratic convergence to can be implemented by using the Brent–Salamin algorithm [37,38,39,40] (It is also known as the Gauss–Brent–Salamin algorithm). However, in contrast to the Brent–Salamin algorithm the proposed iteration Formula (30) provides quadratic convergence to without any irrational (surd) numbers.
6. Conclusions
In this work we propose a method for determination of the integer . In particular, the algorithmic implementation of the Formula (27) shows that it can be used as an alternative to Equation (5) requiring a set of the nested radicals defined as and . This method is based on a simple iteration and can be implemented without any irrational (surd) numbers.
Author Contributions
S.M.A. performed data analysis and wrote the manuscript. R.K.J., R.S. and B.M.Q. performed data analysis. All authors have read and agreed to the published version of the manuscript.
Funding
This research received no external funding.
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable.
Data Availability Statement
Not applicable.
Acknowledgments
This work is supported by National Research Council Canada, Thoth Technology Inc., York University and Epic College of Technology.
Conflicts of Interest
The authors declare no conflict of interest.
References
- Beckmann, P. A History of pi; Golem Press: Boulder, CO, USA, 1971. [Google Scholar]
- Berggren, L.; Borwein, J.; Borwein, P. Pi: A Source Book, 3rd ed.; Springer: New York, NY, USA, 2004. [Google Scholar]
- Borwein, J.; Bailey, D. Mathematics by Experiment. Plausible Reasoning in the 21st Century, 2nd ed.; Taylor & Francis Group: Boca Raton, FL, USA, 2008. [Google Scholar]
- Nelsen, R.B. A geometric proof of Machin’s formula. Math. Mag. 1990, 63, 336–337. [Google Scholar] [CrossRef]
- Popescu, S.A.; Peled, A. New Geometrical Derivations of Machin Type Equation. Gen. Sci. J. 2021. Available online: https://www.gsjournal.net/Science-Journals/ResearchPapers-Mathematics andAppliedMathematics/Download/8842 (accessed on 18 July 2021).
- Lehmer, D.H. On arccotangent relations for π. Amer. Math. Mon. 1938, 45, 657–664. [Google Scholar] [CrossRef]
- Wetherfield, M. The enhancement of Machin’s formula by Todd’s process. Math. Gazette 1996, 80, 333–344. [Google Scholar] [CrossRef]
- Chien-Lih, H. More Machin-type identities. Math. Gaz. 1997, 81, 120–121. [Google Scholar] [CrossRef]
- Identity Lists—Classification, Layout and Links. Available online: www.machination.eclipse.co.uk/IdLists.html (accessed on 18 July 2021).
- Arctan Relations for Pi. Available online: www.jjj.de/arctan/arctanpage.html (accessed on 18 July 2021).
- Agarwal, R.P.; Agarwal, H.; Sen, K.S. Birth, growth and computation of pi to ten trillion digits. Adv. Differ. Equ. 2013, 100. [Google Scholar] [CrossRef]
- Calcut, J.S. Gaussian integers and arctangent identities for π. Amer. Math. Mon. 2009, 116, 515–530. [Google Scholar] [CrossRef]
- Chien-Lih, H. An elementary derivation of Euler’s series for the arctangent function. Math. Gaz. 2005, 89, 469–470. [Google Scholar] [CrossRef]
- Abrarov, S.M.; Quine, B.M. A formula for pi involving nested radicals. Ramanujan J. 2018, 46, 657–665. [Google Scholar] [CrossRef]
- Abrarov, S.M.; Quine, B.M. An iteration procedure for a two-term Machin-like formula for pi with small Lehmer’s measure. arXiv 2017, arXiv:1706.08835. [Google Scholar]
- Tweddle, I. John Machin and Robert Simson on inverse-tangent series for π. Arch. Hist. Exact Sci. 1991, 42, 1–14. [Google Scholar] [CrossRef]
- Wolfram Cloud. A Wolfram Notebook Playing with Machin-like Formulas. Available online: https://develop.open.wolframcloud.com/objects/exploration/MachinLike.nb (accessed on 18 July 2021).
- Herschfeld, A. On infinite radicals. Amer. Math. Mon. 1935, 42, 419–429. [Google Scholar] [CrossRef]
- Borwein, J.M.; de Barra, G. Nested radicals. Amer. Math. Mon. 1991, 98, 735–739. [Google Scholar] [CrossRef]
- Servi, L.D. Nested square roots of 2. Amer. Math. Mon. 2003, 110, 326–330. [Google Scholar] [CrossRef]
- Levin, A. A new class of infinite products generalizing Viète’s product formula for π. Ramanujan J. 2005, 10, 305–324. [Google Scholar] [CrossRef]
- Rao, K.S.; Berghe, G.V. On an entry of Ramanujan in his Notebooks: A nested roots expansion. J. Comput. Appl. Math. 2005, 173, 371–378. [Google Scholar] [CrossRef][Green Version]
- Kreminski, R. π to thousands of digits from Vieta’s formula. Math. Mag. 2008, 81, 201–207. [Google Scholar] [CrossRef]
- Abrarov, S.M.; Siddiqui, R.; Jagpal, R.K.; Quine, B.M. Unconditional applicability of Lehmer’s measure to the two-term Machin-like formula for π. Math. J. 2021. [Google Scholar] [CrossRef]
- OEIS. Numerators in a Set of Expansions of the Single-Term Machin-like Formula for Pi. Available online: https://oeis.org/A338878 (accessed on 18 July 2021).
- Chien-Lih, H. Some observations on the method of arctangents for the calculation of π. Math. Gaz. 2004, 88, 270–278. [Google Scholar] [CrossRef]
- Abrarov, S.M.; Quine, B.M. Efficient computation of pi by the Newton–Raphson iteration and a two-term Machin-like formula. Int. J. Math. Comput. Sci. 2018, 13, 157–169. Available online: http://ijmcs.future-in-tech.net/13.2/R-Abrarov.pdf (accessed on 18 July 2021).
- Bäsel, U.; Baillie, R. Sinc integrals and tiny numbers. Elem. Math. 2016, 71, 7–20. [Google Scholar] [CrossRef]
- Abrarov, S.M.; Quine, B.M. The Rational Number u2 for the two-term Machin-like formula for pi computed by iteration. Available online: http://hdl.handle.net/10315/33173 (accessed on 18 July 2021).
- Knuth, D.E.; Buckholtz, T.J. Computation of tangent, Euler, and Bernoulli numbers. Math. Comp. 1967, 21, 663–688. [Google Scholar] [CrossRef]
- Koepf, W. Power series in computer algebra. J. Symb. Comput. 1992, 13, 581–603. [Google Scholar] [CrossRef][Green Version]
- Harvey, D. A multimodular algorithm for computing Bernoulli numbers. Math. Comp. 2010, 79, 2361–2370. [Google Scholar] [CrossRef]
- Trott, M. Wolfram Demonstrations Project. Available online: https://demonstrations.wolfram.com/ContinuedFractionApproximationsOfTheTangentFunction/ (accessed on 18 July 2021).
- Havil, J. The Irrationals: A Story of the Numbers You Can’t Count On; Princeton University Press: Princeton, NJ, USA, 2012. [Google Scholar]
- Oliver, K.; Prodinger, H. The continued fraction expansion of Gauss’ hypergeometric function and a new application to the tangent function. Trans. R. Soc. S. Afr. 2012, 67, 151–154. [Google Scholar] [CrossRef]
- Beebe, N.H.F. The Mathematical-Function Computation Handbook; Springer International Publishing AG: New York, NY, USA, 2017. [Google Scholar]
- Brent, R.P. Fast multiple-precision evaluation of elementary functions. J. ACM 1976, 23, 242–251. [Google Scholar] [CrossRef]
- Salamin, E. Computation of π using arithmetic-geometric mean. Math. Comput. 1976, 30, 565–570. [Google Scholar] [CrossRef]
- Newman, D.J. A simplified version of the fast algorithms of Brent and Salamin. Math. Comput. 1985, 44, 207–210. [Google Scholar] [CrossRef]
- Lord, N.J. Recent calculations of π: The Gauss-Salamin algorithm. Math. Gaz. 1992, 76, 231–242. [Google Scholar] [CrossRef]
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2021 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).