1 Introduction

In his deathbed letter to Hardy, Ramanujan gave no definition of mock theta functions but just listed 17 examples and a qualitative description of the key properties that he had noticed. Since that time, many papers studying the 17 specific examples have been written by many famous mathematicians such as Watson, Selberg and Andrews [1]. Due to the work of Zweger [2, 3], Bringmann and Ono [4, 5], Zagier [6] and others, we are able to recognize Ramanujan’s mock theta functions as holomorphic parts of certain harmonic weak Maass forms of weight 1/2, originally defined by Bruinier and Funke [7]. This realization has resulted in many applications in combinatorics, number theory, physics and representation theory.

While the theory of the weak Maass forms has led to a flood of applications in many disparate areas of mathematics, it is still not the case that we fully understand the deeper framework surrounding the contents of Ramanujan’s last letter to Hardy. Here we revisit Ramanujan’s original claims from his deathbed letter [8], which begins by summarizing the asymptotic properties, near roots of unity, of the Eulerian series which were modular forms. He then asked whether others with similar asymptotic were necessary for the summation of a modular form and a function which is O(1) at all roots of unity. In fact, the recent work by Griffin et al. [9] has confirmed that there are no weakly holomorphic modular forms which exactly cut out the singularities of Ramanujan’s mock theta functions.

Claim (Ramanujan [8])

As q approaches a primitive even order 2k root of unity ζ radially within the unit disk, then

lim q ζ ( f ( q ) ( 1 ) k ( 1 q ) ( 1 q 3 ) ( 1 q 5 ) ( 1 2 q + 2 q 4 ) ) =O(1),
(1)

where the mock theta function f(q) is defined by

f(q):=1+ n = 1 q n 2 ( 1 + q ) 2 ( 1 + q 2 ) 2 ( 1 + q n ) 2 ,
(2)

and

n = 1 1 q n ( 1 + q n ) 2 =(1q) ( 1 q 3 ) ( 1 q 5 ) ( 1 2 q + 2 q 4 ) .

Throughout this paper, let q= e 2 π i τ . The function f(q) is convergent for |q|<1 and those roots of unity q with odd order. For the even order roots of unity, f(q) has exponential singularities. For example, f(0.994)1.08 10 31 , f(0.996)1.02 10 46 , f(0.998)6.41 10 90 .

In order to cut out the exponential singularity at q=1, Ramanujan found the function b(q) which is modular form up to multiplication by q 1 24 , defined in his notation as

b(q):=(1q) ( 1 q 3 ) ( 1 q 5 ) ( 1 2 q + 2 q 4 ) .
(3)

Ramanujan’s last letter also inspired the problem of determining the asymptotic of the coefficients of mock theta functions such as f(q). Andrews [10] and Dragonette [11] obtained asymptotic for coefficients of f(q), then Bringmann and Ono [5] proved an exact formula for these coefficients. In the recent work, Folsom et al. [12, 13] provided two closed formulas for the implied constant O(1).

Theorem 1.1 (Folsom-Ono-Rhoades Theorem 1.1 of [12, 13])

If ζ is a primitive even order 2k root of unity, as q approaches ζ radially within the unit disk, then

lim q ζ ( f ( q ) ( 1 ) k b ( q ) ) =4 n = 0 k 1 ( 1 + ζ ) 2 ( 1 + ζ 2 ) 2 ( 1 + ζ n ) 2 ζ n + 1 .
(4)

Remark

  1. (1)

    Theorem 1.1 makes Ramanujan’s claim a special case of a more general result.

  2. (2)

    Since empty products equal 1, then Theorem 1.1 shows that

    lim q 1 ( f ( q ) + b ( q ) ) =4.
    (5)
  3. (3)

    Zudilin [14] has given an elementary proof of Theorem 1.1 by using Dyson’s rank function and the Andrews-Garvan crank function in his recent work.

In the meantime, Folsom et al. [12] proved a different form formula for the O(1) constant as follows.

Theorem 1.2 (Folsom-Ono-Rhoades Theorem 1.3 of [12])

If ζ is a primitive even order 2k root of unity, as q approaches ζ radially within the unit disk, then

lim q ζ ( f ( q ) ( 1 ) k b ( q ) ) = { 4 n = 0 k / 2 1 ( 1 ) n ζ n + 1 ( 1 + ζ 2 ) ( 1 + ζ 4 ) ( 1 + ζ 2 n ) , if  k 0 ( mod 2 ) , 2 + 2 n = 0 k 1 2 ( 1 ) n + 1 ζ 2 n + 1 ( 1 + ζ ) ( 1 + ζ 2 n 1 ) , if  k 1 ( mod 2 ) .
(6)

Remark The authors left an open problem as a challenge for someone to find an elementary proof to show that the constants appearing in Theorem 1.1 match those appearing in Theorem 1.2. Interesting enough, Theorem 1.2 possesses a proof in [12] that makes use of q-series transformations only, while Theorem 1.1 is a particular instance of a much more general result whose proof uses a machinery of mock theta functions [13]. The principal goal of this note is to give a new proof of the problem without using the relation of these two theorems.

2 Statement of results

As pointed out by many authors, Theorem 1.1 is a special case of a more general one, which surprisingly relates two well-known q-series: Dyson’s rank function R(ω;q) and the Andrews-Garvan crank function C(ω;q). They play a prominent role in studying integer partition congruences.

In order to define these series, we let

( a ; q ) :=(1a)(1aq) ( 1 a q 2 ) ,
(7)

and for all nZ, we denote

( a ; q ) n :=(1a)(1aq) ( 1 a q n 1 ) .
(8)

It follows that

( a ; q ) n = ( a ; q ) ( a q n ; q ) .
(9)

Following the paper [14] by Zudilin and the notation above, we can rewrite f(q) and b(q) as follows:

f(q):=1+ n = 1 q n 2 ( 1 + q ) 2 ( 1 + q 2 ) 2 ( 1 + q n ) 2 = n = 0 q n 2 ( q ; q ) n 2 ,
(10)
b ( q ) : = ( 1 q ) ( 1 q 3 ) ( 1 2 q + 2 q 4 ) = ( q ; q 2 ) n = ( 1 ) n q n 2 = ( q ; q ) ( q ; q ) 2 .
(11)

For the results of Theorems 1.1 and 1.2, we have

lim q ζ ( f ( q ) ( 1 ) k b ( q ) ) =4 n = 0 k 1 ( 1 + ζ ) 2 ( 1 + ζ n ) 2 ζ n + 1 =4μ(ζ),
(12)

where

μ(q):= n = 0 ( q ; q ) n 2 q n + 1 ,
(13)

and

lim q ζ ( f ( q ) ( 1 ) k b ( q ) ) = { 4 n = 0 k 2 1 ( 1 ) n ζ n + 1 ( 1 + ζ 2 ) ( 1 + ζ 4 ) ( 1 + ζ 2 n ) , if  k 0 ( mod 2 ) , 2 + 2 n = 0 k 1 2 ( 1 ) n + 1 ζ 2 n + 1 ( 1 + ζ ) ( 1 + ζ 2 n 1 ) , if  k 1 ( mod 2 ) , = { 4 ψ ( ζ ) , if  k 0 ( mod 2 ) , 2 ϕ ( ζ ) , if  k 1 ( mod 2 ) ,
(14)

where

ψ(q):= n = 0 ( q 2 ; q 2 ) n q n + 1 = n = 1 q n 2 ( q ; q 2 ) n ,
(15)

and

ϕ(q):=1+ n = 0 ( 1 ) n ( q ; q 2 ) n q 2 n + 1 = n = 0 q n 2 ( q 2 ; q 2 ) n .
(16)

Here ψ(q) and ϕ(q) are two third-order mock theta functions in Ramanujan’s Lost Notebook.

Recall that Dyson’s rank function is given by

R(ω;q)= n = 0 m Z N(m,n) ω m q n :=1+ n = 1 q n 2 ( ω q ; q ) n ( ω 1 q ; q ) n ,
(17)

where N(m,n) is the number of partitions of n with rank m.

The rank of a partition is defined to be its largest part minus the number of its parts. If ω1 is a root of unity, it is known that R(ω;q) is (up to a power of q) a mock theta function which is the holomorphic part of a harmonic Maass form of weight 1/2.

The Andrews-Garvan crank function is defined by

C(ω;q)= n = 0 m Z M(m,n) ω m q n := ( q ; q ) ( ω q ; q ) ( ω 1 q ; q ) ,
(18)

where M(m,n) is the number of partitions of n with crank m.

For any roots of unity ω, C(ω;q) is (up to a power of q) a modular form. Otherwise, we need the q-hypergeometric series U(ω;q) which arises in the study of strongly unimodal sequences; it is defined by

U(ω;q)= n = 0 m Z μ(m,n) ( ω ) m q n := n = 0 ( ω q ; q ) n ( ω 1 q ; q ) n q n + 1 ,
(19)

where μ(m,n) is the number of strongly unimodal sequences of size n with rank m.

Theorem 1.1 is a special case of the following theorem which relates these three q-series, here we define ζ n := e 2 π i n .

Theorem 2.1 (Folsom-Ono-Rhoades Theorem 1.2 of [13])

Let 1a<b and 1h<k be integers with gcd(a,b)=gcd(h,k)=1 and bk. If h is an integer satisfying h h 1(modk), as q approaches ζ k h radially within unity disk, then

lim q ζ k h ( R ( ζ b a ; q ) ζ b 2 a 2 h k C ( ζ b a ; q ) ) = ( 1 ζ b a ) ( 1 ζ b a ) U ( ζ b a ; ζ k h ) .
(20)

By taking a=1, b=2, and m=2k, so that ζ b a =1, ζ= ζ m h is a primitive even order 2k root of unity, Theorem  1.1 follows directly because of the fact that f(q)=R(1;q), b(q)=C(1;q) and μ(q)=U(1;q).

Based on the results above, in this note, we try to explain the relation between the two theorems, our results are as follows.

Theorem 2.2 Let ζ be a primitive even order 2k root of unity, as q approaches ζ radially within the unit disk, we have

  1. (1)

    if k0(mod2), then

    lim q ζ ( f ( q ) ( 1 ) k b ( q ) ) =4μ(ζ)=4ψ(ζ),
    (21)
  2. (2)

    if k1(mod2), then

    lim q ζ ( f ( q ) ( 1 ) k b ( q ) ) =4μ(ζ)=2ϕ(ζ).
    (22)

Obviously, we can get the following corollary from Theorem 2.2 directly.

Corollary 2.3 Let ζ be a primitive even order 2k root of unity,

  1. (1)

    if k0(mod2), then

    μ(ζ)=ψ(ζ),
    (23)
  2. (2)

    if k1(mod2), then

    2μ(ζ)=ϕ(ζ).
    (24)

Remark

  1. (1)

    One can use the uniqueness property of limits to obtain the result of Theorem 2.2 by combining with the relationship between these three functions

    2ϕ(q)f(q)=f(q)+4ψ(q)=b(q).
    (25)
  2. (2)

    In this note, we prove Theorem 2.2 by using the result related with the generating functions of convex compositions given by Andrews [15] and the online Encyclopedia of Integer Sequences [16] as well as Appell-Lerch sums, we get the desired results.

3 Proof of the theorem

Before we give the proof of the theorem, we would like to first introduce the recent work given by Andrews [15], which is about the theory of concave and convex compositions that linked the related generating functions to combinations of classical, false, or mock theta functions and other Appell-Lerch sums.

Following Andrews, the strictly convex composition of n is defined by

i = 1 R a i +c+ i = 1 S b i =n,
(26)

where a 1 < a 2 << a R <c> b 1 > b 2 >> b S , and c is called the central part and is ≥0. We denote the number of strictly convex compositions of n by X d (n). For example, X d (5)=6.

The related generating functions of X d (n) are defined as

x d (q):= n = 0 X d (n) q n = n = 0 q n + 1 ( q ; q ) n 2 .
(27)

In this work, Andrews related the above generating functions to the classical and mock theta functions as follows (Theorem 1 of [15]):

x d (q)=ψ(q)+2 ( q ; q ) 2 α(q),
(28)

where ψ(q) is defined in (15), and α(q) is defined by

α(q):= n = 0 q n + 1 ( q 2 ; q 2 ) n ( q ; q 2 ) n + 1 = n = 0 q ( n + 1 ) 2 ( q ; q 2 ) n ( q ; q 2 ) n + 1 2 .
(29)

It has been termed a second-order mock theta function by McIntosh [17].

In his deathbed letter, Ramanujan defined four third-order mock theta functions, three of them are as follows:

f(q)= n = 0 q n 2 ( q ; q ) n 2 ,ϕ(q)= n = 0 q n 2 ( q 2 ; q 2 ) n ,ψ(q)= n = 1 q n 2 ( q ; q 2 ) n .
(30)

Folsom, Ono and Rhoades used the relation between these three functions in (25) and the basic hypergeometric series

F(a,b;t)=F(a,b;t,q):= n = 0 ( a q ; q ) n ( b q ; q ) n t n
(31)

to prove Theorem 1.2 and to show the new forms for ψ(q) and ϕ(q) in (15), (16), respectively.

Following Andrews, we find that

x d (q)= n = 0 q n + 1 ( q ; q ) n 2 =μ(q),
(32)

where μ(q) is defined in (13) of Theorem 1.1.

By combining with formula (28), we can deduce that

μ(q)=ψ(q)+2 ( q ; q ) 2 α(q).
(33)

For the even k, let ζ k = e 2 π i k be any root of unity, we have the fact that pre-factor ( q ; q ) of α(q) vanishes at any even root of unity, while the α(q) has finite limits. As q approaches an even order root of unity ζ k , then

lim q ζ k μ(q)= lim q ζ k ( ψ ( q ) + 2 ( q ; q ) 2 α ( q ) ) ,
(34)

namely,

lim q ζ k μ(q)=μ( ζ k )= lim q ζ k ψ(q)=ψ( ζ k ).
(35)

For the above fixed even k, we denote the primitive even order 2k root of unity by ζ 2 k . As q approaches ζ 2 k radially within the unit disk, we have

lim q ζ 2 k ( f ( q ) ( 1 ) k b ( q ) ) = 4 lim q ζ 2 k μ ( q ) = 4 μ ( ζ 2 k ) = 4 lim q ζ 2 k ψ ( q ) = 4 ψ ( ζ 2 k ) .
(36)

The first claim in Theorem 2.2 is proved.

Folsom et al. in [12] found that a search in the Online Encyclopedia of Integer Sequences [16] shows that the values of the function G( e t ) have some relations with the coefficients of the expansion of f( e t )+b( e t ) while t 0 + , where G(q) is defined by

G(q):=1+ n = 1 ( 1 ) n ( q ; q 2 ) n .
(37)

This function exists only for q, a root of unity. By studying the asymptotic relationship between U(1; e t ) and G( e t ), Folsom, Ono and Rhoades guessed that there might be a relation at the other roots of unity, and then they computed the first fifth odd roots of unity  ζ k , here ζ k = e 2 π i k , k is odd positive integer. Surprisingly, the results of the computation clearly showed that for odd roots of unity ζ k ,

U(1; ζ k )=G( ζ k ).
(38)

Combining with the Online Encyclopedia of Integer Sequences research, we can reach the conclusion that for any odd order k root of unity ζ k , we still have the formula of (38). By the way, one can find that the function G(q) converges in the domain |q|<1, because it is obvious that we can rewrite it as follows:

G ( q ) : = 1 + n = 0 ( 1 ) n + 1 ( q ; q 2 ) n + 1 = 1 + n = 0 ( 1 ) n + 1 ( q ; q 2 ) n n = 0 ( 1 ) n + 1 q 2 n + 1 ( q ; q 2 ) n = n = 1 ( 1 ) n ( q ; q 2 ) n + n = 0 ( 1 ) n q 2 n + 1 ( q ; q 2 ) n .
(39)

Applying formula (37), we then get

2 G ( q ) = 1 + n = 0 ( 1 ) n q 2 n + 1 ( q ; q 2 ) n = 1 + q q 3 + q 4 + q 5 + q 14 2 q 15 + q 16 + 3 q 17 + .
(40)

The search in [16] shows that this q-series matches the mock theta function ϕ(q). In fact, in the proof of Theorem 1.2, Folsom, Ono and Rhoades obtained the same form for the mock theta function ϕ(q) in formula (16). In this case, if q is a root of unity, we have

2G(q)=ϕ(q).
(41)

On the other hand, for any odd order k root of unity ζ k , from the property of U(ω;q), we have

U(1; ζ k )=G( ζ k )
(42)

and

U(1;q)=μ(q).
(43)

Finally, for odd integer k, if ζ k is any primitive odd order k root of unity, as q approaches  ζ k , we have

lim q ζ k 2μ(q)=2μ( ζ k )= lim q ζ k 2U(1;q)=2U(1; ζ k )=2G( ζ k ).

Namely,

lim q ζ k 2μ(q)=2μ( ζ k )=2G( ζ k )=ϕ( ζ k ).
(44)

For the above fixed odd k, we denote the primitive even order 2k root of unity by ζ 2 k . As q approaches ζ 2 k radially within the unit disk, we have

lim q ζ 2 k ( f ( q ) ( 1 ) k b ( q ) ) =4 lim q ζ 2 k μ(q)=4μ( ζ 2 k ).
(45)

Since ζ 2 k 2 = ζ k , ζ 2 k is the root of ζ k . Then we get

lim q ζ 2 k ( f ( q ) + b ( q ) ) =4μ( ζ 2 k )=2ϕ( ζ 2 k ).
(46)

We have proved the second claim in Theorem 2.2.

On the other hand, we can prove the second claim in Theorem 2.2 in a new way which is related to the properties of Appell-Lerch sums.

The definition of an Appell-Lerch sum is given by

m(x,q,z):= 1 j ( z ; q ) r = ( 1 ) r q r ( r 1 ) 2 z r 1 q r 1 x z ,
(47)

where

j(x;q):= ( x ) ( q / x ) ( q ) = n = ( 1 ) n q n ( n 1 ) 2 x n .
(48)

For the integers a and positive integers m, we define

J a , m :=j ( q a ; q m )
(49)

and

J m := J m , 3 m = i = 1 ( 1 q m i ) .
(50)

Then m(x,q,z) can be expressed as a bilateral sum [18]:

n = 0 a n 1 b n ( 1 / a ; q ) n + 1 ( q / b ; q ) n q n 2 + n = 1 ( a q ; q ) n 1 ( b ; q ) n q n = ( a q ) b ( q ) ( q / b ) j ( b ; q ) m ( a / b , q , b ) ,
(51)

then we get

R(ω;q)+(1ω) ( 1 ω 1 ) U(ω;q)=(1ω) j ( ω ; q ) J 1 m ( ω 2 , q , ω 1 ) .
(52)

Let ω=1, we have

R(1;q)+4U(1;q)=2 j ( 1 ; q ) J 1 m(1,q,1).
(53)

Recall Proposition 2.6 in [19] that

n = 0 ( 1 ) n q n 2 ( q ; q 2 ) n ( x ; q 2 ) n + 1 ( q 2 / x ; q 2 ) n =m(x,q,1)+ J 1 , 2 2 2 j ( x ; q ) .
(54)

For the odd integer k and x=1, we can eliminate m(1,q,1) by using the result above as follows:

R ( 1 ; q ) + 4 U ( 1 ; q ) = 2 j ( 1 ; q ) J 1 m ( 1 , q , 1 ) = j ( 1 ; q ) J 1 n = 0 ( 1 ) n q n 2 ( q ; q 2 ) n ( q 2 ; q 2 ) n J 1 , 2 2 J 1 .
(55)

Then we have

R(1;q)+ J 1 , 2 2 J 1 =4U(1;q)+ j ( 1 ; q ) J 1 n = 0 ( 1 ) n q n 2 ( q ; q 2 ) n ( q 2 ; q 2 ) n .
(56)

For odd integer k, if ζ is a root of unity of order 2k, as qζ, we see that the factor j ( 1 ; q ) J 1 =2 ( q ; q ) 2 vanishes while the summation is finite at unity, then we have

lim q ζ ( R ( 1 ; q ) + J 1 , 2 2 J 1 ) =4U(1;ζ),
(57)

where J 1 , 2 2 J 1 =b(q).

Finally, we get

lim q ζ ( f ( q ) + b ( q ) ) =4μ(ζ)=2ϕ(ζ).
(58)

The second claim in Theorem 2.2 is also completed.