In mathematics, a Gregory number, named after James Gregory, is a real number of the form:[1]
Gx=
infty | |
\sum | |
i=0 |
(-1)i
1 | |
(2i+1)x2i |
where x is any rational number greater or equal to 1. Considering the power series expansion for arctangent, we have
Gx=\arctan
1 | |
x |
.
Setting x = 1 gives the well-known Leibniz formula for pi. Thus, in particular,
\pi | |
4 |
=\arctan1
G-x=-(Gx)
\tan(Gx)=
1 | |
x |