Hostname: page-component-586b7cd67f-gb8f7 Total loading time: 0 Render date: 2024-11-23T18:55:39.261Z Has data issue: false hasContentIssue false

THEOREMS OF LEGENDRE TYPE FOR OVERPARTITIONS

Published online by Cambridge University Press:  28 April 2023

MOHAMED EL BACHRAOUI*
Affiliation:
Department of Mathematical Sciences, United Arab Emirates University, PO Box Al-Ain, 15551, UAE
Rights & Permissions [Opens in a new window]

Abstract

Formulas evaluating differences of integer partitions according to the parity of the parts are referred to as Legendre theorems. In this paper we give some formulas of Legendre type for overpartitions.

Type
Research Article
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted re-use, distribution, and reproduction in any medium, provided the original work is properly cited.
Copyright
© The Author(s), 2023. Published by Cambridge University Press on behalf of Australian Mathematical Publishing Association Inc.

1 Introduction

Throughout this paper, q denotes a complex number satisfying $|q|<1$ , m and n denote nonnegative integers, $\mathbb {N}$ is the set of positive integers, $\mathbb {N}_0=\mathbb {N}\cup \{0\}$ and $\mathbb {Z}$ is the set of integers. We use the standard notation for q-series [Reference Andrews2, Reference Gasper and Rahman5]:

$$ \begin{align*} &(a;q)_0 = 1,\quad (a;q)_n = \displaystyle\prod_{j=0}^{n-1} (1-aq^{\,j}),\quad (a;q)_{\infty} = \prod_{j=0}^{\infty} (1-aq^{\,j}), \\ &(a_1,\ldots,a_k;q)_n = \displaystyle\prod_{j=1}^k (a_j;q)_n \quad \text{and} \quad (a_1,\ldots,a_k;q)_{\infty} = \prod_{j=1}^k (a_j;q)_{\infty}. \end{align*} $$

It is well known that

$$ \begin{align*} \frac{1}{(q;q)_\infty} = \sum_{n=0}^\infty p(n) q^n \end{align*} $$

and

$$ \begin{align*} (q;q)_\infty = \sum_{n=0}^\infty ( p_e(\mathcal{D},n) - p_o(\mathcal{D},n) ) q^n, \end{align*} $$

where $p(n)$ denotes the number of partitions of n and $p_e(\mathcal {D},n)$ and $p_o(\mathcal {D},n)$ ) respectively denote the number of partitions of n into an even and an odd number of distinct parts (see [Reference Andrews2]).

An overpartition [Reference Corteel and Lovejoy4, Reference Lovejoy8] of n is a partition of n where the first occurrence of each part may be overlined. The number of overpartitions of n, written $\overline {p}(n)$ , has the generating function

$$ \begin{align*}\sum_{n=0}^\infty \overline{p}(n) q^n = \frac{(-q;q)_\infty}{(q;q)_\infty}. \end{align*} $$

Note that overlined parts in overpartitions are distinct by definition. We say that an overpartition has distinct parts if its nonoverlined parts are also distinct. For example, letting $\overline {p}_d(n)$ denote the number of distinct overpartitions of n, we have $\overline {p}_d(4)=9$ enumerating $4, \bar {4}, 3+1, \bar {3}+1, 3+\bar {1}, \bar {3}+\bar {1}, \bar {2}+2, 2+\bar {1}+1, \bar {2}+\bar {1}+1$ .

Perhaps the most famous example of a partition difference is Legendre’s celebrated result [Reference Legendre7] stating that

(1.1) $$ \begin{align} p_e(\mathcal{D},n) - p_o(\mathcal{D},n) =\begin{cases} (-1)^k & \text{if }n=k(3k\pm 1)/2 \ \text{for some } k\in\mathbb{Z}, \\ 0 & \text{otherwise.} \end{cases} \end{align} $$

Formulas of type (1.1) are referred to as Legendre theorems. Recently, Andrews and Yee in [Reference Andrews and Yee3] gave Legendre theorems for a variety of overpartition differences. For instance, letting $\mathit {TH}(n)$ denote the number of overpartitions of n in which there is both an overlined and a nonoverlined largest part and letting $\mathit {THE}(n)$ denote the number of $\mathit {TH}$ -overpartitions with an even number of parts minus the number with an odd number of parts, the authors proved that

(1.2) $$ \begin{align} \mathit{THE}(n) =\begin{cases} (-1)^n(2k-1) &\text{if } k^2<n< (k+1)^2 \text{ for some}\ k\in\mathbb{N}, \\ (-1)^n(2k-2) &\text{if } n=k^2\ \text{for some } k\in\mathbb{N}. \end{cases} \end{align} $$

For other overpartition differences and Legendre type results we refer to Kim et al. [Reference Kim, Kim and Lovejoy6] and Lovejoy [Reference Lovejoy9].

In this note we give Legendre theorems for overpartitions. Surprisingly, our formulas are similar to (1.2), with the conditions involving squares $k^2$ replaced by conditions involving triangular numbers $\binom {k}{2}$ (see, for instance, Corollary 2.6).

Our proofs combine basic facts from the theory of hypergeometric q-series with the Bailey pair machinery. From [Reference Andrews1, Reference Warnaar, Betten, Kohnert, Laue and Wassermann13], a pair of sequences $(\alpha _n,\beta _n)_{n\geq 0}$ is called a Bailey pair relative to a (or relative to $(a,q)$ to avoid confusion) if

$$ \begin{align*} \beta_n = \sum_{r=0}^n \frac{\alpha_r}{(q)_{n-r}(aq)_{n+r}}. \end{align*} $$

The paper is organised as follows. In Section 2 we gather together the definitions and state our main results. Sections 35 are devoted to the proofs of the main theorems and their corollaries. Finally, in Section 6 we close with some remarks and comments suggested by this work.

2 Definitions and statement of results

Definition 2.1. For any positive integer n, let $A(n)$ denote the number of overpartitions $\pi $ of n into distinct parts with a unique odd nonoverlined part $u(\pi )$ such that $u(\pi )$ does not also occur overlined. Let $A_0(n)$ (respectively, $A_1(n)$ ) denote the number of overpartitions counted by $A(n)$ in which the number of even nonoverlined parts plus the number of overlined parts which are greater than $u(\pi )$ is even (respectively, odd) and let

$$ \begin{align*} A'(n) = A_0(n)-A_1(n). \end{align*} $$

By letting the term $q^{2n-1}$ generate the unique nonoverlined odd part, the term $(q^2;q^2)_\infty $ generate the other nonoverlined parts and the term $(-q;q)_{2n-2} (q^{2n};q)_\infty $ generate the overlined parts, it is directly verified that

(2.1) $$ \begin{align} \sum_{n=2}^\infty A'(n) q^n = (q^2;q^2)_\infty \sum_{n=1}^\infty q^{2n-1} (-q;q)_{2n-2} (q^{2n};q)_\infty. \end{align} $$

For example, we have $A(6) = 6$ with relevant partitions

$$ \begin{align*} 5+\bar{1}, \bar{5}+1, 3+2 +\bar{1}, \bar{3}+2 +1, 3 +\bar{2}+\bar{1}, \bar{3}+\bar{2}+1; \end{align*} $$

we have $A_0(6) = 4$ counting $5+\bar {1}, \bar {3}+2 +1, 3 +\bar {2}+\bar {1}, \bar {3}+\bar {2}+1$ ; we have $A_1(6) = 2$ counting $\bar {5}+1, 3+2 +\bar {1}$ ; and thus $A'(6)= 4-2 =2$ .

Theorem 2.2. We have

$$ \begin{align*} \sum_{n=1}^\infty A'(n) q^n = \sum_{n=0}^\infty (n+1) \Big(q^{\binom{2n+2}{2}} - q^{\binom{2n+3}{2}} \Big). \end{align*} $$

Corollary 2.3. For any positive integer n we have

$$ \begin{align*} A'(n) =\begin{cases} (-1)^{k}\bigg\lceil\dfrac{k-1}{2}\bigg\rceil & \text{if } n=\binom{k}{2} \ \text{for some } k\in\mathbb{N}, \\ 0 & \text{otherwise,} \end{cases} \end{align*} $$

where $\lceil x\rceil $ denotes the least integer which is greater than or equal to x.

We now introduce our second partition difference.

Definition 2.4. For any positive integer $n>1$ , let $B(n)$ be the number of overpartitions $\pi $ of n in which there is a smallest overlined part $\overline {s}(\pi )$ which is even and the nonoverlined parts are greater than or equal to $\bar {s}(\pi )/2$ such that the nonoverlined even parts which are greater than or equal to $\overline {s}(\pi )$ are distinct and the remaining nonoverlined parts occur zero times or twice. Let $B_0(n)$ (respectively, $B_1(n)$ ) denote the number of B-partitions in which the number of parts is even (respectively, odd) and let

$$ \begin{align*} B'(n) = B_1(n)-B_0(n). \end{align*} $$

Then one can easily see that

(2.2) $$ \begin{align} \sum_{n=2}^\infty B'(n) q^n = \sum_{n=1}^\infty q^{2n} (q^{2n+1};q)_\infty (q^{2n};q^2)_{\infty} (q^{2n};q^2)_{n}, \end{align} $$

where the term $q^{2n} (q^{2n+1};q)_\infty $ generates the overlined parts and $(q^{2n};q^2)_\infty (q^{2n};q^2)_{n}$ generates the nonoverlined parts.

For example, we find $B(6)=4$ enumerating $\bar {6}, 4+\bar {2}, \bar {4}+\bar {2}, \bar {2}+2+1+1$ , from which we see that $B_0(6) = B_1(6) =2$ , and therefore $B'(6)=0$ .

Theorem 2.5. We have

$$ \begin{align*} (1-q)\sum_{n=2}^\infty B'(n) q^n = q^2 + \sum_{n=3}^\infty (-1)^n ( q^{\binom{n}{2}+1} + q^{\binom{n}{2}} ). \end{align*} $$

Corollary 2.6. For any integer $n\geq 2$ , we have

$$ \begin{align*} B'(n) =\begin{cases} (-1)^k & \text{if } \binom{k}{2}<n< \binom{k+1}{2} \ \text{for some } k\in\mathbb{N}, \\ 0 & \text{if } n=\binom{k}{2}. \end{cases} \end{align*} $$

We now deal with the third type of partition difference.

Definition 2.7. For any positive integer $n>1$ , let $C(n)$ be the number of overpartitions $\pi $ of n such that there is a smallest overlined part $\bar {s}(\pi )$ which is odd, any other overlined part is even, and the nonoverlined parts are greater than or equal to $(\bar {s}(\pi )+1 )/2$ such that the nonoverlined parts greater than or equal to $\bar {s}(\pi )$ are distinct and the remaining nonoverlined parts occur zero times or twice. Let $C_0(n)$ (respectively, $C_1(n)$ ) denote the number of C-partitions in which the number of parts is even (respectively, odd) and let

$$ \begin{align*} C'(n) = C_1(n)-C_0(n). \end{align*} $$

Then one can readily check that

(2.3) $$ \begin{align} \sum_{n=2}^\infty C'(n) q^n = \sum_{n=1}^\infty q^{2n-1} (q^{2n};q^2)_{\infty} (q^{2n-1};q)_\infty (q^{2n};q^2)_{n-1} , \end{align} $$

where the term $q^{2n-1} (q^{2n};q^2)_\infty $ generates the overlined summands and the term $(q^{2n-1};q)_\infty (q^{2n};q^2)_{n-1}$ generates the nonoverlined summands.

For example, we have $C(6)=7$ with the following relevant partitions:

$$ \begin{align*} 5+\bar{1}, 4+\bar{1}+1, \bar{4}+\bar{1}+1, \bar{3}+3, 3+\bar{2}+\bar{1}, 3+2+\bar{1}, 2+ \bar{2}+\bar{1}+1. \end{align*} $$

We have $C_0 (6)= 4$ counting $4+\bar {1}+1, \bar {4}+\bar {1}+1, 3+\bar {2}+\bar {1}, 3+2+\bar {1}$ and $C_1 (6)= 3$ counting $5+\bar {1}, \bar {3}+3, 2+ \bar {2}+\bar {1}+1$ , and therefore $C'(6)=4-3 = 1$ .

Theorem 2.8. We have

$$ \begin{align*} (1-q)\sum_{n=1}^\infty C'(n) q^n =q \bigg( 1+2\sum_{n=2}^\infty (-1)^{n+1} q^{\binom{n}{2}} \bigg). \end{align*} $$

Corollary 2.9. Let $n\geq 1$ be a positive integer and let k be the unique positive integer such that $\binom {k}{2} < n-1 \leq \binom {k+1}{2}$ . Then we have

$$ \begin{align*} C'(n) = (-1)^{k+1}. \end{align*} $$

3 Proof of Theorem 2.2

We shall require the following lemma which is a variant of a result given in Lovejoy [Reference Lovejoy10, (1.7)].

Lemma 3.1. If $(\alpha _n,\beta _n)$ is a Bailey pair relative to $(a^2 q^2, q^2)$ , then

$$ \begin{align*} \sum_{r,n=0}^\infty a^{2n} q^{2n^2+4nr+3n+2r}\frac{1+a q^{2n+2r+2}}{1-a q^{2r+1}}\alpha_r = \frac{(a^2 q^4;q^2)_\infty (q^2;q^2)_\infty}{(aq;q)_\infty} \sum_{n=0}^\infty q^{2n} (aq;q)_{2n} \,\beta_n. \end{align*} $$

Proof. Let $(\alpha _n,\beta _n)$ be a Bailey pair relative to $(a^2 q^2, q^2)$ . Then by [Reference Lovejoy10, (1.7)],

$$ \begin{align*} \sum_{r,n=0}^\infty \frac{a^{n} q^{\binom{n+1}{2}+2nr+n+2r}}{1-a q^{2r+1}}\alpha_r = \frac{(a^2 q^4;q^2)_\infty (q^2;q^2)_\infty}{(aq;q)_\infty} \sum_{n=0}^\infty q^{2n} (aq;q)_{2n} \,\beta_n. \end{align*} $$

Separating the terms according to the parity of n, the left-hand side becomes

$$ \begin{align*} & \sum_{r,n=0}^\infty \frac{a^{2n} q^{n(2n+1)+4nr+2n+2r}}{1-a q^{2r+1}}\alpha_r + \sum_{r,n=0}^\infty \frac{a^{2n+1} q^{(n+1)(2n+1)+4nr+2n+4r+1}}{1-a q^{2r+1}}\alpha_r \\ &\quad = \sum_{r,n=0}^\infty a^{2n} q^{2n^2+4nr+3n+2r}\frac{1+a q^{2n+2r+2}}{1-a q^{2r+1}}\alpha_r, \end{align*} $$

which clearly gives the desired identity.

We need the following Bailey pair relative to $(q^2, q^2)$ (Slater [Reference Slater11, (F2)]):

(3.1) $$ \begin{align} \alpha_n = q^{2n^2+n}\frac{1+q^{2n+1}}{1+q},\quad \beta_n = \frac{1}{(q^3;q^2)_n (q^2; q^2)_n}. \end{align} $$

By Lemma 3.1 applied to the Bailey pair (3.1) with $a=-1$ we derive

$$ \begin{align*} &\sum_{r,n=0}^\infty q^{2n^2 +4rn+ 3n+2r} \frac{1-q^{2n+2r+2}}{1+q^{2r+1}} q^{2r^2+r} \frac{1+q^{2r+1}}{1+q} \\ &\quad = \frac{(q^4;q^2)_\infty (q^2;q^2)_\infty}{(-q;q)_\infty} \sum_{n=0}^\infty q^{2n} \frac{(-q;q)_{2n}}{(q^3;q^2)_n (q^2;q^2)_n}, \end{align*} $$

which simplifies to

$$ \begin{align*} &\sum_{r,n=0}^\infty q^{2n^2 +4rn+ 2r^2 +3n+3r} (1-q^{2r+2n+2}) \\ &\quad =(1+q) \frac{(-q^2;q)_\infty (q^2;q)_\infty (q^2;q^2)_\infty}{(-q;q)_\infty} \sum_{n=0}^\infty \frac{q^{2n} (-q;q)_{2n}}{(q^{2};q)_{2n}} \\ &\quad= (q^2;q)_\infty (q^2;q^2)_\infty \sum_{n=0}^\infty \frac{q^{2n} (-q;q)_{2n}}{(q^{2};q)_{2n}} \\ &\quad =(q^2;q^2)_\infty \sum_{n=0}^\infty q^{2n}(-q;q)_{2n} (q^{2n+2};q)_\infty. \end{align*} $$

This combined with (2.1) yields

$$ \begin{align*} \sum_{n=1}^\infty A'(n) q^n & = \sum_{r,n=0}^\infty ( q^{2(n+r)^2 +3(n+r)+1} - q^{2(n+r)^2 +5(n+r)+3} ) \\ & =\sum_{m=0}^\infty (m+1)( q^{2m^2 +3m +1} -q^{2m^2 +5m +3} ) =\sum_{m=0}^\infty (m+1)( q^{\binom{2m+1}{2}} - q^{\binom{2m+3}{2}} ), \end{align*} $$

which is the desired formula.

4 Proof of Theorem 2.5 and Corollary 2.6

We first prove a lemma.

Lemma 4.1. We have

$$ \begin{align*} &\sum_{r,n=0}^\infty q^{2(n+r)^2+4(n+r)+n+2}(1-q^{2(r+n)+3})(1-q^{2r+2})\\ &\quad=\frac{-1}{(1-q)} \bigg(q+ (1+q) \sum_{m=1}^\infty (-1)^m q^{{m(m+1)}/{2}} \bigg). \end{align*} $$

Proof. We start by noting the following elementary fact:

(4.1) $$ \begin{align} \sum_{m=0}^\infty q^{2m^2+3m+1}(1-q^{2m+2}) = \sum_{m=1}^\infty (-1)^{m+1} q^{{m(m+1)}/{2}}. \end{align} $$

With the help of (4.1),

$$ \begin{align*} & \sum_{r,n=0}^\infty q^{2(n+r)^2+4(n+r)+n+2}(1-q^{2(r+n)+3})(1-q^{2r+2}) \\ & \quad=\sum_{m=0}^\infty q^{2m^2 + 4m +2} (1-q^{2m+3}) \sum_{n=0}^m q^n(1-q^{2(m-n)+2}) \\ & \quad=\frac{1}{1-q}\bigg(\sum_{m=0}^\infty q^{2m^2 + 4m +2} (1-q^{2m+3})(1-q^{m+1}) -\sum_{m=0}^\infty q^{2m^2 + 5m +4} (1-q^{2m+3})(1-q^{m+1}) \bigg)\\ & \quad=\frac{1}{1-q} \sum_{m=0}^\infty q^{2m^2 + 4m +2} (1-q^{2m+3})(1-q^{m+1})(1-q^{m+2})\\ & \quad=\frac{1}{1-q} \sum_{m=0}^\infty q^{2m^2 + 4m +2} (1-q^{4m+6}) - \frac{1+q}{1-q} \sum_{m=0}^\infty q^{2m^2 + 5m +3} (1-q^{2m+3}) \\ &\quad=\frac{q^2}{1-q} + \frac{1+q}{1-q} \sum_{m=0}^\infty q^{2m^2 + 7m+6} - \frac{1+q}{1-q}\bigg(\sum_{m=0}^\infty q^{2m^2+3m+1}+ \sum_{m=1}^\infty (-1)^m q^{{m(m+1)}/{2}} \bigg) \\ & \quad= \frac{q^2}{1-q} - \frac{1+q}{1-q} \sum_{m=0}^\infty q^{2m^2+3m+1}(1-q^{4m+5}) - \frac{1+q}{1-q} \sum_{m=1}^\infty (-1)^m q^{{m(m+1)}/{2}} \\ & \quad= \frac{q^2}{1-q} - \frac{q(1+q)}{1-q} - \frac{1+q}{1-q} \sum_{m=1}^\infty (-1)^m q^{{m(m+1)}/{2}} \\ & \quad= \frac{-q}{1-q} - \frac{1+q}{1-q} \sum_{m=1}^\infty (-1)^m q^{{m(m+1)}{2}}. \end{align*} $$

This completes the proof.

Proof of Theorem 2.5.

We need the following Bailey pair relative to $(q^4, q^2)$ which can be found in Lovejoy [Reference Lovejoy10]:

(4.2) $$ \begin{align} \alpha_n = q^{2n^2+2n}\frac{1-q^{4n+4}}{1-q^4},\quad \beta_n = \frac{1}{(q^4;q^2)_n (q^2; q^2)_n}. \end{align} $$

We apply Lemma 3.1 to the Bailey pair (4.2) with $a=-q$ . This yields, after basic simplification,

$$ \begin{align*} &\frac{1}{1-q^4}\sum_{r,n=0}^\infty q^{2n^2 +4nr+2 r^2 +5n+4r} (1-q^{2r+2})(1-q^{2r+2n+3}) \\ &\quad = \frac{(q^6;q^2)_{\infty} (q^2;q^2)_\infty}{(-q^2;q)_\infty} \sum_{n=0}^\infty q^{2n} \frac{(-q^2;q)_{2n}}{(q^4;q^2)_{n} (q^2;q^2)_{n}}. \end{align*} $$

Rearranging this identity, we successively get

$$ \begin{align*} &\sum_{r,n=0}^\infty q^{2n^2 +4nr+2 r^2 +5n+4r} (1-q^{2r+2})(1-q^{2r+2n+3}) \\ &\quad= \frac{(q^4;q^2)_{\infty} (q^2;q^2)_\infty}{(-q^2;q)_\infty} \sum_{n=0}^\infty q^{2n} \frac{(-q^2;q)_{2n}}{(q^4;q^2)_{n} (q^2;q^2)_{n}} \\ &\quad = \sum_{n=0}^\infty q^{2n} \frac{(q^{2n+4};q^2)_\infty (q^{2n+2};q^2)_\infty}{(-q^{2n+2};q)_\infty} \\ &\quad=\sum_{n=0}^\infty q^{2n} \frac{(q^{2n+2};q)_\infty (q^{2n+4};q^2)_\infty (q^{2n+2};q^2)_\infty} {(q^{4n+4};q^2)_\infty} \\ &\quad = \sum_{n=0}^\infty q^{2n} (q^{2n+2};q)_\infty (q^{2n+2};q^2)_\infty (q^{2n+4};q^2)_n \\ &\quad= \sum_{n=0}^\infty q^{2n} (q^{2n+3};q)_\infty (q^{2n+2};q^2)_\infty (q^{2n+2};q^2)_{n+1} \\ &\quad =\frac{1}{q^2} \sum_{n=1}^\infty q^{2n} (q^{2n+1};q)_\infty (q^{2n};q^2)_\infty (q^{2n};q^2)_{n}, \end{align*} $$

which combined with (2.2) and Lemma 4.1 gives

$$ \begin{align*} (1-q) \sum_{n=2}^\infty B'(n) q^n = \sum_{m=1}^\infty (-1)^{m+1} q^{{m(m+1)}/{2}+1} + \sum_{m=2}^\infty (-1)^{m+1} q^{{m(m+1)}/{2}}, \end{align*} $$

which is equivalent to the desired formula.

Proof of Corollary 2.6.

It is obvious that $B'(2)=1$ . Furthermore, for $n\geq 3$ we derive from Theorem 2.5 that

$$ \begin{align*} \begin{split} B'(n)-B'(n-1) &= \begin{cases} 1 & \text{if } n=\binom{2k}{2}\ \text{or } n=1+ \binom{2k}{2}\ \text{for some } k\in\mathbb{N}_0, \\[1ex] -1 & \text{if } n=\binom{2k-1}{2}\ \text{or } n=1+ \binom{2k-1}{2}\ \text{for some } k\in\mathbb{N}, \\ 0 & \text{otherwise}, \end{cases} \\ & = \begin{cases} (-1)^k & \text{if } n=\binom{k}{2}\ \text{or } n=1+ \binom{k}{2}\ \text{for some } k\in\mathbb{N}_0, \\ 0 & \text{otherwise.} \end{cases} \end{split} \end{align*} $$

Now the result follows by mathematical induction.

5 Proof of Theorem 2.8 and Corollary 2.9

Proof of Theorem 2.8.

We need the following Bailey pair relative to $(q^2, q^2)$ which is obtained in Warnaar [Reference Warnaar12]:

(5.1) $$ \begin{align} \alpha_n = q^{2n^2}\frac{1-q^{4n+2}}{1-q^2},\quad \beta_n = \frac{1}{(q^2; q^2)_{n}^2}. \end{align} $$

By Lemma 3.1 applied to the Bailey pair (5.1) with $a=-1$ ,

$$ \begin{align*} \sum_{r,n=0}^\infty & q^{2n^2 +4rn+ 2r^2 +3n+2r} (1-q^{2r+1})(1-q^{2r+2n+2}) \\ &= (1-q^2) \frac{(q^4;q^2)_\infty (q^2;q^2)_\infty}{(-q;q)_\infty} \sum_{n=0}^\infty \frac{q^{2n} (-q;q)_{2n}}{(q^2;q^2)_{n}^2} =\sum_{n=0}^\infty \frac{q^{2n} (q^{2n+2};q^2)_{\infty}^2}{(-q^{2n+1};q)_\infty} \\ & =\sum_{n=0}^\infty \frac{q^{2n} (q^{2n+2};q^2)_{\infty}^2 (q^{2n+1};q)_\infty}{(q^{4n+2};q^2)_\infty} = \sum_{n=0}^\infty q^{2n} (q^{2n+2};q^2)_n (q^{2n+2};q^2)_{\infty}^2 (q^{2n+1};q^2)_\infty, \end{align*} $$

that is,

$$ \begin{align*} &\sum_{r,n=0}^\infty q^{2(n+r)^2 +2(n+r)+n+1} (1-q^{2r+1})(1-q^{2r+2n+2}) \\ &\quad = \sum_{n=1}^\infty q^{2n-1} (q^{2n-1};q)_{\infty} (q^{2n};q^2)_{\infty} (q^{2n};q^2)_{n-1}. \end{align*} $$

This combined with (2.3) implies

$$ \begin{align*} \sum_{n=1}^\infty C'(n) q^n & =\sum_{r,n=0}^\infty q^{2(n+r)^2 +2(n+r)+n+1} (1-q^{2(r+n)+2})(1-q^{2r+1}) \\ & =\sum_{m=0}^\infty q^{2m^2 + 2m +1} (1-q^{2m+2}) \sum_{n=0}^m q^n(1-q^{2(m-n)+1}) \\ & =\frac{1}{1-q} \sum_{m=0}^\infty q^{2m^2 + 2m +1} (1-q^{2m+2})(1-q^{m+1})^2 \\ & = \frac{1}{1-q}\sum_{m=0}^\infty q^{2m^2 + 2m +1} (1-q^{4m+4}) - \frac{2q}{1-q}\sum_{m=0}^\infty q^{2m^2 + 3m +1} (1-q^{2m+2}) \\ & =\frac{q}{1-q}+\frac{2q}{1-q} \sum_{m=1} (-1)^m q^{{m(m+1)}/{2}}, \end{align*} $$

where the last equality follows from (4.1). Rearranging this result gives

$$ \begin{align*} (1-q) \sum_{n=1}^\infty C'(n) q^n = q+ 2\sum_{m=1} (-1)^m q^{{m(m+1)}/{2}+1} =q+ 2\sum_{m=2} (-1)^{m+1} q^{\binom{m}{2}+1}, \end{align*} $$

which completes the proof.

Proof of Corollary 2.9.

By Theorem 2.8,

$$ \begin{align*} C'(1)q + \sum_{n=2}^\infty ( C'(n)-C'(n-1) ) q^n = q+ 2\sum_{n=2} (-1)^{n+1} q^{\binom{n}{2}+1}, \end{align*} $$

from which we get for $n>1$ ,

$$ \begin{align*} C'(n)-C'(n-1) = \begin{cases} 2 (-1)^{k+1} & \text{if } n-1 = \binom{k}{2} \ \text{for some } k\in\mathbb{N}, \\ 0 & \text{otherwise.} \end{cases} \end{align*} $$

Combining this relation with the obvious fact that $C'(1)=1$ we achieve the desired formula by mathematical induction.

6 Concluding remarks

We first observe that one of the key features of this work is that our results of Legendre type do not use standard q-series formulas or the usual Bailey pair method to produce an identity between a q-series and a theta-type series.

The Bailey pair process is a strong tool to produce more Legendre theorems for integer partitions and overpartitions as double sums. In this work, we restricted ourselves to the application of a single Bailey lemma to only three Bailey pairs as we faced the challenge of rewriting double sums as single sums by employing other Bailey pairs. For instance, we are able to establish

(6.1) $$ \begin{align} &\sum_{n=1}^\infty q^{2n-1} (q^{2n};q)_\infty (q^{2n};q^2)_\infty (q^{2n};q^2)_{n-1}\nonumber\\ &\quad= \sum_{r,n=0}^\infty q^{2(n+2r)^2 + 5n +4r +1}(1-q^{2(n+2r)+3})(1-q^{4r+2}) \end{align} $$

whose left-hand side is similar to the right-hand side of (2.2). However, we did not succeed in finding a simpler formula for the double sum in (6.1).

Motivated by the formulas in Theorem 2.2 and Corollary 2.3 related to the series

$$ \begin{align*} (q^2;q^2)_\infty \sum_{n=1}^\infty q^{2n-1} (-q;q)_{2n-2} (q^{2n};q)_\infty, \end{align*} $$

it is natural to consider the similar q-series

$$ \begin{align*} (q;q)_\infty \sum_{n=1}^\infty q^{2n-1} (-q;q)_{2n-2} (q^{2n};q)_\infty \quad\mbox{and}\quad (q;q^2)_\infty \sum_{n=1}^\infty q^{2n-1} (-q;q)_{2n-2} (q^{2n};q)_\infty. \end{align*} $$

However, we were not able to find closed formulas for these two series. Furthermore, regarding the related series

$$ \begin{align*} \sum_{n=1}^\infty q^{2n-1} (-q;q)_{2n-2} (q^{2n};q)_\infty, \end{align*} $$

while we were able to prove by a combinatorial argument that its coefficients are nonnegative, we did not find such a proof based on hypergeometric q-series.

Acknowledgement

The author is grateful to the referee for valuable comments and interesting suggestions which have improved the presentation and quality of the paper.

References

Andrews, G. E., $q$ -Series: Their Development and Application in Analysis, Number Theory, Combinatorics, Physics and Computer Algebra, CBMS Regional Conference Series in Mathematics, 66 (American Mathematical Society, Providence, RI, 1986).Google Scholar
Andrews, G. E., The Theory of Partitions (Cambridge University Press, Cambridge, 1998).Google Scholar
Andrews, G. E. and Yee, A. J., ‘Legendre theorems for subclasses of overpartitions’, J. Combin. Theory Ser. A 144 (2016), 1636.CrossRefGoogle Scholar
Corteel, S. and Lovejoy, J., ‘Overpartitions’, Trans. Amer. Math. Soc. 356 (2004), 16231635.CrossRefGoogle Scholar
Gasper, G. and Rahman, M., Basic Hypergeometric Series (Cambridge University Press, Cambridge, 2004).CrossRefGoogle Scholar
Kim, B., Kim, E. and Lovejoy, J., ‘On weighted overpartitions related to some $q$ -series in Ramanujan’s lost notebook’, Int. J. Number Theory 17 (2021), 603619.CrossRefGoogle Scholar
Legendre, A. M., Théorie des Nombres (Frémin Didot Frères, Paris, 1830).Google Scholar
Lovejoy, J., ‘Gordon’s theorem for overpartitions’, J. Combin. Theory Ser. A 103 (2003), 393401.CrossRefGoogle Scholar
Lovejoy, J., ‘Rank and conjugation for the Frobenius representation of an overpartition’, Ann. Comb. 9 (2005),321334.CrossRefGoogle Scholar
Lovejoy, J., ‘Ramanujan-type partial theta identities and conjugate Bailey pairs’, Ramanujan J. 29 (2012), 5167.CrossRefGoogle Scholar
Slater, L. J., ‘A new proof of Roger’s transformations of infinite series’, Proc. Lond. Math. Soc. (3) 53(2) (1951), 460475.CrossRefGoogle Scholar
Warnaar, S. O., ‘Partial theta functions. I. Beyond the lost notebook’, Proc. Lond. Math. Soc. (3) 87 (2003), 363395.CrossRefGoogle Scholar
Warnaar, S. O., ‘50 years of Bailey’s lemma’, in: Algebraic Combinatorics and Applications (eds. Betten, A., Kohnert, A., Laue, R. and Wassermann, A.) (Springer, Berlin, 2009), 333347.Google Scholar