1 Introduction

The modern theory of modular forms was probably seriously initiated first by Ramanujan when he studied the now famous Ramanujan \( \Delta \) function. The attempts at proving the conjectures he proposed in his seminal 1916 paper have led to various interesting theories culminating in the work of Deligne. By that time, the study of modular forms had become a centerpiece of modern analytic number theory. Modular forms owe their importance in number theory to the fact that their “Fourier coefficients" are important arithmetic objects. Therefore the systematic study of modular forms is directly connected to the arithmetic of these coefficients. Nowadays, in the framework of the Langlands program, modular forms and its generalizations play a crucial role in completing the rather remarkable (although conjectural) picture of connections with various other branches of mathematics including Galois representations, motives etc.

Hilbert modular forms are analogues of classical modular forms over totally real number fields. These are natural generalizations of classical (elliptical) modular forms. Starting with a totally real number field F of degree n over \( {\mathbb {Q}} \), one defines a Hilbert cusp form on an n-fold copy of the Poincaré upper half plane \( {\mathcal {H}} \). Of particular interest to the study of modular forms is the L-function attached to a modular form. The analytic properties of the L-function is closely tied up with the arithmetic of the Fourier coefficients of the modular form f. Of particular interest is the question of sign changes in the Fourier coefficients. The Ramanujan conjectures that we mentioned earlier provide bounds on the absolute values of the Fourier coefficients of a cusp form but does not provide any information regarding the signs of these coefficients. Apart from containing arithmetic information, the Fourier coefficients of certain cusp forms, specifically Hecke eigenforms are the eigenvalues of the form with respect to certain linear operators known as Hecke operators. The “multiplicity one theorem" states that these coefficients uniquely determine the form. A rather remarkable result of Kowalski and others [9] states that, in the case of classical forms, the signs of these Fourier coefficients uniquely determine the form. Furthermore, as we shall see, the existence and frequency of sign changes is intricately related to the analytic properties of the associated Dirichlet series.

Consequently over the years, sign changes in the Fourier coefficients of modular forms have become quite an active area of research. In fact sign changes for Fourier coefficients of classical cusp forms were shown to exist in restricted sets of coefficients, including prime numbers, prime powers, arithmetic progressions and square-free integers. In 1983, Ram Murty studied the sign change of cusps forms at prime numbers [15]. In [11], Kohnen and Martin proved the existence of infinitely many sign change in sequence \(\{a(p^{ln})\}_{n\ge 0}\) for all l in \({\mathbb {N}}\) and for all primes p. Similar results may be found in [3, 5, 12, 14].

In the case of Hilbert modular forms, the qualitative question of sign changes in the coefficients of an adelic Hilbert cusp form was first answered by Meher and Tanabe [13] who showed the existence of infinitely many sign changes for the Fourier coefficients provided all Fourier coefficients are real numbers. Later Kumar et al. [10] studied simultaneous sign changes in Fourier coefficients of two Hilbert cusp forms. Recent works include [17] among others.

It seemed natural for us to consider the question of the existence and the frequency of sign changes in the Fourier coefficients of a Hilbert cusp form inside restricted classes of coefficients. To the best of the authors’ knowledge, questions of this type have not been studied. We take up this task in the present paper. In particular we answer this question in the affirmative for the cases of square-free Fourier coefficients and Fourier coefficients in “arithmetic progression" (these notions will be made precise later on). Before we proceed forward, we let F be a totally real number field and let \({\mathbf {f}}\) be an adelic Hilbert cusp form on F of weight \( {\varvec{k}} \) and level \( {\mathfrak {n}} \) (see Sect. 2 below for details) for the remainder of the paper.

We define the notion of a square-free integral ideal similar to that of a square-free integer. For an integral ideal \( {\mathfrak {m}} \) of F, we denote by \( C({\mathfrak {m}},\mathbf{f }) \) the \( {\mathfrak {m}} \)-th Fourier coefficient of \( \mathbf{f } \). Suppose \( {\mathfrak {m}} = \prod _{i=1}^{l} {\mathfrak {p}}_i^{e_i}\) is the unique factorization of \( {\mathfrak {m}} \) into prime ideals \( {\mathfrak {p}}_i \)’s. The integral ideal \( {\mathfrak {m}} \) is said to be square-free if and only if \( e_1=e_2=\cdots =e_l=1 \). Now we state the first main result of the paper.

Theorem 1.1

Let \({\mathbf {f}} \) be a primitive adelic Hilbert cusp form of weight \(\mathbf{k }=(k_1,k_2,\ldots ,k_n)\) and level \({\mathfrak {n}}\) with trivial Hecke character \(\Psi \). Then the sequence \( \{C({\mathfrak {m}}, {\mathbf {f}})\}_{{\mathfrak {m}} }\) has infinitely many sign changes where \( {\mathfrak {m}} \) runs through the square-free integral ideals of F. Furthermore the number of sign changes in \( C({\mathfrak {m}}, {\mathbf {f}}) \) with \( N({\mathfrak {m}})\le X \) is \( \gg X^{1/2} \) for large enough X.

In Sect. 3 below we prove the above theorem by showing that the Dirichlet series with coefficients \( C({\mathfrak {m}}, \mathbf{f }) \), where \( {\mathfrak {m}} \) runs through the square-free integral ideals of F, is absolutely convergent for \(\text {Re}(s)>1 \) and has an analytic continuation to the half plane \(\text {Re}(s)> \frac{1}{2}\). Now the result follows from a well-known theorem of Meher and Murty and a previous result [1].

Remark 1.1

We extend the proof of Theorem 1.1 to slighter generality, where we remove the assumption of primitiveness on \( \mathbf{f } \) at the expense of the assumption that \( {\mathfrak {n}} \) is square-free.

In order to state the second main result of the paper, we make precise the notion of “arithmetic progression". Let \({\mathfrak {m}}_0\) be an integral ideal coprime to \({\mathfrak {n}}\) and \({\mathfrak {m}}={\mathfrak {m}}_0{\mathfrak {P}}_\infty \) be an F-modulus where \({\mathfrak {P}}_\infty \) denotes the formal product of all the real embeddings of F. Let \( {\mathfrak {R}}_{\mathfrak {m}}^{+}\) denote the strict ray class group of F for \({\mathfrak {m}}\) and \(h_{{\mathfrak {m}}}\) its cardinality. We say two idealsFootnote 1\( {\mathfrak {a}}, {\mathfrak {b}} \) are in arithmetic progression if they belong to the same class in \( {\mathfrak {R}}_{\mathfrak {m}}^{+}\). This definition is natural in the following sense. We say two integers are in an arithmetic progression if they belong to the same equivalence class in \( ({\mathbb {Z}}/N{\mathbb {Z}})^\times \) for some natural number N. For the number field F, a natural analogue of \( ({\mathbb {Z}}/N{\mathbb {Z}})^\times \), in the sense of class field theory, is the strict ray class group. The role of Dirichlet character is played by Hecke characters. Now we state the second main theorem of the paper.

Theorem 1.2

Let \({\mathbf {f}}\) be a primitive adelic Hilbert cusp form of weight \(\mathbf{k }=(k_1,k_2,\ldots ,k_n)\) and level \({\mathfrak {n}}\) with trivial Hecke character \(\Psi \). Then for any given \( {\mathfrak {m}} \) (as above) coprime to the level \( {\mathfrak {n}} \) and for any ideal class \( [{\mathfrak {a}}] \) in \({\mathfrak {R}}_{{\mathfrak {m}}}^{+}\), the sequence \( \{C({\mathfrak {b}}, {\mathbf {f}})\}_{{\mathfrak {b}} }\) has infinitely many sign changes where \( {\mathfrak {b}} \) runs through the integral ideals lying in \( [{\mathfrak {a}}] \).

Remark 1.2

When we say a modulus \({\mathfrak {m}}\) is coprime to an integral ideal \({\mathfrak {n}}\), we mean that the finite part of \({\mathfrak {m}}\), namely \({\mathfrak {m}}_0\) is coprime to \({\mathfrak {n}}\).

2 Preliminaries

In this section, we give a brief overview of the basic theory of Hilbert modular forms and fix the notation along the way. Our account is in no way complete and our primary focus will be on reviewing the theory which shall be used in the sequel. We denote by F a totally real number field of degree n over \( {\mathbb {Q}} \), and \( {\mathcal {O}}_F \) the ring of integers of F. Let h denotes the strict class number of F. We denote by gothic letters \( {\mathfrak {m}},{\mathfrak {n}} \), (integral) ideals of \( {\mathcal {O}}_F \). Given an F modulus \( {\mathfrak {m}} = {\mathfrak {m}}_0{\mathfrak {P}}_\infty \) as above, we denote the strict ray class group associated to \( {\mathfrak {m}} \) by \( {\mathfrak {R}}_{\mathfrak {m}}^{+} \). Hecke characters are characters on the groups \( {\mathfrak {R}}_{\mathfrak {m}}^{+} \) for various moduli \( {\mathfrak {m}} \). As a special case the usual strict class group of F arises when we choose our modulus to be \( {\mathcal {O}}_F \) (with trivial infinite part). We hasten to warn the reader that the above definitions of Hecke characters and moduli are but special cases of a much general definition. We content ourselves with these restrictive versions because they are sufficient for our purposes. For a full and brief account of Hecke characters in the classical and adelic setting, we refer the beautiful article of Shurman [20]. We denote Hecke characters by upper case greek letters \( \Phi ,\Psi \) etc.

Suppose two ideals \( \mathfrak {a,b} \) belong to the same class in \( {\mathfrak {R}}_{\mathfrak {m}}^{+} \). This means that the ideal \( {{\mathfrak {a}}}{{\mathfrak {b}}}^{-1} \) is a principal ideal. Furthermore we can find a totally positive element \( \xi \) such that \( {{\mathfrak {a}}}{{\mathfrak {b}}}^{-1} = \xi {\mathcal {O}}_F\) (\( \xi \) is totally positive because the “infinite part" of the modulus \( {\mathfrak {m}} \) has all the real embeddings of F).

2.1 Classical Hilbert modular forms

As before, let \( {\mathcal {H}} \) denote the Poincaré upper half plane. Once and for all we fix an embedding of \( F\rightarrow {\mathbb {R}}^n \), where the map is given by \( \xi \mapsto (\sigma _1(\xi ), \sigma _2(\xi ),\ldots ,\sigma _n(\xi )) \) and \( (\sigma _1,\sigma _2,\ldots ,\sigma _n) \) are the real embeddings of F. There is an action of \( GL_2^+({\mathbb {R}})^n \) on \( {\mathcal {H}}^n \) by componentwise Möbius transformation. A subgroup \( \Gamma \subset GL_2^+({\mathbb {R}})^n \) is called a congruence subgroup if it contains a subgroup of the form

$$\begin{aligned} \Gamma _N = \left\{ \gamma \in SL_2({\mathcal {O}}_F)\ \Bigg |\ \gamma - \begin{pmatrix} 1&{}0\\ 0&{}1 \end{pmatrix}\in N\cdot M_2({\mathcal {O}}_F)\right\} \end{aligned}$$
(2.1)

for some positive integer N and if \( \Gamma /(\Gamma \cap F) \) is commensurable with \( SL_2({\mathcal {O}}_F)/\{\pm I\} \). Classical Hilbert modular forms are (complex) analytic functions on \({\mathcal {H}}^n\) which satisfy certain symmetries with respect to the action of congruence subgroups on \( {\mathcal {H}}^n \). We shall only define classical forms for special types of congruence subgroupsFootnote 2

Given an integral ideal \( {\mathfrak {c}} \) and a fractional ideal \( {\mathfrak {f}} \) in F, define

$$\begin{aligned} \Gamma ({\mathfrak {f}},{\mathfrak {c}}) := \left\{ \begin{pmatrix} a &{} b\\ c &{} d \\ \end{pmatrix} \in GL_{2}(F) \Bigg | a\in {\mathcal {O}}_F, b \in {\mathfrak {f}}^{-1}, c\in {{\mathfrak {c}}}{{\mathfrak {f}}}, d\in {\mathcal {O}}_F, ad - bc \in {{\mathcal {O}}_F^{\times }} \right\} .\nonumber \\ \end{aligned}$$
(2.2)

Let \( ({{\mathcal {O}}_F}^\times )^+ \) denotes the group of totally positive units of \( {\mathcal {O}}_F \). Define a character \( \chi \) on \( \Gamma ({\mathfrak {f}},{\mathfrak {c}}) \) as

$$\begin{aligned} \chi \left( \begin{pmatrix} a&{}b\\ c&{}d \end{pmatrix} \right) = \chi _1(ad-bc)\chi _0(a\mod \mathfrak {c}, d\mod \mathfrak {c}), \end{aligned}$$

where \( \chi _0 \) and \( \chi _1 \) are finite order characters of \( ({\mathcal {O}}_F/{\mathfrak {c}})^\times \times ({\mathcal {O}}_F/{\mathfrak {c}})^\times \) and \( ({{\mathcal {O}}_F}^\times )^+ \) respectively. Suppose \({\varvec{k}}=(k_1,k_2,\ldots ,k_n)\in ({\mathbb {Z}}_{+})^n\), \(\mathbf{z }=(z_1,z_2,\ldots ,z_n)\in {\mathbb {C}}^n\), \( \gamma = (\gamma _1,\gamma _2,\ldots ,\gamma _n)\in \Gamma \) and a is a scalar. Then we adopt the following notation:

  1. (1)

    \( \mathbf{z }^{\varvec{k}} := \prod _{j=1}^{n}z_j^{k_j} \),

  2. (2)

    \( k_0 := \text {max}\{k_1,k_2,\ldots ,k_n\} \),

  3. (3)

    \( \det (\gamma ) := (\det (\gamma _1), \det (\gamma _2),\ldots ,\det (\gamma _n)) \),

  4. (4)

    \( a^{\varvec{k}} := a^{\sum _{j=1}^{n}k_j} \), and

  5. (5)

    \( c\mathbf{z } + d := (c_1z_1+d_1,c_2z_2+d_2,\ldots ,c_nz_n+d_n) \),

where we have set

$$\begin{aligned} \gamma = \begin{pmatrix} *&{}*\\ c&{}d \end{pmatrix} = (\gamma _1,\gamma _2,\ldots ,\gamma _n) = \left( \begin{pmatrix} *&{}*\\ c_1&{}d_1 \end{pmatrix} , \begin{pmatrix} *&{}*\\ c_2&{}d_2 \end{pmatrix} , \ldots , \begin{pmatrix} *&{}*\\ c_n&{}d_n \end{pmatrix} \right) . \end{aligned}$$

Consider a congruence subgroup \( \Gamma \) as in (2.2) and a character \( \chi \) on \( \Gamma \). A classical Hilbert modular form of weight \( {\varvec{k}} \) is a complex analytic function \( f:{\mathcal {H}}^n\rightarrow {\mathbb {C}} \) such that for every \( \gamma \in \Gamma \) and for every \( \mathbf{z }\in {\mathcal {H}}^n \), we have

$$\begin{aligned} f(\mathbf{z }) = \chi ^{-1}(\gamma ) \det (\gamma )^{\frac{{\varvec{k}}}{2}} (c\mathbf{z }+d)^{-{\varvec{k}}} f(\gamma \mathbf{z }), \end{aligned}$$

which are also holomorphic at the cusps of \( \Gamma \). Such a function f has a Fourier expansion of the form

$$\begin{aligned} f(\mathbf{z }) = \sum _\xi c(\xi ) \exp (Tr(\xi \mathbf{z })), \end{aligned}$$
(2.3)

where we have set \( \exp (x) = e^{2\pi ix} \) and \( Tr(\xi \mathbf{z }) = \sum _{j=1}^n \sigma _j(\xi ) z_j\). The summation in (2.3) runs over zero and the totally positive elements of a lattice (determined by \( \Gamma \)). If in the Fourier expansion at each cusp, we have \( c(0)=0 \), then we say that f is a cusp form.

2.2 Adelization of Hilbert modular Forms

Suppose we write \( {\mathfrak {R}}^{+} \) for the strict ray class group associated to the modulus \( {\mathcal {O}}_F{\mathfrak {P}}_\infty \) and we let \( h = |{\mathfrak {R}}^{+}|\). Let \( \{t_j\}_{j=1}^h \) be a collection of ideles with \( (t_j)_\infty = 1 \) for all \( 1\le j\le h \) such that \(\{{\mathfrak {t}}_{j}\}_{j=1}^{h}\) is a complete set of representatives for \( {\mathfrak {R}}^{+} \). Here we have let \( {\mathfrak {t}}_j \) denote the fractional ideal of \( {\mathcal {O}}_F \) corresponding to the idele \( t_j \). For each j and for a fixed integral ideal \( {\mathfrak {n}} \) let \( \Gamma _{j}{({\mathfrak {n}})} \) denote the congruence subgroup \( \Gamma ({\mathfrak {t}}_j{\mathfrak {d}}, {\mathfrak {n}}) \) where \( {\mathfrak {d}}\) is the different ideal of F. For every \( 1\le j\le h \) let \( f_i \) be a classical Hilbert modular form of fixed weight \( {\varvec{k}} \) for the congruent subgroup \( \Gamma _j({\mathfrak {n}}) \).

Following Shimura [18], one can associate to the h-tuple \( (f_1,f_2,\ldots ,f_h) \) of classical Hilbert modular forms, an adelic Hilbert modular form \( {\mathbf {f}} \). An adelic Hilbert modular form is a function on \( GL_2({\mathbb {A}}_F) \), where \({\mathbb {A}}_F\) is the adele ring of F. The Fourier expansion of \( f_j \) takes on the following form:

$$\begin{aligned} f_{j}(\mathbf{z }) = \sum _{\begin{array}{c} 0\ll \xi \in {\mathfrak {t}}_j \\ \xi = 0 \end{array}} {a_{j}(\xi ) \exp (Tr(\xi \mathbf{z }))}. \end{aligned}$$

Here we have used the shorthand \( \xi \gg 0 \) to denote that \( \xi \) is totally positive. The Fourier coefficients of the adelic form \( \mathbf{f } \) are parameterized by integral ideals \( {\mathfrak {m}} \) of F. As we have seen earlier for any given integral ideal \( {\mathfrak {m}} \) it is possible to choose a unique \(1\le \lambda \le h \) and a totally positive element \( \xi \in {\mathfrak {t}}_\lambda \) such that \({\mathfrak {m}}= \xi {\mathfrak {t}}_\lambda ^{-1}\). With this choice, we have the following relation between the Fourier coefficients of \( \mathbf{f } \) and the Fourier coefficients of \( f_\lambda \),

$$\begin{aligned} C({\mathfrak {m}},{\mathbf {f}}) = a_{\lambda }(\xi ) \xi ^{-\frac{{\varvec{k}}}{2}}N({\mathfrak {m}})^{\frac{k_0}{2}}. \end{aligned}$$

Under some suitable conditions, there exists a finite order Hecke character (viewed as an idelic character) \( \Psi \) such that \( \mathbf{f }(\tau g) = \Psi (\tau ){\mathbf {f}}(g) \) for all \( \tau \in {\mathbb {A}}_F^\times \) and \( g\in GL_2({\mathbb {A}}_F) \). The space of such adelic Hilbert cusp forms of weight \( {\varvec{k}} \) and level \({\mathfrak {n}}\) and character \( \Psi \) forms a finite dimensional vector space and will be denoted by \(S_{{\varvec{k}}}({\mathfrak {n}}, \Psi )\). We also mention in passing that like the classical modular forms, there is a well-understood newform theory for Hilbert modular forms (see [18, 19]).

There is an algebra of operators (once again indexed by the integral ideals of F) on the space \(S_{\varvec{k}}({\mathfrak {n}}, \Psi )\) called the Hecke operators. A cusp form \({\mathbf {f}}\) is said to be primitive if it is a common Hecke eigenfunction in the space of newforms and if \(C({\mathcal {O}}_F,{\mathbf {f}}) =1\). In this case the eigenvalue of a primitive new form \(\mathbf{f }\) with respect to the Hecke operator \( T({\mathfrak {m}}) \) is precisely \(C({\mathfrak {m}}, \mathbf{f })\). Note that all the Fourier coefficients are real numbers if \({\mathbf {f}}\) is a primitive form. For more details on the Hecke theory of adelic Hilbert newforms we refer the reader to [6, 18].

Let \({\mathbf {f}} \in S_{{\varvec{k}}}({\mathfrak {n}}, \Psi )\) be a primitive adelic Hilbert cusp form and \(\{C({\mathfrak {m}}, {{\mathbf {f}}})\}_{{\mathfrak {m}}}\) denote its Fourier coefficients. It is possible to associate an L-series to \( \mathbf{f } \). The L-series associated to \({\mathbf {f}}\) is defined as

$$\begin{aligned} L(s,{\mathbf {f}}) = \sum _{\begin{array}{c} {\mathfrak {m}}\subset {\mathcal {O}}_F\\ {\mathfrak {m}}\ne \{0\} \end{array}} \frac{C({\mathfrak {m}}, {\mathbf {f}})}{N({\mathfrak {m}})^s} . \end{aligned}$$
(2.4)

The Ramanujan conjecture is true for Hilbert modular forms [4]. More preciselyFootnote 3 for every \( \epsilon >0 \),

$$\begin{aligned} C({\mathfrak {m}}, \mathbf{f }) \ll _\epsilon N({\mathfrak {m}})^\epsilon , \end{aligned}$$

and therefore the above L-series is absolutely convergent for \(\text {Re}(s)>1\). The strip \( 0< \text {Re}(s) < 1 \) is called the critical strip. The coefficients \( C({\mathfrak {m}}, \mathbf{f }) \) are multiplicative in \( {\mathfrak {m}} \) and satisfy a three term recursive relation connecting the values of \( C({\mathfrak {p}}^i, \mathbf{f }), C({\mathfrak {p}}^{i+1}, \mathbf{f }), C({\mathfrak {p}}^{i+2}, \mathbf{f }) \) for prime ideals \({\mathfrak {p}}\) and \(i\in {\mathbb {N}}\). As a consequence the L-series defined in (2.4) satisfies an Euler product formula, valid when \( \text {Re}(s) > 1 \);

$$\begin{aligned} L(s, \mathbf{f })&= \prod _{\mathfrak {p}}\left( 1 + \frac{C({\mathfrak {p}}, \mathbf{f })}{N({\mathfrak {p}})^s} + \frac{C(\mathfrak {p^2}, \mathbf{f })}{N(\mathfrak {p^2})^s} + \cdots \right) \\&= \prod _{\mathfrak {p}}\left( 1 - C({\mathfrak {p}}, \mathbf{f })N({\mathfrak {p}})^{-s} + \Psi ^*({\mathfrak {p}})N({\mathfrak {p}})^{-2s}\right) ^{-1}, \end{aligned}$$

where \( N({\mathfrak {m}}) \) denotes the norm of the ideal \( {\mathfrak {m}} \) and \( \Psi ^* \) denotes the ideal version of the idelic Hecke character \( \Psi \). We also mention that the L-series can be analytically continued to the whole complex plane. We omit the details for the sake of brevity.

Finally we introduce the shift operator. More details can be found in [19]. Let \( {\mathfrak {q}} \) be an integral ideal and \( q\in {\mathbb {A}}_F^{\times } \) such that \( q_\infty = 1 \) and \( q{\mathcal {O}}_F = {\mathfrak {q}} \). The shift operator \( B_{\mathfrak {q}} \) is defined as;

$$\begin{aligned} \mathbf{f }\ |B_{\mathfrak {q}} = N({\mathfrak {q}})^{-k_0/2} \mathbf{f }\ \Big |\begin{pmatrix} 1&{}0\\ 0&{}q^{-1} \end{pmatrix}. \end{aligned}$$

It is clear that \( B_{\mathfrak {q}} \) maps \( S_{\varvec{k}}({\mathfrak {n}}) \) to \( S_{\varvec{k}}({{\mathfrak {n}}}{{\mathfrak {q}}}) \) and \( C({\mathfrak {m}}, \mathbf{f }\ |B_{\mathfrak {q}}) = C({{\mathfrak {m}}}{{\mathfrak {q}}}^{-1}, \mathbf{f })\) (see Notation).

2.3 Notation

  1. (1)

    The symbol \( \epsilon \) is used to denote a small positive quantity, which might be different in each instance.

  2. (2)

    If \({\mathfrak {a}}\) is a fractional ideal which is not an integral ideal, then the Fourier coefficient \(C({\mathfrak {a}}, \mathbf{f })\) is understood to be zero.

3 Sign changes in square-free coefficients

In this section we study the sign change in the coefficients \( C({\mathfrak {m}}, \mathbf{f }) \) when \( {\mathfrak {m}} \) is a square-free integral ideal of F. From the definition of square-free above, we can generalize the Möbius function (which we again denote by \( \mu \)) to a function of all the integral ideals of \( {\mathcal {O}}_F \) as follows:

$$\begin{aligned} \mu ({\mathfrak {m}}) = {\left\{ \begin{array}{ll} (-1)^l &{} \text { if } {\mathfrak {m}} \text { is square-free and } {\mathfrak {m}} =\prod _{i=1}^l {\mathfrak {p}}_i,\\ 0 &{} \hbox {otherwise.} \end{array}\right. } \end{aligned}$$

Note that \(\mu \) satisfies properties analogous to the classical Möbius function defined on the integers, and in particular we have

$$\begin{aligned} \sum _{{\mathfrak {r}}^2|{\mathfrak {m}}} \mu ({\mathfrak {r}}) = {\left\{ \begin{array}{ll} 1 &{} {\mathfrak {m}} \text { is square-free},\\ 0 &{} \hbox {otherwise.} \end{array}\right. } \end{aligned}$$

The proof of the Theorem 1.1 follows from comparing the growth of the sums,

$$\begin{aligned} {\sum _{N({\mathfrak {m}})< X}}^{\#} C({\mathfrak {m}}, \mathbf{f })&\hbox {and}&{\sum _{N({\mathfrak {m}}) < X}}^\# C^2({\mathfrak {m}}, \mathbf{f }) \end{aligned}$$
(3.1)

and then appealing to a theorem of Murty and Meher [12] which guarantees the existence of sign changes in some short intervals. Here \(\#\) in the summation indicates that we are taking sum over square-free integral idealsFootnote 4. The second sum in (3.1) has already been investigated in [1] and hence we have to estimate the first sum. Our approach is inspired by the work of Hulse et al. [8]. We start by considering the following Dirichlet series:

$$\begin{aligned} L^{\#}(s, {\mathbf {f}}) ={\sum _{\begin{array}{c} {\mathfrak {m}}\subset {\mathcal {O}}_F\\ {\mathfrak {m}}\ne \{0\} \end{array}}}^{\#} \frac{C({\mathfrak {m}}, \mathbf{f })}{N({\mathfrak {m}})^s} = \prod _{{\mathfrak {p}} \tiny \hbox { prime}} \left( 1+\frac{C({\mathfrak {p}}, \mathbf{f })}{N({\mathfrak {p}})^s}\right) , \end{aligned}$$

which is absolutely convergent for \(\text {Re}(s) > 1\) (this is clear by directly applying the Ramanujan bound). We present a slightly longer proof of this fact because the computations therein will be used later on.

Lemma 3.1

The Dirichlet series \(L^{\#}(s,{\mathbf {f}}) \) is absolutely convergent for \( Re(s)>1 \).

Proof

It can be easily seen that

$$\begin{aligned} L^{\#}(s,{\mathbf {f}})&= {\sum _{\begin{array}{c} {\mathfrak {m}}\subset {\mathcal {O}}_F\\ {\mathfrak {m}}\ne \{0\} \end{array}}}^{\#} \frac{C({\mathfrak {m}}, \mathbf{f })}{N({\mathfrak {m}})^s}\nonumber \\&= \sum _{\begin{array}{c} {\mathfrak {m}}\subset {\mathcal {O}}_F\\ {\mathfrak {m}}\ne \{0\} \end{array}} \frac{C({\mathfrak {m}}, \mathbf{f })}{N({\mathfrak {m}})^s}\left( \sum _{{\mathfrak {r}}^2|{\mathfrak {m}}} \mu ({\mathfrak {r}})\right) \nonumber \\&= \sum _{{\mathfrak {r}}} \mu ({\mathfrak {r}}) D_{{\mathfrak {r}}^2} (s), \end{aligned}$$
(3.2)

where we have set

$$\begin{aligned} D_{{\mathfrak {r}}} (s):=\sum _{{\mathfrak {r}}|{\mathfrak {m}}} \frac{C({\mathfrak {m}}, \mathbf{f })}{N({\mathfrak {m}})^s} = \sum _{\begin{array}{c} {\mathfrak {m}}\subset {\mathcal {O}}_F\\ {\mathfrak {m}}\ne \{0\} \end{array}} \frac{C({{\mathfrak {r}}}{{\mathfrak {m}}}, \mathbf{f })}{N({{\mathfrak {r}}}{{\mathfrak {m}}})^s} \end{aligned}$$

for an integral ideal \( {\mathfrak {r}} \). Recalling the Ramanujan bound

$$\begin{aligned} C({\mathfrak {m}}, \mathbf{f }) \ll _\epsilon N({\mathfrak {m}})^\epsilon . \end{aligned}$$

We have

$$\begin{aligned} | D_{{\mathfrak {r}}}(1+\epsilon + it) |\ll \sum _{{\mathfrak {m}}} \left| \frac{C({{\mathfrak {r}}}{{\mathfrak {m}}}, \mathbf{f })}{N({{\mathfrak {r}}}{{\mathfrak {m}}})^{1+\epsilon +it}}\right| \ll \frac{1}{N({\mathfrak {r}})^{1+\epsilon }}\sum _{{\mathfrak {m}}}\left| \frac{C({{\mathfrak {r}}}{{\mathfrak {m}}}, \mathbf{f })}{N({\mathfrak {m}})^{1+\epsilon +it}}\right| . \end{aligned}$$

The right most summation in the previous inequality is \( \ll _\epsilon N({\mathfrak {r}})^\epsilon \). Therefore, for every \( \epsilon >0 \), we get

$$\begin{aligned} | D_{{\mathfrak {r}}}(1+\epsilon + it) |\ll _\epsilon \frac{1}{N({\mathfrak {r}})^{1+\epsilon }}. \end{aligned}$$
(3.3)

In particular we have

$$\begin{aligned} | D_{{\mathfrak {r}}^2}(1+\epsilon + it) |\ll _\epsilon \frac{1}{N({\mathfrak {r}})^{2+\epsilon }}. \end{aligned}$$
(3.4)

Therefore from (3.2) we can see that \( L^{\#}(s,{\mathbf {f}}) \) is absolutely convergent for \(\text {Re}(s)>1 \). \(\square \)

Now our next aim is to show that \( L^{\#}(s,{\mathbf {f}})\) has analytic continuation up to \(\text {Re}(s)>\frac{1}{2}\).

Lemma 3.2

For a given prime ideal \( {\mathfrak {p}} \) of \({\mathcal {O}}_F\) and \( s\in {\mathbb {C}} \), define

$$\begin{aligned} S_{\mathfrak {p}}(s) := \left( -\frac{C({\mathfrak {p}}, {\mathbf {f}})^2}{N({\mathfrak {p}})^{2s}} + \Psi ^*({\mathfrak {p}})N({\mathfrak {p}})^{-2s}\left( \frac{C({\mathfrak {p}}, {\mathbf {f}})}{N({\mathfrak {p}})^s} + 1\right) \right) . \end{aligned}$$

Then we have

$$\begin{aligned} L^{\#}(s,{\mathbf {f}}) = L(s,{\mathbf {f}}) \prod _{{\mathfrak {p}}} \left( 1 + S_{\mathfrak {p}}(s)\right) , \end{aligned}$$

where product runs over all prime ideals \( {\mathfrak {p}} \) of \({\mathcal {O}}_F\). Consequently \(L^{\#}(s,{\mathbf {f}}) \) can be analytically continued to the half plane \( Re(s)>\frac{1}{2} \).

Proof

Let \(\mathbf{f }\) be a new form in \( S_{\varvec{k}}({\mathfrak {n}},\Psi ) \)and let \( L_{\mathfrak {p}}(s) \) denote the local \( {\mathfrak {p}} \) factor of \( L(s,\mathbf{f }) \). That is

$$\begin{aligned} L_{\mathfrak {p}}(s)= & {} \left( 1 + \frac{C({\mathfrak {p}}, \mathbf{f })}{N({\mathfrak {p}})^s} + \frac{C(\mathfrak {p^2}, \mathbf{f })}{N(\mathfrak {p^2})^s} + \cdots \right) \nonumber \\= & {} \frac{1}{\left( 1 - C({\mathfrak {p}}, \mathbf{f })N({\mathfrak {p}})^{-s} + \Psi ^*({\mathfrak {p}})N({\mathfrak {p}})^{-2s}\right) }. \end{aligned}$$
(3.5)

Here \( \Psi ^* \) denotes the ideal version of an idelic character \( \Psi \).

Define \( L_{\mathfrak {p}}^{(r)}(s) \) to be the r tail of \( L_{\mathfrak {p}} \). That is,

$$\begin{aligned} L^{(r)}_{\mathfrak {p}}(s) = \sum _{n=r}^\infty \frac{C({\mathfrak {p}}^n, \mathbf{f })}{N({\mathfrak {p}}^n)}. \end{aligned}$$

Note that \( L^{(0)}_{\mathfrak {p}}(s) = L_{\mathfrak {p}}(s)\) by definition.

Suppose \( {\mathfrak {r}} = \prod _{{\mathfrak {p}}} {\mathfrak {p}}^{e_{\mathfrak {p}}} \), where \( e_{\mathfrak {p}}=0 \) for almost all \( {\mathfrak {p}} \). Then it is clear that

$$\begin{aligned} D_{\mathfrak {r}}(s) = \prod _{{\mathfrak {p}}} L_{\mathfrak {p}}^{(e_{\mathfrak {p}})}(s). \end{aligned}$$

Now suppose that \( {\mathfrak {r}} \) is a square-free ideal. Then we have

$$\begin{aligned} \begin{aligned} D_{{\mathfrak {r}}^2} (s)&= L(s, \mathbf{f }) \prod _{{\mathfrak {p}}\mid {\mathfrak {r}}} L^{(2)}_{\mathfrak {p}}(s)/L_{\mathfrak {p}}(s)\\&=L(s,\mathbf{f })\prod _{{\mathfrak {p}}\mid {\mathfrak {r}}} (L_{\mathfrak {p}}(s) - 1 - C({\mathfrak {p}}, \mathbf{f }) N({\mathfrak {p}})^{-s})/L_{\mathfrak {p}}(s)\\&=L(s,\mathbf{f })\prod _{{\mathfrak {p}}\mid {\mathfrak {r}}} \left( 1-\frac{1}{L_{\mathfrak {p}}(s)} - \frac{C({\mathfrak {p}},\mathbf{f })}{N({\mathfrak {p}})^s L_{\mathfrak {p}}(s)}\right) \\&= L(s,\mathbf{f })\prod _{{\mathfrak {p}}\mid {\mathfrak {r}}} \Big (1-(1 - C({\mathfrak {p}}, \mathbf{f })N({\mathfrak {p}})^{-s} + \Psi ^*({\mathfrak {p}})N({\mathfrak {p}})^{-2s}) \\& -\frac{C({\mathfrak {p}},\mathbf{f })}{N({\mathfrak {p}})^s}\left( 1 - C({\mathfrak {p}}, \mathbf{f })N({\mathfrak {p}})^{-s} + \Psi ^*({\mathfrak {p}})N({\mathfrak {p}})^{-2s}\right) \Big )\\&= L(s,\mathbf{f })\prod _{{\mathfrak {p}}\mid {\mathfrak {r}}} \left( \frac{C({\mathfrak {p}}, \mathbf{f })^2}{N({\mathfrak {p}})^{2s}} - \Psi ^*({\mathfrak {p}})N({\mathfrak {p}})^{-2s}\left( \frac{C({\mathfrak {p}}, \mathbf{f })}{N({\mathfrak {p}})^s} + 1\right) \right) . \end{aligned} \end{aligned}$$

Therefore,

$$\begin{aligned} \mu ({\mathfrak {r}})D_{{\mathfrak {r}}^2}(s) = L(s,\mathbf{f })\prod _{{\mathfrak {p}}\mid {\mathfrak {r}}} \left( -\frac{C({\mathfrak {p}}, \mathbf{f })^2}{N({\mathfrak {p}})^{2s}} + \Psi ^*({\mathfrak {p}})N({\mathfrak {p}})^{-2s}\left( \frac{C({\mathfrak {p}}, \mathbf{f })}{N({\mathfrak {p}})^s} + 1\right) \right) . \end{aligned}$$

Thus we have

$$\begin{aligned} \begin{aligned} L^{\#}(s,{\mathbf {f}})&= L(s,{\mathbf {f}}){\sum _{{\mathfrak {r}}}}^{\#} \prod _{{\mathfrak {p}}\mid {\mathfrak {r}}} S_{\mathfrak {p}}(s) \\&= L(s, {\mathbf {f}}) \prod _{{\mathfrak {p}}} \left( 1 + S_{\mathfrak {p}}(s)\right) . \end{aligned} \end{aligned}$$
(3.6)

The product on the right hand side of (3.6) is absolutely convergent for \(\text {Re}(s) > 1/2\) and therefore we can see that \(L^{\#}(s,{\mathbf {f}})\) has an analytic continuation to the plane \(\text {Re}(s)>1/2\). \(\square \)

Remark 3.1

By performing similar calculations as in the previous proof it is possible to show that \(D_{\mathfrak {r}}(s)/ L(s, \mathbf{f })\) is an entire function for all integral ideals \({\mathfrak {r}}\).

Lemma 3.3

Let \({\mathbf {f}}\) be same as in Theorem 1.1. Then

$$\begin{aligned} {\sum _{\underset{N({\mathfrak {m}}) \le X}{{\mathfrak {m}} \hbox {\tiny }}}}^{\#} C({\mathfrak {m}}, {\mathbf {f}}) \ll _\epsilon X^{1/2 + \epsilon }. \end{aligned}$$

Proof

From Lemma 3.2 we know that \(L^{\#}(s,{\mathbf {f}})\) has an analytic continuation to the half plane \(\text {Re}(s)>1/2\). Furthermore, from the known properties of \( L(s, \mathbf{f }) \) we can see that \(L^{\#}(s,{\mathbf {f}})\) has polynomial growth in \(\text {Im}(s)\) for a given \( 1/2<\text { Re}(s) < 1\). From the standard inverse Mellin transform we can see that

$$\begin{aligned} \frac{1}{2\pi i} \int _{1+\epsilon - i\infty }^{1+\epsilon +i\infty } L^{\#}(s,{\mathbf {f}}) \Gamma (s) X^s ds = \sum _{n=1}^{\infty } B(n, \mathbf{f }) e^{-n/X}, \end{aligned}$$
(3.7)

where we have set

$$\begin{aligned} B(n,\mathbf{f }) := {\sum _{\underset{N({\mathfrak {m}}) = n}{{\mathfrak {m}} \hbox {\tiny }}}}^{\#} C({\mathfrak {m}}, \mathbf{f }). \end{aligned}$$

We shift the line of integration in (3.7) to \( \text {Re}(s) = 1/2 + \epsilon \) . Since \(L^{\#}(s,{\mathbf {f}}) \) has at worst polynomial growth in \( \text {Im}(s) \) inside the critical strip, this is justified by the exponential decay of the \( \Gamma \) function. Furthermore, since the integrand is analytic in the given region, we do not pick up any residues. Therefore, we see that

$$\begin{aligned} \sum _{n=1}^{\infty } B(n, \mathbf{f }) e^{-n/X} \ll _\epsilon X^{1/2 + \epsilon }. \end{aligned}$$
(3.8)

Since \( B(n,\mathbf{f }) \ll _\epsilon n^\epsilon \) for every \( \epsilon >0 \), we can see that \( \sum _{n\ge X} B(n, \mathbf{f }) e^{-n/X} =O(1) \), for large enough X. Finally this gives us \( {\sum _{\underset{N({\mathfrak {m}}) \le X}{{\mathfrak {m}} \hbox {\tiny }}}}^{\#} C({\mathfrak {m}}, {\mathbf {f}}) \ll _\epsilon X^{1/2 + \epsilon }. \) \(\square \)

We shall also need the following proposition from [1].

Proposition 3.1

[R. Agnihotri, K. Chakraborty] Let f be a positive and smooth function supported on \([\frac{1}{2},1]\). Let \({\mathbf {f}},{\mathbf {g}} \in S_{\varvec{k}}({\mathfrak {n}})\) be primitive cusp forms. Then for any \(\frac{1}{2}<c<1\) and for every \(\epsilon >0\) the following assertions hold:

  1. (1)

    If \( {\mathbf {f}} ={\mathbf {g}} \), then there exists a constant \(A({\mathbf {f}}, f)>0\) such that,

    $$\begin{aligned} \sum _{\begin{array}{c} {\mathfrak {m}}\subset {\mathcal {O}}_{F} \\ ({\mathfrak {m}},{\mathfrak {n}}) ={\mathcal {O}}_{F} \end{array}}^{\#} |C({\mathfrak {m}}, {\mathbf {f}})|^2 f\Big (\frac{N({\mathfrak {m}})}{X}\Big ) = A({\mathbf {f}}, f)X + O\big (X^c k_0^{n(1-c)+\epsilon }N({\mathfrak {n}})^{2(\frac{1-c}{2}+ \epsilon )}\big ). \end{aligned}$$
  2. (2)

    If \({\mathbf {f}}\ne {\mathbf {g}}\),

    $$\begin{aligned} \sum _{\begin{array}{c} {\mathfrak {m}}\subset {\mathcal {O}}_{F} \\ ({\mathfrak {m}},{\mathfrak {n}}) ={\mathcal {O}}_{F} \end{array}}^{\#} C({\mathfrak {m}}, {\mathbf {f}})C({\mathfrak {m}}, {\mathbf {g}}) f\Big (\frac{N({\mathfrak {m}})}{X}\Big ) = O\big (X^c k_0^{n(1-c)+\epsilon }N({\mathfrak {n}})^{2(\frac{1-c}{2}+ \epsilon )}\big ). \end{aligned}$$

The implied constants depend only on \(\epsilon \) and F.

From Proposition 3.1, we deduce that

$$\begin{aligned} X \ll _{\epsilon , F} {\sum _{N({\mathfrak {m}}) \le X}}^{\#} C^2({\mathfrak {m}}, \mathbf{f }). \end{aligned}$$
(3.9)

Proof of Theorem 1.1

In order to prove the theorem we first state a result of Meher and Murty [12].

Theorem 3.1

[Meher-Murty] Let \( a(n)_(n \ge 1)\) be a sequence of real numbers satisfying \( a(n) = O(n^\alpha ) \) such that

$$\begin{aligned} \sum _{n\le X} a(n) \ll X^\beta \end{aligned}$$

and

$$\begin{aligned} \sum _{n\le X}a(n)^2 = cX + O(X^\gamma ) \end{aligned}$$

where \( \alpha ,\beta ,\gamma \) and c are non-negative constants. If \( \alpha +\beta < 1 \), then for any r satisfying \( \max \{\alpha +\beta , \gamma \}< r < 1\), the sequence \( a(n) (n\ge 1)\) has at least one sign change for \( n\in (X, X+X^r] \). In particular, the sequence a(n) has infinitely many sign changes and the number of sign changes for \( n\le X \) is \( \gg X^{1-r} \) for sufficiently large X.

Since the Fourier coefficients are not indexed by natural numbers, we cannot apply Theorem 3.1 directly. Nevertheless, we can modify the proof of Theorem 3.1 for our purposes.

Without loss of generality assume the contrary that finitely many of \( C({\mathfrak {m}}, \mathbf{f }) \) are negative. Therefore, for large enough X, we have \( C({\mathfrak {m}}, \mathbf{f }) > 0\) whenever \( N({\mathfrak {m}})\in (X,X+X^r] \) for some \( 1> r > 1/2 \). Therefore we have

$$\begin{aligned} \sum _{N({\mathfrak {m}})\in (X, X+X^r]} C^2({\mathfrak {m}}, \mathbf{f }) \ll X^\epsilon \sum _{N({\mathfrak {m}})\in (X, X+X^r]} C({\mathfrak {m}}, \mathbf{f }) \ll X^{1/2 + \epsilon }. \end{aligned}$$
(3.10)

The first inequality follows from the Ramanujan bound and the second inequality follows from Lemma 3.3.

On the other hand, since \( r > 1/2 \) we have

$$\begin{aligned} X^r \ll \sum _{N({\mathfrak {m}})\in (X, X+X^r]} C^2({\mathfrak {m}}, \mathbf{f }) \end{aligned}$$

from (3.9), thus giving us a contradiction. The quantitative assertion of Theorem 1.1 follows easily from here. This completes the proof. \(\square \)

3.1 A slight generalization

In Theorem 1.1 the requirement that \(\mathbf{f }\) be a primitive form can be relaxed when the level \({\mathfrak {n}}\) is square-free as follows. Suppose that \(\mathbf{f }\in S_{\varvec{k}}({\mathfrak {n}})\) is an old form and that \({\mathfrak {n}}\) is square-free. We observe that there are new forms \(\mathbf{f }_{(j,i)}\) of lower levels \({\mathfrak {q}}_i\) and constants \(\alpha _{(j,i)}\) such that

$$\begin{aligned} \mathbf{f } = \sum _{{\mathfrak {q}}_i | {\mathfrak {n}}} \sum _j \alpha _{(j,i)} \mathbf{f }_{(j,i)} | B_{{\mathfrak {q}}_i}. \end{aligned}$$

The coefficients satisfy

$$\begin{aligned} C({\mathfrak {m}}, \mathbf{f })&= \sum _{{\mathfrak {q}}_i | {\mathfrak {n}}} \sum _j \alpha _{(j,i)} C({\mathfrak {m}}, \mathbf{f }_{(j,i)} | B_{{\mathfrak {q}}_i}) \nonumber \\&= \sum _{{\mathfrak {q}}_i | {\mathfrak {n}}} \sum _j \alpha _{(j,i)} C({\mathfrak {m}}{\mathfrak {q}}_i^{-1}, \mathbf{f }_{(j,i)}). \end{aligned}$$
(3.11)

Without loss of generality, we can assume that \( \mathbf{f }_{(j,i)} \)s are primitive and therefore \(C({\mathfrak {m}},\mathbf{f }_{(j,i)})\)’s are real. Starting from Eq. (3.11) it is possible to perform similar calculations as above and arrive at an analogue of Theorem 1.1 in this case. The assumption that \( {\mathfrak {n}} \) is square-free will be used in finding lower bounds similar to that of Proposition 3.1 (see [1]).

Remark 3.2

Removing the square-free assumption on \( {\mathfrak {n}} \) should be possible after some tedious calculations along the lines of [1]. The authors believe that the calculations should be straight forward and do not require any serious mathematical ideas.

Remark 3.3

The methods of this section seem adaptable to study sign changes in power free coefficients, although in those cases, the only interesting problem is the density of sign changes as the existence of infinitely many sign changes follows from the present work.

Remark 3.4

Suppose \( \Phi \) is a real-valued Hecke character modulo the level \( {\mathfrak {n}} \). The above methods can be adapted to study correlations between \( C({\mathfrak {m}}, \mathbf{f }) \) and \( \Phi ([{\mathfrak {m}}]) \). One but needs to replace \( \mathbf{f } \) with the twist \( \mathbf{f }|_\Phi \), and use the relation \( C({\mathfrak {m}}, \mathbf{f }|_\Phi ) = \Phi ({\mathfrak {m}})C({\mathfrak {m}}, \mathbf{f })\).

Remark 3.5

To the best of the authors’ knowledge, sign change for square-free coefficients has not been studied for the case of classical modular forms. Our methods will yield results in that setting too.

4 Sign change in arithmetic progressions

In this section, we shall prove Theorem 1.2. As we have seen, in the case of Hilbert modular forms, the Fourier coefficients are parameterized by the integral ideals of the totally real field F.

Suppose we choose an F modulus \( {\mathfrak {m}} \) coprime with the level \( {\mathfrak {n}} \) of \( \mathbf{f } \). In this section we shall study the sign changes in \( C({\mathfrak {b}},\mathbf{f }) \) as integral ideals \( {\mathfrak {b}} \) vary in a fixed class inside \( {\mathfrak {R}}_{\mathfrak {m}}^{+}\), the strict ray class group of F for \({\mathfrak {m}}\). To that end we fix the F modulus \( {\mathfrak {m}} \).

If two integral ideals \( {\mathfrak {a}} \) and \( {\mathfrak {b}} \) lie in the same ideal class inside \( {\mathfrak {R}}_{\mathfrak {m}}^{+}\), we shall denote this by \( {\mathfrak {a}} \equiv {\mathfrak {b}} ({\mathfrak {m}})\). First, we obtain an expression for the indicator function of an ideal class inside \( {\mathfrak {R}}_{\mathfrak {m}}^{+} \). This is achieved using character theory as follows. For a given (fractional) ideals \( {\mathfrak {a}}, {\mathfrak {b}} \) coprime to \( {\mathfrak {m}} \), define an ideal function

$$\begin{aligned} \delta _{\mathfrak {a}}({\mathfrak {b}}) = {\left\{ \begin{array}{ll} 1 &{} {\mathfrak {b}}\equiv {\mathfrak {a}} ( {\mathfrak {m}}),\\ 0 &{} \hbox {otherwise}. \end{array}\right. } \end{aligned}$$
(4.1)

Since \( {\mathfrak {R}}_{\mathfrak {m}}^{+} \) is a finite abelian group, we have from the orthogonality of characters [2] that

$$\begin{aligned} \delta _{\mathfrak {a}}({\mathfrak {b}}) = \frac{1}{| {\mathfrak {R}}_{\mathfrak {m}}^{+}|}\sum _{\Phi } \Phi ([{\mathfrak {b}}])\overline{\Phi ([{\mathfrak {a}}])}, \end{aligned}$$
(4.2)

where the sum runs over the Hecke characters of \( {\mathfrak {R}}_{\mathfrak {m}}^{+} \).

Let \( {\tilde{\Phi }} \) denote the idelic version of the Hecke character \( \Phi \). From the work of Shemanske [19] we can see that if \( \mathbf{f }\in {\mathcal {M}}_{\varvec{k}}({\mathfrak {n}}, \Psi ) \), then the twist of \( \mathbf{f } \) by \( \Phi \), \( \mathbf{f }\mid _{\Phi } \) (see [19] for the definition) lies inside the space \( {\mathcal {M}}_{\varvec{k}}({{\mathfrak {n}}}{{\mathfrak {m}}}^2, \Psi \Phi ^2) \). Further, Hecke eigenforms are mapped to Hecke eigenforms under such character twists. Also, the Fourier coefficients of \( \mathbf{f } \) and \( \mathbf{f }\mid _\Phi \) are related as

$$\begin{aligned} C({\mathfrak {a}}, \mathbf{f }\mid _{\Phi }) = \Phi ^*({\mathfrak {a}})C({\mathfrak {a}}, \mathbf{f }). \end{aligned}$$
(4.3)

Here \( \Phi ^* \) is defined as

$$\begin{aligned} \Phi ^*({\mathfrak {a}}) = {\left\{ \begin{array}{ll} {\tilde{\Phi }}({\mathfrak {a}}) &{} ({\mathfrak {a}}, {\mathfrak {m}})={\mathcal {O}}_F,\\ 0 &{} \hbox {otherwise}. \end{array}\right. } \end{aligned}$$

From here, it is clear that \( \Phi ^*=\Phi \).

Given a fractional ideal \( {\mathfrak {a}} \) coprime to \( {\mathfrak {m}} \), define

$$\begin{aligned} \mathbf{g }_{\mathfrak {a}} = \sum _{\Phi }\overline{\Phi ([{\mathfrak {a}}])} \mathbf{f }\mid _{\Phi }, \end{aligned}$$
(4.4)

where the sum runs over the characters of \( {\mathfrak {R}}_{\mathfrak {m}}^{+} \). From previous discussions it is clear that the Fourier coefficients of \( \mathbf{g }_{\mathfrak {a}} \) satisfy

$$\begin{aligned}C({\mathfrak {b}}, \mathbf{g }_{\mathfrak {a}}) = {\left\{ \begin{array}{ll} C({\mathfrak {b}}, \mathbf{f }) &{}\hbox { if } [{\mathfrak {a}}] = [{\mathfrak {b}}]\hbox { inside } {\mathfrak {R}}_{\mathfrak {m}}^{+}, \\ 0 &{} \hbox { otherwise,} \end{array}\right. } \end{aligned}$$

for all integral ideals \( {\mathfrak {b}} \). Therefore when we consider the L-function associated to \( \mathbf{g }_{{\mathfrak {a}}} \), say \( L(s,\mathbf{g }_{\mathfrak {a}}) \), we can see that

$$\begin{aligned} L(s,\mathbf{g }_{{\mathfrak {a}}}) = \sum _{\Phi } \overline{\Phi ([{\mathfrak {a}}])} L(s,\mathbf{f }\mid _{\Phi }). \end{aligned}$$

The above equation is initially true for some half plane and by analytic continuation is valid everywhere in the complex plane. Furthermore, since we have chosen \( \mathbf{f } \) to be a cusp form, \( L(s,\mathbf{g }_{{\mathfrak {a}}}) \) is entire. We record this as a lemma for future reference.

Lemma 4.1

For every integral ideal \( {\mathfrak {a}} \) coprime to \( {\mathfrak {m}} \), the L-series \( L(s, \mathbf{g }_{\mathfrak {a}}) \) is entire.

In order to prove the existence of sign changes, we appeal to a classical theorem of Landau, but in order to do that successfully, we need to show that \( L(s,\mathbf{g }_{\mathfrak {a}}) \) has a finite abscissa of convergence.

For the remaining of the Section we fix an equivalence class \( [{\mathfrak {a}}] \) inside \( {\mathfrak {R}}_{\mathfrak {m}}^{+} \). The arguments in the remainder of this Section is inspired from Sect. 2 of [18].

Recall that \( {\mathbb {A}}_F^\times \) denotes the group of ideles of F, and for any \( t\in {\mathbb {A}}_F^\times \), \( t{\mathcal {O}}_F \) denotes the fractional ideal of F associated with t in the natural way. As before, we let \( h_{\mathfrak {m}} = | {\mathfrak {R}}_{\mathfrak {m}}^{+}| \) and choose \( \{t_1,t_2,\ldots ,t_{h_{\mathfrak {m}}}\} \) such that \( \{t_i{\mathcal {O}}_F\}_{i=1}^{h_{\mathfrak {m}}} \) forms a complete set of representatives for the classes of \( {\mathfrak {R}}_{\mathfrak {m}}^{+} \). Let \( {\mathfrak {t}}_i \) denote \( t_i{\mathcal {O}}_F \) for \( 1\le i\le h_{\mathfrak {m}} \).

It is clear that for every integral ideal \( {\mathfrak {b}} \) coprime to \( {\mathfrak {m}} \), there is a unique \( \lambda \) with \( 1\le \lambda \le h_{\mathfrak {m}} \) and a totally positive element \( \xi \in {\mathfrak {t}}_\lambda \) such that \( {\mathfrak {b}} = \xi {\mathfrak {t}}_\lambda ^{-1}\). Now recall the definition of Fourier coefficients of a Hilbert modular form,

$$\begin{aligned} C({\mathfrak {b}}, \mathbf{f }) = N({\mathfrak {t}}_\lambda )^{-k_0/2}a_\lambda (\xi )\xi ^{(k_0\mathbf{1 } - {\varvec{k}})/2}, \end{aligned}$$

where we have chosen \( \xi \) and \( \lambda \) such that \( {\mathfrak {b}} = \xi {\mathfrak {t}}_\lambda ^{-1} \) as before and \(\mathbf{1 } = (1,1,\ldots ,1)\). Without loss of generality, assume that \( [{\mathfrak {t}}_1] = [{\mathfrak {a}}] \), denote \( a_1(\xi ) \) as \( a(\xi ) \) and \( {\mathfrak {t}}_1 \) as \( {\mathfrak {t}} \). It follows that

$$\begin{aligned} L(s, \mathbf{g }_{\mathfrak {a}}) = \sum _{{\mathfrak {b}}\ne 0} \frac{C({\mathfrak {b}}, \mathbf{g }_{\mathfrak {a}})}{N({\mathfrak {b}})^s} = N({\mathfrak {t}})^{-k_0/2} \sum _{\underset{0\ll \xi }{\xi \in {\mathfrak {t}}^{-1}}} \frac{a(\xi )\xi ^{(k_0\mathbf{1 } - {\varvec{k}})/2}}{N({\mathfrak {b}})^s}. \end{aligned}$$
(4.5)

To show that \(L(s,{\mathbf {g}}_{{\mathfrak {a}}})\) has finite abscissa of convergence, we will show that \(\sum _{\begin{array}{c} {\mathfrak {b}}\in [{\mathfrak {a}}]\\ {\mathfrak {b}}\subset {\mathcal {O}}_F \end{array}}|C({\mathfrak {b}},{\mathbf {f}})| \) is not finite. We now consider the equivalence class of \({\mathfrak {t}}_1\) in the narrow class group and denote it by \([{\mathfrak {t}}_1]\). Note that if \({\mathbf {f}}|_{\Phi }\in S_{\varvec{k}}({\mathfrak {n}}{\mathfrak {m}}^2,\Psi \Phi ^2)\), then by the Shimura correspondence [18] we have an h-tuple \(((f|_{\Phi })_1,(f|_{\Phi })_2, \ldots ,(f|_{\Phi })_h)\) of classical Hilbert modular forms such that

$$\begin{aligned} C({\mathfrak {b}}, {\mathbf {f}}|_{\Phi }) = {\left\{ \begin{array}{ll} N({\mathfrak {b}})^{\frac{k_0}{2}}a_{\lambda }(\xi ) \xi ^{\frac{-{\varvec{k}}}{2}} &{} \text { if } {\mathfrak {b}} = \xi {\mathfrak {t}}_{\lambda }^{-1}\subset {\mathcal {O}}_F,\\ 0 &{} \text { otherwise }\\ \end{array}\right. }, \end{aligned}$$
(4.6)

and

$$\begin{aligned} (f|_{\Phi })_{\lambda }(z) = \sum _{0\ll \xi \in {\mathfrak {t}}_{\lambda }} a_{\lambda }(\xi ) \exp (2\pi i \text { Tr} (\xi z)) \in S_{{\varvec{k}}}(\Gamma ({\mathfrak {t}}_{\lambda },{\mathfrak {n}}{\mathfrak {m}}^2),\psi \phi ^2) \subset M_{{\varvec{k}}}(\Gamma _{N({\mathfrak {n}}{\mathfrak {m}}^2)}).\nonumber \\ \end{aligned}$$
(4.7)

Consider the sum \(\sum _{\Phi }\overline{\Phi [{\mathfrak {a}}]} (f|_{\Phi })_{1} \) which is a classical Hilbert modular form in the space \(M_{{\varvec{k}}}(\Gamma _{N({\mathfrak {n}}{\mathfrak {m}}^2)})\). Now using (4.6) and (4.7), we have

$$\begin{aligned} \sum _{\Phi }\overline{\Phi [{\mathfrak {a}}]} (f|_{\Phi })_{1}&= \sum _{\Phi }\overline{\Phi [{\mathfrak {a}}]} \sum _{0\ll \xi \in \mathfrak {t_1}} a_{\lambda }(\xi ) \exp (2\pi i \text { Tr} (\xi z)) )\\&= \sum _{\Phi }\overline{\Phi [{\mathfrak {a}}]} \sum _{\begin{array}{c} \xi \in {\mathfrak {t}}_1\\ {\mathfrak {b}} = \xi \mathfrak {t_1}^{-1}\subset {\mathcal {O}}_F \end{array}} C({\mathfrak {b}}, {\mathbf {f}}|_{\Phi }) N({\mathfrak {b}})^{\frac{-k_0}{2}}\xi ^{\frac{{\varvec{k}}}{2}}\exp (2\pi i \text { Tr} (\xi z))\\&= \sum _{\Phi }\overline{\Phi [{\mathfrak {a}}]} \sum _{\begin{array}{c} \xi \in {\mathfrak {t}}_1\\ {\mathfrak {b}} = \xi {\mathfrak {t}}_1^{-1}\subset {\mathcal {O}}_F \end{array}} \Phi ^*({\mathfrak {b}})C({\mathfrak {b}}, {\mathbf {f}}) N({\mathfrak {b}})^{\frac{-k_0}{2}}\xi ^{\frac{{\varvec{k}}}{2}}\exp (2\pi i \text { Tr} (\xi z))\\&= \sum _{\begin{array}{c} \xi \in {\mathfrak {t}}_1\\ {\mathfrak {b}} = \xi {\mathfrak {t}}_1^{-1}\subset {\mathcal {O}}_F \end{array}} C({\mathfrak {b}}, {\mathbf {f}}) N({\mathfrak {b}})^{\frac{-k_0}{2}}\xi ^{\frac{{\varvec{k}}}{2}}\exp (2\pi i \text { Tr} (\xi z)) \sum _{\Phi }\overline{\Phi [{\mathfrak {a}}]}\Phi ([{\mathfrak {b}}])\\&= \sum _{\begin{array}{c} \xi \in {\mathfrak {t}}_1\\ {\mathfrak {b}} = \xi {\mathfrak {t}}_1^{-1}\subset {\mathcal {O}}_F\\ ({\mathfrak {b}},{\mathfrak {m}})=1 \end{array}} C({\mathfrak {b}}, {\mathbf {f}}) N({\mathfrak {b}})^{\frac{-k_0}{2}}\xi ^{\frac{{\varvec{k}}}{2}}\exp (2\pi i \text { Tr} (\xi z))\\&= \sum _{\begin{array}{c} {\mathfrak {b}}\in [{\mathfrak {a}}] \in {\mathfrak {R}}_{{\mathfrak {m}}}^+\\ {\mathfrak {b}}\subset {\mathcal {O}}_F \end{array}} C({\mathfrak {b}}, {\mathbf {f}}) N(\xi {\mathfrak {t}}_1^{-1})^{\frac{-k_0}{2}}\xi ^{\frac{{\varvec{k}}}{2}}\exp (2\pi i \text { Tr} (\xi z)). \end{aligned}$$

In the last two equalities we have used the facts, \(C({\mathfrak {b}},{\mathbf {f}}) = 0\) whenever \({\mathfrak {b}}\nsubseteq {\mathcal {O}}_F\) and

$$\begin{aligned} \sum _{\Phi } \overline{\Phi ([{\mathfrak {a}}])} \Phi ([{\mathfrak {b}}]) = {\left\{ \begin{array}{ll} 1 &{} {\mathfrak {b}}\equiv {\mathfrak {a}} (\text {mod }{\mathfrak {m}}) \text {and } ({\mathfrak {b}},{\mathfrak {m}})=1,\\ 0 &{} \text { otherwise}.\\ \end{array}\right. } \end{aligned}$$

Note that \(N(\xi {\mathfrak {t}}_1^{-1})^{\frac{-k_0}{2}}\xi ^{\frac{{\varvec{k}}}{2}} = N({\mathfrak {t}}_1^{-1})^{\frac{k_0}{2}}\xi ^{\frac{({\varvec{k}}-k_0\cdot \mathbf{1 })}{2}}\), where \(\mathbf{1 }=(1,1,\ldots ,1)\). Therefore the sum

To show that the sum is not finite it is enough to show that left hand side of the above inequality is not finite. Note that \(\sum _{\Phi }\overline{\Phi [{\mathfrak {a}}]} (f|_{\Phi })_{1}\) is a classical Hilbert modular form and \(C({\mathfrak {b}}, {\mathbf {f}}) N(\xi {\mathfrak {t}}_1^{-1})^{\frac{-k_0}{2}}\xi ^{\frac{{\varvec{k}}}{2}}\) are its Fourier coefficients where \(\xi \in {\mathfrak {t}}_1\). We will show for a general classical Hilbert modular form \(g(\ne 0)\in M_{{\varvec{k}}}(\Gamma _{N({\mathfrak {n}}{\mathfrak {m}}^2)})\), the sum of absolute value of Fourier coefficients diverges. Suppose g has following Fourier expansion

$$\begin{aligned} g(\mathbf{z }) = \sum _{\underset{0\ll \xi }{\xi \in {\mathfrak {t}}^{-1}}} {a(\xi ) \exp (Tr(\xi \mathbf{z }))} \end{aligned}$$

and suppose that

$$\begin{aligned} \sum _{\underset{0\ll \xi }{\xi \in {\mathfrak {t}}^{-1}}} |a(\xi )| < \infty . \end{aligned}$$

Then we have

$$\begin{aligned} |g (\mathbf{z })| \le K <\infty , \end{aligned}$$
(4.8)

for all \( \mathbf{z }\in {\mathcal {H}}^n \). Suppose that \( {{\mathfrak {n}}}{{\mathfrak {m}}}^2\cap {\mathbb {Z}} = \kappa {\mathbb {Z}} \). From (4.4) we observe that for every \( \gamma _n = \begin{pmatrix} 1&{}0\\ n\kappa &{}1 \end{pmatrix}\in \Gamma _\kappa \) (c.f. (2.2)), we have

$$\begin{aligned} g(\gamma _n (\mathbf{z })) = (n\kappa \mathbf{z }+1)^{{\varvec{k}}} g(\mathbf{z }). \end{aligned}$$

Now observing (4.8) we see that

$$\begin{aligned} |g(\mathbf{z })| = |n\kappa \mathbf{z }+1|^{-{\varvec{k}}} |g(\gamma (\mathbf{z }))| \le K |n\kappa \mathbf{z }+1|^{-{\varvec{k}}}. \end{aligned}$$

If we let \( n\rightarrow \infty \), we see that \( g\equiv 0 \). In other words we can conclude that if \( \mathbf{g } \ne 0 \), then

$$\begin{aligned} \sum _{\underset{0\ll \xi }{\xi \in {\mathfrak {t}}^{-1}}} |a(\xi )| \rightarrow \infty . \end{aligned}$$

Now the following lemma is immediate.

Lemma 4.2

If \( \mathbf{g }_{\mathfrak {a}} \ne 0\), then the L series \( L(s,\mathbf{g }_{\mathfrak {a}}) \) has a finite abscissa of convergence. In other words, \( L(s, \mathbf{g }_{\mathfrak {a}}) \) is not absolutely convergent everywhere.

Proof of Theorem 1.2

In order to prove Theorem 1.2 we first state the following famous result of Landau (see [16]).

Theorem 4.1

[Landau] Suppose \(\displaystyle L(s) = \sum _{n\in {\mathbb {N}}} a_n n^{-s} \) is absolutely convergent on some half plane and suppose that \( a_n \ge 0 \) for all but finitely many n. Then either L(s) is absolutely convergent everywhere or L(s) has a singularity at the abscissa of convergence.

We apply Theorem 4.1 for the L series \( L(s, \mathbf{g }_{\mathfrak {a}}) \). From Lemma 4.1, \( L(s, \mathbf{g }_{\mathfrak {a}}) \) is entire and from Lemma 4.2, \( L(s, \mathbf{g }_{\mathfrak {a}}) \) is not absolutely convergent everywhere. Therefore the only possibility is that \( L(s, \mathbf{g }_{\mathfrak {a}}) \) does not satisfy the assumptions of the theorem. In other words, we can conclude that \( B'(n_1) < 0 \) and \( B'(n_2) > 0 \) for infinitely many choices of \( n_1,n_2\in {\mathbb {N}} \), where we have defined \( B'(\kappa ) \) as

$$\begin{aligned} B'(\kappa ) = \sum _{\underset{N({\mathfrak {b}}) = \kappa }{[{\mathfrak {b}}] = [{\mathfrak {a}}]}} C({\mathfrak {b}}, \mathbf{g }_{\mathfrak {a}}). \end{aligned}$$

Now, Theorem 1.2 follows. \(\square \)