1 Introduction and Statement of Results

A series \({\sum \nolimits _{n=0}^{\infty } a(n)q^n}\) is said to be lacunary if “almost all” of its coefficients are zero; that is, if we have

$$\begin{aligned} \displaystyle {\lim _{x \rightarrow \infty } \frac{ \# \{ 0 \le n < x : a(n)=0 \} }{x}=1}. \end{aligned}$$

Two examples of generating functions which are lacunary come from identities due to Euler and Jacobi:

$$\begin{aligned} \prod _{n = 1}^{\infty } \left( 1-q^{n} \right)= & {} \sum _{m= -\infty }^{\infty } (-1)^{m}q^{\frac{3m^{2}+m}{2}}, \end{aligned}$$
(1.1)
$$\begin{aligned} \prod _{n = 1}^\infty (1-q^{n})^3= & {} \sum _{m =-\infty }^{\infty } (-1)^{m}(2m+1)q^{\frac{m^2+m}{2}}. \end{aligned}$$
(1.2)

These combinatorial identities all have partition-theoretic interpretations. For example, Euler’s identity (1.1) gives a recurrence for calculating p(n), the number of partitions of n. Further, they are all related to modular forms by the Dedekind \(\eta \)-function,

$$\begin{aligned} \eta (z) :=q^{\frac{1}{24}} \prod _{n = 1}^\infty (1-q^{n}), \end{aligned}$$
(1.3)

where \(q=e^{2\pi i z}\) and \(\text {Im}(z)>0\). It is well-known that \(\eta (24z)\) is a weight \(\frac{1}{2}\) modular cusp form on \(\Gamma _{0}(576)\) with Nebentypus character \(\left( \frac{12}{n} \right) \). For background on modular forms, see [8].

In light of (1.1) and (1.2), it is natural to investigate the lacunarity of

$$\begin{aligned}\displaystyle {f_{r}(z) :=\prod _{n = 1}^\infty (1-q^{n})^{r}= \sum _{m=0}^{\infty } \tau _{r}(m)q^{m}}.\end{aligned}$$

The series \(f_{r}(z)\) is closely related to modular forms via the Dedekind \(\eta \)-function. Indeed, \(\eta (24z)^{r}=q^{r}f_{r}(24z)\) is a modular cusp form of weight \(\frac{r}{2}\) on \(\Gamma _{0}(576)\). Via the connection of \(f_{r}(z)\) to modular forms, Serre [10] investigated the lacunarity of \(\eta (24z)^{r}\) and thus \(f_{r}(z)\): he proved that, if r is even, then \(f_{r}(z)\) is lacunary if and only if \(r \in \{ 2,4,6,8,10,14,26 \}\).

Remark

If r is odd, the lacunarity of \(f_{r}(z)\) is not as well-understood since, in this case, \(\eta (24z)^r\) has half-integral weight, and so the methods developed by Serre are not applicable. Of course, it is evident from (1.1) and (1.2) that both \(f_1(z)\) and \(f_3(z)\) are lacunary.

At first glance, it is not obvious that the series \(f_{r}(z)\) is always a relative of the partition generating function

$$\begin{aligned} f_{-1}(z) = \sum _{m = 0}^\infty p(m) q^m = \prod _{n = 1}^\infty \frac{1}{1 - q^n}. \end{aligned}$$

However, work by Nekrasov and Okounkov [7] provides the key connection via an extension of this generating function. Let \({\mathcal {P}}\) be the set of partitions of an integer \(n \ge 1\). Recall that for a partition \(\lambda \) of n, we can label each box u of its Ferrers diagram with a positive integer called the hook length, the number of boxes v such that \(v = u\), v lies in the same column and below u, or v lies in the same row and to the right of u. For example, when \(n = 11\), we have the following Ferrers diagram for the partition \(\lambda '=6+4+1\) (Fig. 1):

Fig. 1
figure 1

The Ferrers diagram of \(\lambda ' = 6 + 4 + 1\)

We define the multiset of all hook lengths of \(\lambda \) to be \({\mathcal {H}}(\lambda )\). For \(\lambda '\), we have \({\mathcal {H}}(\lambda ') = \{1, 1, 1, 2, 2, 3, 4, 5, 5, 6, 8\}\). Nekrasov and Okounkov [7] generalized a result of Macdonald [6] to create a partition-theoretic generating function. They showed that, for any \(b \in {\mathbb {C}}\), one has

$$\begin{aligned} f_{b-1}(z)= \prod _{n = 1}^\infty (1-q^{n})^{b-1} =\sum _{\lambda \in {\mathcal {P}}}q^{|\lambda |} \prod _{h \in {\mathcal {H}}(\lambda )} \left( 1- \frac{b}{h^{2}} \right) . \end{aligned}$$

Given an integer \(a \ge 1\), we consider the subset \({\mathcal {H}}_{a}(\lambda ) \subseteq {\mathcal {H}}(\lambda )\) defined by

$$\begin{aligned} {\mathcal {H}}_a(\lambda ) :=\{ h\, :\, h \in {\mathcal {H}}(\lambda ), h \equiv 0 \pmod {a} \}. \end{aligned}$$
(1.4)

A partition \(\lambda \) is said to be an a-core if \({\mathcal {H}}_{a}(\lambda )= \emptyset \). For \(\lambda '\), we have that \({\mathcal {H}}_{2}(\lambda ')= \{ 2,2,4,6,8 \}\) and that \(\lambda '\) is an a-core for \(a=7\) and all \(a \ge 9\). Han [5] generalized Nekrasov and Okounkov’s formula to incorporate this set \({\mathcal {H}}_{a}(\lambda )\):

$$\begin{aligned} \displaystyle \sum _{\lambda \in {\mathcal {P}}} q^{|\lambda |} \prod _{h \in {\mathcal {H}}_a(\lambda )} \left( y-\frac{aby}{h^2}\right) = \prod _{n = 1}^\infty \frac{(1-q^{an})^a(1 - (yq^a)^n)^{b - a}}{ (1 - q)^n}, \end{aligned}$$
(1.5)

where \(b,y \in {\mathbb {C}}\). When \(y = a = 1\), one recovers the identity of Nekrasov and Okounkov. We are interested in the case where \(y = q^{a(c - 1)}\) for \(c \ge 1\). Hence, for \(a,b,c \ge 1\) we define

$$\begin{aligned} F_{a,b,c}(z) :=\frac{\eta (24az)^a \eta (24acz)^{b-a}}{\eta (24z)}= q^{r} \prod _{n = 1}^\infty \frac{(1-q^{24an})^{a} (1-q^{24acn})^{b-a}}{1-q^{24n}}, \end{aligned}$$
(1.6)

where \(r :=abc+a^{2}-a^{2}c-1\).

Remark

In Lemma 2.1, we show that \(F_{a,b,c}(z)\) is a weakly holomorphic modular form of weight \(\frac{b-1}{2}\) whenever b is odd. From now on, we assume \(a,b,c \ge 1\) are all integers and b is odd.

Note that this is a generalization of Clader et al.’s [2] work for which they took \(c = 1\), corresponding to \(y = 1\). In view of Serre’s work and Han’s partition-theoretic interpretation, they investigated the lacunarity of \(F_{a,b,1}(z)\) and showed that there are finitely many pairs (ab) for which \(F_{a,b,1}(z)\) is lacunary. The complete list they gave is replicated in the table below:

a

b such that \(F_{a,b,1}\) is lacunary

1

\(\{ 3,5,7,9,11,15,27 \}\)

2

\(\{ 3,5,7 \}\)

4

\( \{ 5,7 \}\)

5

\( \{ 7,11 \}\)

6

\( \emptyset \)

7

\( \{9,15 \}\)

We now focus our attention to the case where \(c \ge 1\). It turns out that when we allow c to vary, there are infinitely many lacunary \(F_{a,b,c}(z)\). In fact, our first theorem shows that for \(a \in \{1,2,3\}\), there exist infinite families of triples (abc) such that \(F_{a,b,c}(z)\) is lacunary.

Theorem 1.1

For \(F_{a,b,c}(z)\) as defined above, the following are true:

  1. (1)

    If \(b = 3\) and \(a \in \{1,2,3\}\), then \(F_{a,b,c}(z)\) is lacunary for all c.

  2. (2)

    If \(b = 5\) and \(a \in \{1,2\}\), then \(F_{a,b,c}(z)\) is lacunary for all c.

Remark

Note that this is not a complete classification of lacunary \(F_{a,b,c}(z)\) for \(a \in \{ 1,2,3\}\).

However, if \(a \ge 4\), then we obtain a different phenomenon. Namely, there are only finitely many triples (abc) such that \(F_{a,b,c}(z)\) is lacunary.

Theorem 1.2

If \(a \ge 4\), \(b \ge 1\) is odd, and \(c \ge 2\), then \(F_{a,b,c}(z)\) is not lacunary apart from three possible exceptions where \((a,b,c) \in \{(4,5,3), (4,5,5), (4,5,11)\}\).

To obtain this result, we make use of the theory of modular forms with complex multiplication, Granville and Ono’s [4] proof of the t-core partition conjecture, and the Pólya–Vinogradov Inequality.

We begin by recalling some preliminaries in Sect. 2. In Sect. 3, we prove Theorem 1.1 and Theorem 1.2. Finally, in Sect. 4 we conjecture that \(F_{4,5,3}(z)\), \(F_{4,5,5}(z)\), and \(F_{4,5,11}(z)\) are lacunary and discuss a method by which one can show this.

2 Preliminaries

In this section, we recall the modularity properties of \(\eta \)-quotients as well as various conditions on modular forms for lacunarity.

2.1 \(\eta \)-Quotients

Let \(M_k(\Gamma _0(N), \chi )\) (resp. \(S_k(\Gamma _0(N), \chi ))\) denote the complex vector space of holomorphic (resp. cuspidal) modular forms of weight k with Nebentypus character \(\chi \) on \(\Gamma _0(N)\). An important example of a cuspidal modular form is the Dedekind \(\eta \)-function, defined in (1.3). Products of powers of the Dedekind \(\eta \)-function, \(\eta \)-quotients, are central to this paper. Formally, an \(\eta \)-quotient is any function f that can be written as

$$\begin{aligned} f(z) = \prod _{\delta \mid N} \eta (\delta z)^{r_\delta } \end{aligned}$$
(2.1)

for some N and each \(r_{\delta } \in {\mathbb {Z}}\). Theorem 1.64 of [8] gives conditions for when certain \(\eta \)-quotients are weakly holomorphic, which means that the poles are supported at cusps. In particular, if there is N such that

$$\begin{aligned} k :=&\frac{1}{2} \sum _{\delta \mid N} r_{\delta } \in {\mathbb {Z}},\\ \sum _{\delta \mid N} \delta r_\delta \equiv&0 \pmod {24}, \end{aligned}$$

and

$$\begin{aligned} \sum _{\delta \mid N} \frac{N}{\delta }r_{\delta } \equiv 0 \pmod {24}, \end{aligned}$$

then f(z) is a weakly holomorphic modular form of weight k on \(\Gamma _0(N)\) with Nebentypus character \(\chi (d) :=\left( \frac{(-1)^k s}{d}\right) \), where \(\displaystyle s :=\prod \nolimits _{\delta \mid N} \delta ^{r_\delta }\). We can also compute the order of vanishing of f(z) at a cusp \(\frac{x}{y}\), for \(y \mid N\) and \(\gcd (x,y) = 1\) using the formula from Theorem 1.65 of [8]:

$$\begin{aligned} \frac{N}{24}\sum _{\delta \mid N}\frac{\gcd (y, \delta )^2 r_\delta }{\gcd (y, \frac{N}{y})y \delta }. \end{aligned}$$
(2.2)

By considering the order of vanishing for all possible \(y \mid N\), one can determine whether f(z) is holomorphic or cuspidal. Applying this theory to our series \(F_{a,b,c}(z)\), we have the following:

Lemma 2.1

Let \(F_{a,b,c}(z)\) be as in (1.6). Then \(F_{a,b,c}(z)\) is a weakly holomorphic modular form of weight \(k=\frac{b-1}{2}\) on \(\Gamma _{0}(576ac)\) with Nebentypus character

$$\begin{aligned} \chi _{F}(d) = {\left\{ \begin{array}{ll} \left( \frac{(-1)^{k}ac}{d} \right) \text { if } a \text { is even} \\ \left( \frac{(-1)^{k}a}{d} \right) \text { if } a \text { is odd}. \end{array}\right. } \end{aligned}$$

Furthermore, \(F_{a,b,c}(z)\) is holomorphic if and only if \(b \ge a\) and cuspidal if and only if \(b>a\).

Remark

We choose to include a factor of 24 in the definition of \(F_{a,b,c}(z)\) to guarantee that the conditions mentioned above are satisfied for all triples (abc). This implies that \(F_{a,b,c}(z)\) is a weakly holomorphic modular form on \(\Gamma _0(N)\), where \(N = 576ac\). In general, this N is not necessarily optimal. The optimal N may require altering the factor of 24 in the definition of \(F_{a,b,c}(z)\) to some smaller m satisfying \(mr \equiv 0 \pmod {24}\) for r defined in (1.6). The optimal level of this new modular form is then \(N_{opt} :={{\,\mathrm{lcm}\,}}(a,c)nm\), where the integer \(n \ge 1\) is chosen minimally to satisfy \(\frac{{{\,\mathrm{lcm}\,}}(a,c)}{ac} \cdot n(b-a) \equiv 0 \pmod {24}\).

2.2 Conditions on Modular Forms for Lacunarity

The lacunarity of certain modular forms is already known. Suppose first that f(z) is a weight-one holomorphic modular form on a congruence subgroup. Deligne and Serre (Proposition 9.7 in [3]) showed that f(z) must be lacunary by expressing the coefficients in terms of the Artin L-function. Next, suppose that f(z) is a weakly holomorphic modular form of integral weight \(k \ge 2\). If f(z) has a pole at one of its cusps, then it cannot be lacunary. This can be shown using the Hardy–Littlewood circle method, which gives estimates for the magnitude of the Fourier coefficients of f(z) as in Chapter 5 of [1]. Additionally, if f(z) is holomorphic but not cuspidal, then it cannot be lacunary since f(z) can be expressed as a linear combination of Eisenstein series together with a cusp form. Known bounds on the coefficients of such forms preclude them from being lacunary.

In light of these remarks, we may restrict our study of the lacunarity of \(F_{a,b,c}(z)\) to the space of cusp forms of level N and integral weight \(k \ge 2\). Central to this study are modular forms with complex multiplication. Serre  [10] proved that an element of \(S_{k}(\Gamma _{0}(N),\chi )\) is lacunary if and only if it is expressible as a linear combination of forms with complex multiplication. We denote the space of cusp forms of weight k with complex multiplication and Nebentypus character \(\chi \) on \(\Gamma _{0}(N)\) by \(S^{CM}_k(\Gamma _{0}(N), \chi )\) and will sometimes call forms with complex multiplication CM forms.

Recall that given any modular form \(f(z) \in M_{k}(\Gamma _{0}(N), \chi )\), the action of the Hecke operator \(T_{s}\) on f(z) is defined by

$$\begin{aligned} f(z) | T_{s}= \displaystyle {\sum _{m=0}^{\infty }\left( \sum _{d \mid \gcd (s,m)} \chi (d)d^{k-1}a(sm/d^{2})\right) q^{m}}, \end{aligned}$$

where \(\chi (m)=0\) if \(\gcd (N,m) \ne 1\). When \(s=p\) is prime, this definition reduces to

$$\begin{aligned} f(z) | T_{p} = \displaystyle {\sum _{m=0}^{\infty }\left( a(pm)+\chi (p)p^{k-1}a(m/p) \right) q^{m}}, \end{aligned}$$

where we define \(a(m/p) :=0\) whenever \(p \not \mid m\). We now state an extension of a well-known lemma by Serre [10], which can be seen in Ref. [2]. It says that given a cusp form with complex multiplication, the action of certain Hecke operators is zero.

Lemma 2.2

Let \(g \in S^{CM}_k(\Gamma _{0}(N),\chi )\). If s is an integer such that \(\gcd (N,s)=1\) and there is no ideal of norm s in the ring of integers of \({\mathbb {Q}}(\sqrt{-d})\) for any \(d > 0\) with \(d \mid N\), then \(g | T_{s} =0\).

Remark

Note that for a given N, there always exists an s satisfying the hypotheses of the previous lemma. This follows since a positive proportion of all integers are relatively prime to N and, for a fixed d, \(0 \% \) of integers are norms of ideals in the ring of integers of \({\mathbb {Q}}(\sqrt{-d})\).

3 Proofs of Theorems

3.1 Proof of Lemma 2.1

For \(F_{a,b,c}(z)\), take \(N = 576ac\) and \(\delta _1 = 24a\), \(\delta _2 = 24ac\), \(\delta _3 = 24\) as seen in Sect. 2.1. So \(r_{\delta _1} = a\), \(r_{\delta _2} = b - a\), and \(r_{\delta _3} = -1\). Then \(F_{a,b,c}(z)\) satisfies the appropriate conditions to be a weakly holomorphic modular form with Nebentypus character \(\chi _F(d) = \left( \frac{(-1)^k 24^{b - 1}a^b c^{b - a}}{d}\right) \). Properties of the Kronecker symbol give the desired \(\chi _F\) for a even and odd.

The order of vanishing of a cusp \(\frac{x}{y}\) obtained using (2.2) is given by the expression

$$\begin{aligned} \frac{\gcd (y, 24a)^2 a c + \gcd ({y, 24ac)^2 (b - a) - \gcd (y, 24)^2ac}}{\gcd (y, \frac{576ac}{y})}. \end{aligned}$$

As the numerator is nonnegative when \(b \ge a\), \(F_{a,b,c}(z)\) is holomorphic under this condition. To show the conditions of Lemma 2.1 precisely, we take \(y = 24\), for which the numerator is nonnegative for \(b \ge a\) and strictly positive for \(b > a\). Therefore, \(F_{a,b,c}(z)\) is only holomorphic for \(b \ge a\) and cuspidal for \(b > a\). \(\square \)

3.2 Proof of Theorem 1.1

For (1), it suffices to recall from Sect. 2.2 that weight-one holomorphic modular forms are lacunary. For (2), if \(a = 1\), then \(F_{1,5,c}(z) = \eta (24cz)^4\), which is lacunary due to Serre’s [10] classification of even r’s for which \(\eta (z)^r\) is lacunary. If \(a = 2\), we use (1.2) and an identity given in Ref. [8] to express \(F_{2,5,c}(z)\) as follows:

$$\begin{aligned} F_{2,5,c}(z)&= \frac{\eta (48z)^2}{\eta (24z)} \cdot \eta (48cz)^3 = \left( \sum _{n = 0} ^ \infty q^{3(2n + 1)^2} \right) \left( \sum _{m = 0}^\infty (-1)^m (2m + 1) q^{3c (2m+1)^2}\right) \\&= \sum _{n = 0}^\infty \sum _{m = 0}^\infty (-1)^m(2m + 1)q^{3(2n + 1)^2 + 3c(2m + 1)^2}. \end{aligned}$$

As can be seen in Ref. [9], binary quadratic forms represent 0% of the positive integers, so \(F_{2,5,c}(z)\) is lacunary for all c. \(\square \)

3.3 Proof of Theorem 1.2

To prove this theorem, we first show that for a fixed pair (ac) with \(a \ge 4\) and \(c \ge 1\), there are only finitely many b such that \(F_{a,b,c}(z)\) is lacunary. Next, we show that there are finitely many such pairs (ac) such that \(F_{a,b,c}\) is lacunary by bounding the product ac. This implies that there are finitely many triples (abc) with \(a \ge 4\) and \(c \ge 1\) such that \(F_{a,b,c}(z)\) is lacunary. Finally, we use an algorithm to show that, of the remaining triples, the only possible lacunary triples (abc) are (4, 5, 3), (4, 5, 5), and (4, 5, 11). In Sect. 4, we discuss a method that one could use to complete this classification.

Lemma 3.1

Fix \(a \ge 4\) and \(c \ge 1\). Then there exist finitely many odd \(b \ge 1\) such that \(F_{a,b,c}(z)\) is lacunary.

Proof

We only consider \(b \ge 5\) since \(F_{a,b,c}(z)\) is weakly holomorphic otherwise. Choose s satisfying the conditions of Lemma 2.2 where \(N=576ac\) is the level of \(F_{a,b,c}\). Note that, since \(2,3 \mid 576\), \(2,3 \not \mid s\). As seen in Sect. 2, a result of Serre [10] states that \(F_{a,b,c}(z)\) lacunary if and only if it is expressible as a linear combination of CM forms. By Lemma 2.2, \(F_{a,b,c}(z)\) is not lacunary unless \(F_{a,b,c}(z) | T_s = 0\). We show only finitely many odd b satisfy this condition. Suppose for simplicity that \(s = p\) is prime. This is possible since s is square-free and \(T_{\alpha }T_{\beta }=T_{\alpha \beta }\) whenever \(\gcd (\alpha ,\beta )=1\). Define the coefficients \(A_{a,b,c}(m)\) by the expansion

$$\begin{aligned} F_{a,b,c}(z) = q^{r} \prod _{n = 1}^\infty \frac{(1-q^{24an})^{a} (1-q^{24acn})^{b-a}}{1-q^{24n}} = \sum _{m = 0}^\infty A_{a,b,c}(m)q^{24m+r}, \end{aligned}$$
(3.1)

for r as defined in (1.6). Therefore, acting on \(F_{a,b,c}(z)\) with \(T_p\), we obtainFootnote 1

$$\begin{aligned} F_{a,b,c}(z)| T_p = \sum _{\begin{array}{c} m \ge 0 \\ p \mid 24m+r \end{array}}A_{a,b,c}(m) q^{\frac{24m+r }{p}} + \chi _F(p) p ^\frac{b - 3}{2} \sum _{m \ge 0} A_{a,b,c}(m)q^{p(24m + r)}. \end{aligned}$$
(3.2)

Choose \(m_0 \ge 0\) minimal such that \(p \mid 24 m_{0} + r\). Note that we must have \(0 \le m_{0} \le p-1\). Indeed, suppose that \(24m_{0}+r \equiv 0 \pmod {p}\). Because \(2,3 \not \mid s\), \(p \ne 2,3\). So 24 is invertible \(\pmod {p}\). Hence \(m_{0} \equiv -r \cdot 24^{-1} \pmod {p}\). Thus, if \(m_{0} \ge 0\) is minimal satisfying \(p \mid 24m_{0}+r\), then we must have \( 0 \le m_{0} \le p-1\). We show that this term cannot appear in the second sum, so \(A_{a,b,c}(m_0)\) is the coefficient of \(q^{\frac{24 m_0 + r}{p}}\) in the Fourier expansion of \(F_{a,b,c}(z) | T_p\).Footnote 2 First note that for \(m \ge 1\),

$$\begin{aligned} p(24m + r) > \frac{24 m_0 + r}{p}, \end{aligned}$$

by the inequality \(m_0 \le p -1\). Next, looking at the first term of the second sum, we show that \(\frac{24 m_0 + r}{p} \ne pr\). If \(\frac{24m_{0}+r}{p}=pr\), then using the inequality \(0 \le m_0 \le p - 1\) again, one obtains:

$$\begin{aligned}24(p - 1) \ge 24 m_0 = r(p^2 - 1),\end{aligned}$$

which gives

$$\begin{aligned}24 \ge (p + 1)r = (p + 1)(abc + a^2 - a^2c - 1).\end{aligned}$$

This inequality can only hold if \(p \le 23\). Each prime \(p \le 23\) yields a finite set of triples (abc) for which the inequality holds. We reach a contradiction for each triple by calculating \(m_0\) and checking equality of the first exponents of each of the two sums.

Therefore, because \(A_{a,b,c}(m_{0})\) is the coefficient of \(q^{\frac{24 m_0 + r}{p}}\) it suffices to show \(A_{a,b,c}(m_{0}) = 0\) for finitely many b. These will be the only possible b for which \(F_{a,b,c}(z)\) is lacunary. Notice from (3.1) that

$$\begin{aligned} F_{a,b,c}(z)= & {} q^{r}\prod _{n = 1}^\infty (1 + q^{24n} + \cdots + q^{24(a - 1)})(1 - q^{24an})^{a - 1}(1 - q^{24acn})^{b - a} \\= & {} \sum _{m = 0}^\infty A_{a,b,c}(m)q^{24m+r}. \end{aligned}$$

Since a and c are fixed, the coefficient \(A_{a,b,c}(m)\) is a polynomial in b with degree at most \(\left\lfloor \frac{m}{ac} \right\rfloor \). Let’s observe this phenomenon for \(a = 4\) and \(c = 1\):

$$\begin{aligned} F_{4,b,1}(z) = q^r \prod _{n=1}^{\infty } \frac{ (1-q^{96n})^{b}}{1-q^{n}} = q^r \prod _{n=1}^{\infty } \left( 1+q^{24n}+q^{48n}+q^{96n} \right) \left( 1-q^{96n} \right) ^{b-1}. \end{aligned}$$

By considering the possible ways that terms in this product could multiply to \(q^{96 + r}\), we deduce that

$$\begin{aligned} A_{4,b,1}(4)= -\left( {\begin{array}{c}b-1\\ 1\end{array}}\right) +1+1+1+1=-b+5. \end{aligned}$$

Hence \(A_{4,b,1}(4)\) is a polynomial in b of degree at most \(\left\lfloor \frac{4}{4 \cdot 1} \right\rfloor = 1\).

We now show that for \(a \ge 4\), \(A_{a,b,c}(m)\) is a nonzero polynomial in b for all m. Therefore \(A_{a,b,c}(m_0) = 0\) for finitely many b. Note that, because \(A_{a,b,c}(m)\) is a polynomial in variable b, we may plug in any value for b (we are viewing b as a formal variable). Plugging \(b=a\) into (3.1), we have:

$$\begin{aligned} \prod _{n = 1}^\infty \frac{(1-q^{24an})^{a}}{(1-q^{24n})}= \sum _{m = 0}^\infty A_{a,a,c}(m)q^{24m}. \end{aligned}$$
(3.3)

We show \(A_{a,a,c}(m) \ne 0\) for \(m \ge 0\). Note that from Corollary 1.9 in Ref. [5] we have the following:

$$\begin{aligned} \sum _{m = 0}^\infty A_{a,a,c}(m)q^{24m}&= \prod _{n = 1}^\infty \frac{(1-q^{24an})^{a}}{1-q^{24n}} = \sum _{\lambda \text { is an } a\text {-core }}q^{24 |\lambda |} \\&= \sum _{m = 0}^\infty \# \{ \lambda :| \lambda |=m \text { and } \lambda \text { is an }a\text {-core} \}q^{24m}. \end{aligned}$$

It then follows from Granville and Ono’s [4] proof of the t-core partition conjecture that \(\# \{ \lambda :| \lambda | =m \text { and } \lambda \text { is an }a\text {-core } \} \ge 1\), since we are assuming \(a \ge 4\). Thus, \(A_{a,b,c}(m)\) is a nonzero polynomial in b for all \(m \ge 0\). \(\square \)

The following lemma is a direct generalization of Theorem 1.1 in [2]. In order to prove this lemma, we recall the Pólya–Vinogradov Inequality which states that given a nontrivial Dirichlet character \(\chi \) with modulus m, the following holds for any integer h:

$$\begin{aligned} \Bigg | \sum _{x=1}^{h}\chi (x) \Bigg | \le 2 \sqrt{m} \log m. \end{aligned}$$
(3.4)

Lemma 3.2

If \(a \ge 4\) there exist finitely many triples (abc) so that \(F_{a,b,c}(z)\) is lacunary.

Proof

For each pair (ac), there exists an s satisfying the conditions of Lemma 2.2. We show that for all but finitely many pairs, there is an \(s<ac\). Then, by (3.1), the set of odd b for which \(F_{a,b,c}(z)\) is lacunary is a subset of the roots of the nonzero polynomials \(A_{a,b,c}(0), \ldots , A_{a,b,c}(s-1)\). All of these polynomials have degree less than or equal to \(\big \lfloor \frac{s}{ac} \big \rfloor \), so no b can exist for all but finitely many pairs (ac).

Fix \(a \ge 4\) and \(c \ge 1\). Let \(a'\) be the square-free part of 576ac, the level of \(F_{a,b,c}(z)\). Note that if a positive integer s satisfies \( \left( \frac{-1}{s} \right) = -1\) and \(\left( \frac{-p}{s} \right) = -1\) for all primes \(p \mid a'\), then s satisfies the conditions of Lemma 2.2. Indeed, these conditions imply that \(\left( \frac{-d}{s} \right) = -1\) for all positive integers d dividing the level of \(F_{a,b,c}(z)\) by properties of the Kronecker symbol. Recall that a prime q is inert in the ring of integers of \({\mathbb {Q}}(\sqrt{-d})\) if \(\left( \frac{-d}{q} \right) = -1\). By considering the prime factorization of s and the multiplicativity of the Kronecker symbol, there does not exist any ideal of norm s in the ring of integers of \({\mathbb {Q}}(\sqrt{-d})\) if \(\left( \frac{-d}{s} \right) = -1\).

We first assume that \(a'=6ac\). We show that there is a \(\kappa \) such that whenever \(a' = 6ac \ge \kappa \) there exists an \(s < ac\) satisfying the desired conditions. It suffices to find an \(s \equiv 23 \pmod {24}\) such that \(\left( \frac{-p}{s} \right) =-1\) for all primes \(p \mid ac\) \(( \text {note that if }s \equiv 23 \pmod {24}, ( \frac{-2}{s} ) = ( \frac{-3}{s}) =-1 )\). Write \(ac=p_{1}p_{2} \cdots p_{m}\), where the \(p_{i}\) are distinct primes not equal to 2 or 3. Consider the following linear combination of Dirichlet characters:

$$\begin{aligned} g_{ac}(s) :=\frac{1}{2^{m}} \cdot \displaystyle {\sum _{d \mid ac} \mu (d)\psi _{d}(s)}, \end{aligned}$$

where \(\psi _{d}(s) :={\prod \nolimits _{p \mid d}} \left( \frac{-p}{s}\right) \) and by convention \(\psi _1(s) = 1\). By inducting on the number of prime divisors of ac and noticing that if q is a prime not dividing ac then \(g_{ac \cdot q}(s) = \frac{\left( 1- \left( \frac{-q}{s} \right) \right) g_{ac}(s)}{2}\), one can show that

$$\begin{aligned} g_{ac}(s)= \left\{ \begin{array}{ll} 1 &{} \text { if } \left( \frac{-p}{s} \right) =-1 \text { for all } p \mid ac \\ 0&{} \text { otherwise.} \end{array}\right. \end{aligned}$$

Thus, it is sufficient to find an s satisfying \(g_{ac}(s)=1\) and \(s \equiv 23 \pmod {24}\). We will do this by using the Pólya–Vinogradov Inequality to show that, if ac is sufficiently large, then

$$\begin{aligned} \sum _{\begin{array}{c} s < ac \\ s \equiv 23\pmod {24} \end{array}} \sum _{d \mid a} \mu (d)\psi _{d}(s) >0. \end{aligned}$$
(3.5)

Let D be the set of Dirichlet characters modulo 24. Since \({\sum \nolimits _{\chi \in D} \chi (t)= {\left\{ \begin{array}{ll} 8 &{} \text { if } t \equiv 1 \pmod {24 }\\ 0 &{} \text { otherwise} \\ \end{array}\right. } }\), we have:

$$\begin{aligned} \sum _{\begin{array}{c} s< ac \\ s \equiv 23 \pmod {24} \end{array}} \sum _{d \mid ac} \mu (d)\psi _{d}(s)&= \sum _{\begin{array}{c} s< ac \\ s \equiv 23 \pmod {24} \end{array}} 1 + \sum _{\begin{array}{c} d \mid ac \\ d>1 \end{array}} \mu (d) \sum _{\begin{array}{c} s<ac \\ s \equiv 23 \pmod {24} \end{array}} \psi _{d}(s) \\&= \sum _{\begin{array}{c} s<ac \\ s\equiv 23 \pmod {24} \end{array}} 1 + \sum _{\begin{array}{c} d \mid ac \\ d>1 \end{array}} \mu (d) \sum _{s<ac} \psi _{d}(s) \sum _{\chi \in D} \frac{\chi (-s)}{8} \\&\ge \frac{ac}{24}-1 + \sum _{\begin{array}{c} d \mid ac \\ d>1 \end{array}} \frac{1}{8} \mu (d) \psi _{d}(-1) \sum _{\chi \in D} \sum _{s < ac} \psi _{d}(-s) \chi (-s). \end{aligned}$$

Note that \(\psi _d \circ \chi \) is a nontrivial Dirichlet character modulo 24d. So, by applying the Pólya–Vinogradov Inequality to the innermost sum:

$$\begin{aligned} \sum _{\begin{array}{c} s <ac \\ s \equiv 23(24) \end{array}} \sum _{d \mid ac} \mu (d) \psi _{d}(s)&\ge \frac{ac}{24} - 1 - \sum _{\begin{array}{c} d \mid ac \\ d >1 \end{array}} 2 \sqrt{24d} \log (24d) \\&\ge \frac{ac}{24} -1 -2^{m+1} \sqrt{24ac} \log (24ac). \end{aligned}$$

If \(m \ge 12\), then \(\frac{ac}{24} -1 -2^{m+1} \sqrt{24ac} \log (24ac) >0\). Hence, there exists an integer \(s <ac\) satisfying the conditions of Lemma 2.2. So in this case, the set of b for which \(F_{a,b,c}(z)\) is lacunary is empty. For each \(m <12\), the inequality (3.5) can only fail if \(ac < \kappa \), where \(\kappa = 5 \cdot 7 \cdot \cdots \cdot 43 \approx 2.18 \times 10^{15}\). So if 6ac is square-free, there are only finitely many pairs (ac) for which there could exist odd b, where \(F_{a,b,c}(z)\) is lacunary.

Now we turn to the case where 6ac is not square-free. If \(\frac{a'}{6}\) has a corresponding \(s \le \frac{a'}{6} < ac,\) then \(F_{a,b,c}(z)\) is not lacunary for any choice of b. If \(\frac{a'}{6}\) does not have an \(s \le \frac{a'}{6},\) then \(F_{a,b,c}(z)\) can only be lacunary for pairs (ac) such that \(s \le ac\), where s is chosen minimally. By the above, there are only finitely many possible \(a',\) each of which yields finitely many pairs (ac) for which there could exist odd b such that \(F_{a,b,c}(z)\) is lacunary. It follows from Lemma 3.1 that there can be only finitely many pairs (abc) for which \(F_{a,b,c}(z)\) is lacunary. \(\square \)

We now prove Theorem 1.2.

Proof

We demonstrate the process of showing that the only possible triples (abc) for which \(F_{a,b,c}(z)\) could be lacunary are (4, 5, 3), (4, 5, 5), and (4, 5, 11). We have the following algorithm:

(1) From Lemma 3.2 we know that there are finitely many triples (abc) such that \(F_{a,b,c}(z)\) is lacunary. Further, all such triples have the property that \(a' \le 6\kappa \), where \(a'\) and \(\kappa \) are defined above. For each \(a' \le 6\kappa \), we check whether there exists an \(s \equiv 23 \pmod {24}\) with \(s < \frac{a'}{6}\) and \(g_{a'/6}(s) = 1\). For all \(a'\) with such an s, the possible pairs (ac) corresponding to \(a'\) yield no odd b for which \(F_{a,b,c}(z)\) is lacunary. For all \(a'\) without such an s,  there are finitely many pairs (ac) such that \(F_{a,b,c}(z)\) could be lacunary. Let \(S_{ac}\) be the set of all such pairs.

(2) For all \((a,c) \in S_{ac}\), choose s minimally and use Lagrange interpolation to construct the polynomials \(A_{a,b,c}(ac), \ldots ,A_{a,b,c}(s-1)\).Footnote 3 Now find all of the odd positive integer roots of these polynomials. By repeating this processes for all (ac) with corresponding s, we have a set of all possible (abc). Denote this set by \(S_{abc}\).

(3) For all \((a,b,c) \in S_{abc}\), choose a prime p minimally satisfying \(p \equiv 23 \pmod {24}\) and \(g_{a'/6}(p)=1\). Recall the definition of \(m_{0}\) in Lemma 3.1. Find \(m_{0} \in {\mathbb {Z}}/p{\mathbb {Z}}\) such that \(24m_{0} \equiv -r \pmod {p}\). If \(A_{a,b,c}(m_{0}) \ne 0\) then \(F_{a,b,c}(z)\) cannot be lacunary. Denote the set of remaining triples \(S_{abc}'\).

(4) For all \((a,b,c) \in S_{abc}',\) find \(p' > p\) satisfying \(p' = 23 \pmod {24}\) and \(g_{a'/6}(p') = 1\) and repeat step 3. This should be repeated multiple times to eliminate further candidates.

Following steps (1)–(4), the only remaining triples (abc) such that \(F_{a,b,c}(z)\) could be lacunary are (4, 5, 3), (4, 5, 5), and (4, 5, 11). \(\square \)

4 Discussion of Theorem 1.2

Due to our results in Sect. 3, we conjecture that the series \(F_{4,5,3}(z), F_{4,5,5}(z)\), and \(F_{4,5,11}(z)\) are lacunary. In theory, it is not difficult to prove this conjecture. Namely, one has to systematically compute all of the weight 2 modular forms with complex multiplication on a suitable level. Our calculations reveal that if this conjecture is true, then these \(F_{a,b,c}(z)\) will be linear combinations of CM forms corresponding to fields in the table given below.Footnote 4 We have been unable to resolve this issue due to limits on our computational power.

 

Optimal level of \(F_{a,b,c}(z)\)

CM fields of \(F_{a,b,c}(z)\)

\(F_{4,5,3}(z)\)

2304

\({\mathbb {Q}}(\sqrt{-1})\), \({\mathbb {Q}}(\sqrt{-2})\), and \({\mathbb {Q}}(\sqrt{-3})\)

\(F_{4,5,5}(z)\)

\(576 \cdot 4 \cdot 5\)

\({\mathbb {Q}}(\sqrt{-1})\), \({\mathbb {Q}}(\sqrt{-2})\), \({\mathbb {Q}}(\sqrt{-3})\), and \({\mathbb {Q}}(\sqrt{-5})\)

\(F_{4,5,11}(z)\)

\(576 \cdot 4 \cdot 11\)

\({\mathbb {Q}}(\sqrt{-1})\), \({\mathbb {Q}}(\sqrt{-2})\), \({\mathbb {Q}}(\sqrt{-3})\), and \({\mathbb {Q}}(\sqrt{-11})\)