Preprint
Article

This version is not peer-reviewed.

New Generalizations of Two Ramanujan Series for \( 1/\pi \)

Submitted:

10 September 2026

Posted:

11 September 2026

You are already at the latest version

Abstract
By utilizing two hypergeometric summation identities, we extend two well-known Ramanujan series for 1/π by making each of them a member of an infinite family of series. We also find the corresponding families involving harmonic numbers and odd harmonic numbers.
Keywords: 
;  ;  ;  ;  

1. Introduction

Let x n = ∏ k = 0 n − 1 x + k , for x a complex number and n a non-negative integer. Our main purpose in this note is to derive the following families of Ramanujan-like series for 1 / π :
∑ k = 0 ∞ ( − 1 ) k k ! 3 1 2 k 3 4 k + 1 − 2 ℓ ∏ j = 1 ℓ 2 k − 2 j + 1 ∏ j = 1 m 2 k − 2 j + 1 ∏ j = 1 n 2 k − 2 j + 1 ∏ j = 1 m − ℓ k + j ∏ j = 1 n − ℓ k + j = ( − 1 ) m + n 1 2 m 1 2 n 1 2 m + n − ℓ 2 ℓ + m + n − 1 1 π
and
∑ k = 0 ∞ 1 2 k 3 4 k k ! 3 ∏ j = 1 2 n 2 k + j ∏ j = 1 n k + j 2 2 k − 2 j + 1 6 k + 1 + 2 n = ( − 1 ) n 2 n + 2 1 2 n 1 π ;
valid for ℓ, m, and n non-negative integers.
Identities (1) and (2) are respective generalizations of the Ramanujan series [10]:
∑ k = 0 ∞ ( − 1 ) k 1 2 k 3 k ! 3 4 k + 1 = 2 π
and
∑ k = 0 ∞ 1 2 k 3 4 k k ! 3 6 k + 1 = 4 π .
When ℓ = 0 = m , identity (1) reduces to
∑ k = 0 ∞ ( − 1 ) k 1 2 k 3 k ! 3 4 k + 1 ∏ j = 1 n 2 k − 2 j + 1 k + j = ( − 1 ) n 1 2 n 2 2 n − 1 1 π ,
which was derived by Levrie [9, Theorem 7] using Fourier-Legendre theory. In fact we will see that identities (1) and (2) are particular cases of more general results.
Let H j be the j th harmonic number and let O j be the j th odd harmonic number. We will also derive the following series involving harmonic and odd harmonic numbers:
∑ k = 0 ∞ ( − 1 ) k 1 2 k 3 4 k + 1 2 O k − n + H k + n k ! 3 ∏ j = 1 n k + j 2 k − 2 j + 1 = ( − 1 ) n 2 n − 2 1 1 2 n 2 2 O n − ln 2 1 π
and
∑ k = 0 ∞ 1 2 k 3 4 k k ! 3 ∏ j = 1 2 n 2 k + j ∏ j = 1 n k + j 2 2 k − 2 j + 1 6 k + 1 + 2 n 2 O k − n − 2 O k + n + H k + n − 2 = ( − 1 ) n 2 n + 3 1 2 n O n − ln 2 1 π .
Identity (5) at n = 0 reduces to the harmonic number complement of (3):
∑ k = 0 ∞ ( − 1 ) k 1 2 k 3 k ! 3 4 k + 1 H 2 k = − 2 ln 2 π ,
derived by Hou et al. [8] and also Campbell [4].
The special case n = 0 of identity (6), namely,
∑ k = 0 ∞ 1 2 k 3 4 k k ! 3 6 k + 1 H k − 2 = − 8 ln 2 π ,
was derived by Hou et al. [8].
The now famous identity (3) was discovered in 1859 by Bauer [2] via a Fourier-Legendre expansion, and rediscovered in 1914 by Ramanujan who included it in his famous first letter to G. H. Hardy. Early proofs relied on classical techniques like swapping limit operations while later approaches utilized advanced tools like Dougall’s bilateral hypergeometric theorem. For a survey of the Bauer-Ramanujan series (3) and related results and analyses, the reader is referred to the recent article by Campbell and Levrie [3].
Let Γ ( z ) be Euler’s Gamma function. Generalized binomial coefficients are defined for complex numbers r and s by
r s = Γ ( r + 1 ) Γ ( s + 1 ) Γ ( r − s + 1 ) .
The extended Pochhammer relation ( x ) y is defined for complex numbers x and y that are not non-positive integers and such that x + y ≠ 0 by
x y = Γ x + y Γ x = x + y − 1 y Γ y + 1 .
If, in particular, y = n is a non-negative integer, then we have the Pochhammer symbol
x n = ∏ k = 0 n − 1 x + k = x + n − 1 n n !
Harmonic numbers, H j , and odd harmonic numbers, O j , are defined for non-negative integers j by
H j = ∑ k = 1 j 1 k , O j = ∑ k = 1 j 1 2 k − 1 , H 0 = 0 = O 0 .
The identity
H n − 1 / 2 = 2 O n − 2 ln 2 ,
extends harmonic numbers to half-integer arguments and is a consequence of the link between harmonic numbers, odd harmonic numbers and the digamma function.

2. Required Results

Lemma 1. 
If k and x are complex numbers, then
k x + 1 / 2 = 2 π 1 2 x + 1 x ! k ! 1 2 x 1 2 k k − 1 / 2 x .
Proof. 
The identity
a − b c = a − c b a c a b − 1 ,
with a = k , b = 1 / 2 and c = k − 1 / 2 − x gives
k − 1 / 2 x = x + 1 / 2 1 / 2 k x + 1 / 2 k 1 / 2 − 1 ;
and hence (14) since
x + 1 / 2 1 / 2 = 2 x + 1 x ! 1 2 x
and
k 1 / 2 = 2 π k ! 1 2 k .
□
Lemma 2. 
If x is a complex number that is not a negative integer, then
− x + 1 2 k = 1 2 x 1 2 k x ! k − 1 / 2 x − 1 cos π x
and
x + 1 2 k = 1 2 k 2 k + 2 x 2 x k + x x − 1 .
In particular, if n is a non-negative integer, then
− n + 1 2 k = ( − 1 ) n 2 n 1 2 n 1 2 k ∏ j = 1 n 2 k − 2 j + 1
and
n + 1 2 k = 1 2 2 n 1 2 k 1 2 n ∏ j = 1 2 n 2 k + j ∏ j = 1 n k + j .
Proof. 
We prove (19).
− x + 1 2 k = k ! k − x − 1 / 2 k .
Now, using (15) with a = k , b = x + 1 / 2 and c = k , write
k − x − 1 / 2 k = 0 x + 1 / 2 k k k x + 1 / 2 − 1 = 2 π cos π x 2 x + 1 k x + 1 / 2 − 1 ,
since
0 s = sin π s π s , if s ≠ 0 ; 1 , if s = 0 .
Identity (19) now follows by the use of (14). □
Lemma 3. 
We have
d d x x y = x y H x + y − 1 − H x − 1 .

3. Generalizations of Ramanujan Series for 1 / π

Lemma 4. 
If k is a non-negative integer, then
lim d → ∞ d k − d k = ( − 1 ) k .
Proof. 
Now
− d k = k ! − d + k − 1 k = ( − 1 ) k k ! d k .
But
d k = k ! d + k − 1 k ∼ k ! d k as d → ∞ .
Hence the result. □
Lemma 5. 
If a and k are complex numbers, then
1 + a 2 k a 2 k = 2 k + a a .
Lemma 6. 
For suitably bounded complex numbers a, b, and c, the following identity holds:
∑ k = 0 ∞ ( − 1 ) k k ! a k b k c k 1 + a − b k 1 + a − c k 2 k + a = a Γ 1 + a − b Γ 1 + a − c Γ 1 + a Γ 1 + a − b − c .
In particular,
∑ k = 0 ∞ ( − 1 ) k k ! 2 a k 2 c k 1 + a − c k 2 k + a = a Γ 1 + a − c Γ 1 + a Γ 1 − c
and
∑ k = 0 ∞ ( − 1 ) k a k 3 k ! 3 2 k + a = sin π a π .
Proof. 
Consider Dougall’s well-poised hypergeometric series [1, p. 27]:
∑ k = 0 ∞ 1 k ! a k 1 + a / 2 k b k c k d k a / 2 k 1 + a − b k 1 + a − c k 1 + a − d k = Γ 1 + a − b Γ 1 + a − c Γ 1 + a − d Γ 1 + a − b − c − d Γ 1 + a Γ 1 + a − b − c Γ 1 + a − b − d Γ 1 + a − c − d ,
which holds for suitably bounded complex numbers a, b, c and d or ℜ ( 1 + a − b − c − d ) > 0 if each of the four numbers has a finite magnitude.
Letting d approach infinity in (34) gives (31) by application of Lemmata 4 and 5. □
Remark 1. 
Campbell [4] also derived (32) using Mishev’s transform. Identity (33) is Dougall’s identity [6, Equation (16)].
The identity stated in Lemma 7 corresponds to setting a = 1 / 2 = b in (31) and was derived by Hou et al. [8].
Lemma 7. 
If c is a complex number, then
∑ k = 0 ∞ ( − 1 ) k 1 2 k 2 c k k ! 2 3 / 2 − c k 4 k + 1 = 2 π Γ 3 / 2 − c Γ 1 − c = 2 π ( 1 − c ) 1 / 2 .
Remark 2. 
The special case of (35) with c a non-negative integer was proved by Ekhad and Zeilberger [7] using the W Z technique.
Theorem 1. 
If p, q, and r are complex numbers that are not half-integers and such that q − p and r − p are not non-positive integers, then
∑ k = 0 ∞ ( − 1 ) k 1 2 k 3 k ! 3 4 k + 1 − 2 p k − 1 / 2 p k − 1 / 2 q k − 1 / 2 r k + q − p k k + r − p k
= 2 1 2 − p q + 1 2 r − p q + 1 2 p ! q ! r ! 1 2 p 1 2 q 1 2 r r − p cos π p cos π q cos π r
In particular,
∑ k = 0 ∞ ( − 1 ) k 1 2 k 3 k ! 3 4 k + 1 k + r k k − 1 / 2 r = 2 π r ! 2 1 2 r 2 1 cos π r .
Proof. 
Set a = 1 / 2 − p , b = 1 / 2 − q and c = 1 / 2 − r in (31) to obtain
∑ k = 0 ∞ ( − 1 ) k k ! 1 / 2 − p k 1 / 2 − q k 1 / 2 − r k 1 − p + q k 1 − p + r k 4 k + 1 − p = 2 Γ 1 − p + q Γ 1 − p + r Γ 1 / 2 − p Γ 1 / 2 − p + q + r .
Use (19) and note from (10) that
1 + x k = k ! x + k k ,
Γ 1 − p + q Γ 1 2 − p = 1 2 − p 1 2 + q ,
and
Γ 1 − p + r Γ 1 2 − p + q + r = r − p r − p 1 2 + q .
□
Corollary 2. 
If ℓ, m and n are non-negative integers, then
∑ k = 0 ∞ ( − 1 ) k k ! 3 1 2 k 3 4 k + 1 − 2 ℓ ∏ j = 1 ℓ 2 k − 2 j + 1 ∏ j = 1 m 2 k − 2 j + 1 ∏ j = 1 n 2 k − 2 j + 1 ∏ j = 1 m − ℓ k + j ∏ j = 1 n − ℓ k + j = ( − 1 ) m + n 1 2 m 1 2 n 1 2 m + n − ℓ 2 ℓ + m + n − 1 1 π .
In particular,
∑ k = 0 ∞ ( − 1 ) k 1 2 k 3 k ! 3 4 k + 1 ∏ j = 1 n 2 k − 2 j + 1 k + j = ( − 1 ) n 1 2 n 2 2 n − 1 1 π ,
∑ k = 0 ∞ ( − 1 ) k 1 2 k 3 k ! 3 4 k + 1 − 2 n ∏ j = 1 n 2 k − 2 j + 1 3 = 1 1 2 n 3 2 3 n − 1 1 π ,
∑ k = 0 ∞ ( − 1 ) k 1 2 k 3 k ! 3 4 k + 1 − 2 m ∏ j = 1 m 2 k − 2 j + 1 2 ∏ j = 1 n 2 k − 2 j + 1 ∏ j = 1 n − m k + j = ( − 1 ) m + n 1 2 m 1 2 n 2 2 2 m + n − 1 1 π ,
and
∑ k = 0 ∞ ( − 1 ) k 1 2 k 3 k ! 3 4 k + 1 − 2 ℓ ∏ j = 1 ℓ 2 k − 2 j + 1 ∏ j = 1 n 2 k − 2 j + 1 2 ∏ j = 1 n − ℓ k + j 2 = 1 1 2 2 n − l 1 2 n 2 2 2 n + ℓ − 1 1 π .
Proof. 
Set p = ℓ , q = m and r = n in (39) and use (21) and (40). Note that
n ! k + n n = ∏ j = 1 n k + j , etc ,
Γ 1 2 − u = ( − 1 ) u 1 2 u π u ! ,
and
Γ 1 2 + u = 1 2 u π .
□
Theorem 3. 
If r is a complex number that is not a half-integer, then
∑ k = 0 ∞ ( − 1 ) k 1 2 k 3 k ! 3 4 k + 1 2 O k − r + H k + r k + r k k − 1 / 2 r = 2 π r ! 2 1 2 r 2 4 O r − 2 ln 2 cos π r .
Proof. 
Differentiate (35) with respect to c and replace c with 1 / 2 − r to get
∑ k = 0 ∞ ( − 1 ) k 1 2 k 2 1 2 − r k 4 k + 1 H k − r − 1 / 2 + H k + r k ! 2 r + 1 k = 2 π r + 1 2 1 / 2 H − r − 1 / 2 + H r − 1 / 2 ,
from which (50) follows after using (13), (19), (40) and the fact that
r + 1 2 1 2 = Γ r + 1 Γ r + 1 2 = r ! 1 2 r π .
□
Corollary 4. 
If n is a non-negative integer, then
∑ k = 0 ∞ ( − 1 ) k 1 2 k 3 4 k + 1 2 O k − n + H k + n k ! 3 ∏ j = 1 n k + j 2 k − 2 j + 1 = ( − 1 ) n 2 n − 2 1 1 2 n 2 2 O n − ln 2 1 π .
In particular,
∑ k = 0 ∞ ( − 1 ) k 1 2 k 3 k ! 3 4 k + 1 H 2 k = − 2 π ln 2 .
Proof. 
Set r = n a non-negative integer in (51). □
Lemma 8 was derived by Hou et al. [8] using a hypergeometric transformation formula due to Chu and Zhang [5, Theorem 9]; and facilitates the derivation of (2).
Lemma 8. 
If c is a complex number, then
∑ k = 0 ∞ 1 4 k 1 2 k c k 1 − c k k ! 2 3 / 2 − c k 3 k − c + 1 2 = 1 π ( 1 − c ) 1 / 2 .
Theorem 5. 
If r is a complex number that is not a half-integer, then
∑ k = 0 ∞ 1 2 k 3 4 k k ! 3 2 k + 2 r 2 r k + r r 2 k − 1 / 2 r 6 k + 1 + 2 r = 4 π r ! 2 1 2 r 2 1 cos π r .
Proof. 
Set c = 1 / 2 − r in (53) to obtain
∑ k = 0 ∞ 1 4 k 1 2 k 1 2 − r k 1 2 + r k k ! 2 r + 1 k 6 k + 1 + 2 r = 4 π r + 1 2 1 / 2 .
Now use (19), (20), (40) and (52). □
Corollary 6. 
If n is a non-negative integer, then
∑ k = 0 ∞ 1 2 k 3 4 k k ! 3 ∏ j = 1 2 n 2 k + j ∏ j = 1 n k + j 2 2 k − 2 j + 1 6 k + 1 + 2 n = ( − 1 ) n 2 n + 2 1 2 n 1 π .
In particular,
∑ k = 0 ∞ 1 2 k 3 4 k k ! 3 2 k + 1 2 k + 1 2 k − 1 = − 8 3 π .
Proof. 
Set r = n in (55) and use (21), (22), (40) and (52). □
Theorem 7. 
If r is a complex number that is not a half-integer, then
∑ k = 0 ∞ 1 4 k 1 2 k 3 k ! 3 2 k + 2 r 2 r k + r r 2 k − 1 / 2 r 6 k + 2 r + 1 H k − r − 1 / 2 − H k + r − 1 / 2 + H k + r − 2 = r ! 2 1 2 r 2 H − r − 1 / 2 cos π r 4 π .
Proof. 
Differentiate (53) with respect to c to obtain, after some rearrangement,
∑ k = 0 ∞ 1 2 k c k 1 − c k 4 k k ! 2 3 2 − c k 3 k − c + 1 2 H c + k − 1 − H − c + k + H 1 / 2 − c + k − 1 2 = H c − 1 π 1 − c 1 / 2 .
Set c = 1 / 2 − r to get
∑ k = 0 ∞ 1 2 k − r + 1 2 k r + 1 2 k 4 k k ! 2 r + 1 k 1 2 3 k + r + 1 2 H k − r − 1 / 2 − H k + r − 1 / 2 + H k + r − 1 2 = H − r − 1 / 2 π r + 1 2 1 / 2 ;
and hence (57) after using (19) and (20). □
Corollary 8. 
If n is a non-negative integer, then
∑ k = 0 ∞ 1 2 k 3 4 k k ! 3 ∏ j = 1 2 n 2 k + j ∏ j = 1 n k + j 2 2 k − 2 j + 1 6 k + 1 + 2 n 2 O k − n − 2 O k + n + H k + n − 2 = ( − 1 ) n 2 n + 3 1 2 n O n − ln 2 1 π .
In particular,
∑ k = 0 ∞ 1 2 k 3 4 k k ! 3 6 k + 1 H k − 2 = − 8 ln 2 π .
Proof. 
Set r = n in (59), use
H k − n − 1 / 2 − H k + n − 1 / 2 = 2 O k − n − O k + n
and identities (21) and (22). □

References

  1. Bailey, W. N. Generalized Hypergeometric Series; Cambridge University Press, 1935. [Google Scholar]
  2. Bauer, G. Von den Coefficienten der Reihen von Kugelfunktionen einer Variabeln. J. Für Die Reine Und Angew. Math. 1859, 56, 101–121. [Google Scholar] [CrossRef]
  3. Campbell, J. M.; Levrie, P. The Bauer-Ramanujan formula: historical analyses and perspectives. Br. J. Hist. Math. 2024, 39:3, 193–214. [Google Scholar] [CrossRef]
  4. Campbell, J. M. Applications of a class of transformations of complex sequences. J. Ramanujan Math. Soc. to appear.
  5. Chu, W.; Zhang, W. Accelerating Dougall’s 5F4-sum and infinite seriesinvolving π. Math. Comput. 2014, 285, 475–512. [Google Scholar]
  6. Dougall, J. Vandermonde’s theorem and some more general expansions. Proc. Edinb. Math. Soc. 25(1906), 114–152.
  7. Ekhad, S. B.; Zeilberger, D. A WZ proof of Ramanujan’s formula for π. In Geometry, Analysis and Mechanics; Rassias, J. M., Ed.; World Scientific, 1994; pp. 107–108. [Google Scholar]
  8. Hou, Q.; He, H.; Wang, X. Ramanujan-inspired series for 1/π involving harmonic numbers. J. Differ. Equ. Appl. 2024, 30:6, 775–786. [Google Scholar] [CrossRef]
  9. Levrie, P. Using Fourier-Legendre expansions to derive series for 1/π and 1/π2. Ramanujan J. 2010, 22, 221–230. [Google Scholar] [CrossRef]
  10. Ramanujan, S. Modular equations and approximations for π. Q. J. Pure Appl. Math. 1914, 45, 350–372. [Google Scholar]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.