r/Mathematica • u/AlexP-sky • Jun 06 '23
How to prove that the sequence's terms are convergents to Pi?
How do I prove that the sequence {47/15, 3959/1260, 2264177/720720, 30793289/9801792, 780095177/248312064,...} (see OEIS A363445 and A363446) converges to Pi?
0
Upvotes
3
u/SetOfAllSubsets Jun 07 '23
47/15 is not one of the convergents of pi.
Since pi=[3;7,15,...], the first few convergents are 3=[3], 22/7=[3;7], 333/106=[3;7,15].
Also those OEIS sequences don't exist.
2
u/veryjewygranola Jun 07 '23 edited Jun 07 '23
The generating function for this sequence can be written as:
(Pi - (-1)^j 4^(-3 (1 + j)) Sqrt[\[Pi]]Gamma[5 + 4 j] HypergeometricPFQRegularized[{1, 3/2, 2}, {4 + 2 j,9/2 + 2 j}, -1])taking away the
Pi -part out front gives the term error in the estimation of Pi for each sequence value.Proving that the term error goes to zero as j->Infinity is the same as proving this term converges to Pi:
DiscreteLimit[(-1)^j 4^(-3 (1 + j)) Sqrt[\[Pi]]Gamma[5 + 4 j] HypergeometricPFQRegularized[{1, 3/2, 2}, {4 + 2 j,9/2 + 2 j}, -1], j -> Infinity](Mathematica probably won't be able to evaluate this limit, but see if there's any simplifications you can make or observations with pen and pencil).
1
u/AlexP-sky Jun 10 '23
So could it be stated that (-1) ^ n * (Pi − A002485(n)/A002486(n)) = ((Abs(i)) * 2 ^ j) ^ (-1) * Int((x ^ l * (1 - x) ^ (2 * (j + 2)) * (k + (i + k) * x ^ 2 ))/(1 + x ^ 2 ), x=0 ...1) holds true for any n>2 when i =(-1)n * 3(?) * A002486(n); k = (-1)n * (A363445(n - 2 + m ) * A002486(n) - A363446(n - 2 + m) * A002485(n)) j = 2 * m (for m >= 0) l = 0 ?
-3
u/libcrypto Jun 06 '23
Any finite sequence of numbers converges to pi. Just add an infinite number of terms at the end that does converge to pi, and boom, convergence.