Find a Formula for Pi
Find a Formula for Pi
A Gregory number is a number =arccot(x), where is an integer or rational number. Expanding, =-+-…. With , we get Leibniz's formula for , which converges too slowly. The larger is, the better the approximation.
t
x
x
t
x
1
x
1
3
3
x
1
5
5
x
x=1
π/4=1-+-…
1
3
1
5
x
Euler found the formulas =2+ and =5+2-2 and others. Machin calculated to 100 decimals using =4-.
t
1
t
3
t
7
t
1
t
7
t
18
t
57
π
t
1
t
5
t
239
Størmer's numbers are the positive whole numbers for which the largest prime factor of +1 is at least . Størmer showed that every Gregory number can be expressed uniquely as integer linear combinations of Gregory numbers with Störmer number indices.
{1,2,4,5,6,9,10,11,12,…}
n
2
n
2n
t
m
Størmer found =12+8-5, and we found =16+4+8+4-+4-4. To find Størmer's formula, use =--, =-2+3+, =--4, and eliminate and .
t
1
t
8
t
57
t
239
t
1
t
37
t
44
t
119
t
179
t
239
t
254
t
882
t
8
t
1
t
2
t
5
t
57
t
1
t
2
t
5
t
239
t
1
t
5
t
2
t
5
The Demonstration finds formulas for where the terms on the right have indices as large as possible. Gregory numbers are calculated for integers that are not Størmer numbers and formulas are selected according to the term of minimal index on the right side that is a Størmer number.
t
1
t
n
n
{3,7,8,13,17,…}
First, choose a formula with minimal index 1. Select the formula as the first equation. Pick out the next smallest index, say , choose a formula in which is minimal, and add that formula as a new equation; the Demonstration solves the system for , eliminating the term with the index . Now continue with the new smallest index on the right.
m
m
t
1
m