Post Reply 
Yet another π formula
11-26-2024, 01:32 AM (This post was last modified: 11-26-2024 11:54 AM by Albert Chan.)
Post: #25
RE: Yet another π formula
From previous post, if we ignore S correction, with goal of c1 * c2 = pi, we get this.

\(\displaystyle \frac{\pi}{2} = \sum _{k=0}^∞ \frac {k!}{(2k+1)!!}\)

Formula approximately doubled its accuracy after each sum.
This explained why previous post, with N=40, c1*c2 get about 40 bits accuracy of pi.



To speed up convergence, we can "double" the last term.

pi/2 = 1 + 1/3 + 2/15 + 6/105 + 24/945 + ...
       = (2-1) + (2/3-1/3) + (4/15-2/15) + (12/105-6/105) + (48/945-24/945) + ...
       = 2 - (1-2/3) - (1/3-4/15) - (2/15-12/105) - (6/105-48/945) - ...

k!/(2k+1)!! - 2*(k+1)!/(2k+3)!! = k!/(2k+3)!!

Again, we have a pattern here
Code:
pi/2 = 0 + sum(k!/(2k+1)!!, k=0..inf)
pi/2 = 2 - sum(k!/(2k+3)!!, k=0..inf)             -- 0 + 2/1 = 2
pi/2 = 4/3 + 3!! * sum(k!/(2k+5)!!, k=0..inf)     -- 2 - 2/3 = 4/3
pi/2 = 26/15 - 5!! * sum(k!/(2k+7)!!, k=0..inf)   -- 4/3 + 2/5 = 26/15
pi/2 = 152/105 + 7!! * sum(k!/(2k+9)!!, k=0..inf) -- 26/15 - 2/7 = 152/105
...

Ignore the sum part, we goes full circle Big Grin

pi/2 = 2/1 - 2/3 + 2/5 - 2/7 + ... = 2 * atan(1)
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Yet another π formula - Gerson W. Barbosa - 01-04-2021, 08:41 PM
RE: Yet another π formula - Albert Chan - 01-05-2021, 10:50 PM
RE: Yet another π formula - Albert Chan - 01-06-2021, 01:32 AM
RE: Yet another π formula - Albert Chan - 01-07-2021, 09:56 PM
RE: Yet another π formula - Albert Chan - 11-25-2024, 10:01 PM
RE: Yet another π formula - Albert Chan - 11-26-2024 01:32 AM
RE: Yet another π formula - toml_12953 - 01-06-2021, 02:10 AM
RE: Yet another π formula - ttw - 01-06-2021, 03:44 AM
RE: Yet another π formula - Albert Chan - 01-09-2021, 09:22 PM
RE: Yet another π formula - Albert Chan - 11-06-2021, 06:28 PM
RE: Yet another π formula - Thomas Klemm - 11-24-2024, 01:59 PM
RE: Yet another π formula - Albert Chan - 11-25-2024, 01:47 PM
RE: Yet another π formula - Albert Chan - 11-26-2024, 01:28 PM
RE: Yet another π formula - Ren - 11-25-2024, 01:08 AM
RE: Yet another π formula - Thomas Klemm - 11-25-2024, 06:47 PM
RE: Yet another π formula - EdS2 - 11-26-2024, 02:09 PM
RE: Yet another π formula - Albert Chan - 11-26-2024, 05:57 PM
RE: Yet another π formula - AnnoyedOne - 11-26-2024, 02:19 PM
RE: Yet another π formula - C.Ret - 11-26-2024, 03:42 PM
RE: Yet another π formula - AnnoyedOne - 11-26-2024, 05:37 PM
RE: Yet another π formula - EdS2 - 11-27-2024, 09:14 AM



User(s) browsing this thread: 3 Guest(s)