1 Introduction

This paper is concerned with a quantitative result on the study of signs of Fourier coefficients of Hilbert cusp forms. This theme of research has seen a lot of activity in the recent past; here we just recall the landmark result of Matomäki for elliptic Hecke cusp forms, which also sets the ground of our results to follow. Let \(Q_{f} \asymp k^2 N\) be the analytic conductor of an elliptic newform f of level N and weight k. Then it was proved in [8] that the first negative eigenvalue of f occurs at some \(n_0 \ge 1\) with \(n_0 \ll Q_{f}^{3/8}\). The method in [8] is based on further refinement of that in [5] wherein a variety of results on statistical distribution of signs of Fourier coefficients of newforms were studied.

In the case of Hilbert newforms of arbitrary weight and level, the only known result seems to be the work of Meher and Tanabe (see [10, Theorems 1.1, 1.2]). To describe their result let us introduce the following notation. Let F be a totally real number field of degree n associated with the adelic Hilbert newform f. Let \(\{ C({\mathfrak {m}}) \}_{{\mathfrak {m}}}\) denote the Fourier coefficients of f, indexed by the integral ideals \({\mathfrak {m}}\), and \(Q_{f}\) denote the analytic conductor of f (see next section for the definition). Then in [10] it is shown that the sequence \(\{C({\mathfrak {m}})\}_{m}\) changes sign infinitely often and more quantitatively the main result of [10] states that there exists an integral ideal \({\mathfrak {m}}\) with

$$\begin{aligned} N({\mathfrak {m}}) \ll _{n, \epsilon } Q_{f}^{1+\epsilon } \end{aligned}$$

such that \(C({\mathfrak {m}}) <0\), where \(N({\mathfrak {m}})\) is the norm of integral ideal \({\mathfrak {m}}\). One of the aims of this paper is to improve upon this result. Our main result is the following.

Theorem 1.1

Let f be a Hilbert newform of weight \(k=(k_1,k_2,\ldots ,k_n)\) and full level. Let \(C({\mathfrak {m}})\) denote the Fourier coefficient of f at the ideal \({\mathfrak {m}}\). Then for any arbitrary \(\epsilon >0\),

  1. (i)

    when \(k_1,k_2,\ldots ,k_n\) are all even, we have \(C({\mathfrak {m}})<0\) for some ideal \({\mathfrak {m}}\) with

    $$\begin{aligned} N({\mathfrak {m}}) \ll _{n, \epsilon } Q_{f}^{\frac{9}{20}+ \epsilon }; \end{aligned}$$
  2. (ii)

    otherwise we have \(C({\mathfrak {m}})<0\) for some ideal \({\mathfrak {m}}\) with

    $$\begin{aligned} N({\mathfrak {m}}) \ll _{n, \epsilon } Q_{f}^{\frac{1}{2}+ \epsilon }. \end{aligned}$$

The bound in the case (i) is stronger as the Ramanujan conjecture is known in this case but it does not seem to be so in case (ii).

The main difference in our approach with that in [10] is that instead of using the bound \(|{\widetilde{C}}({\mathfrak {p}}) | + |{\widetilde{C}}({\mathfrak {p}}^2)| \ge 1/2\) (see [10, Prop 4.5]) for certain ‘good’ primes \({\mathfrak {p}}\), we work directly with the Hecke relation \({\widetilde{C}}({\mathfrak {p}})^2 -{\widetilde{C}}({\mathfrak {p}}^2)=1\) (see [16, 2.23]), where

$$\begin{aligned} {\widetilde{C}}({\mathfrak {m}}):= \frac{C({\mathfrak {m}})}{N({\mathfrak {m}})^{\frac{k_0-1}{2}}} \quad \text {and} \quad k_0:= \max \{k_1,k_2,\ldots ,k_n\}. \end{aligned}$$

Like other results available in the topic, we consider upper and lower bounds of a suitable weighted partial sum of normalized Fourier coefficients \({\widetilde{C}}({\mathfrak {m}})\):

$$\begin{aligned} S(f,x) := \sum _{N({\mathfrak {m}})\le x} {\widetilde{C}}({\mathfrak {m}}) \log \left( \frac{x}{N({\mathfrak {m}})}\right) . \end{aligned}$$
(1.1)

Using the convexity principle for automorphic L-functions and Perron’s formula (see e.g. [4, Chapter 5]) we get an upper bound of S(fx) in terms of \(Q_{f}\) and x. For the lower bound of S(fx) in the first case of Theorem 1.1, we adopt a method similar in the spirit of [5, Theorem 1]. The introduction of the weighted \(\log \) in (1.1) is necessary to deal with convergence issues while working with the Perron’s formula, unlike the case in [5]. To find a lower bound, we work with

$$\begin{aligned} T(f,x):= \sum _{N({\mathfrak {m}}) \le x} {\widetilde{C}}({\mathfrak {m}}) \end{aligned}$$

and recover a corresponding lower bound of S(fx) by partial summation.

In the second result of this paper, we extend Theorem 1.1 of [9] to the case of primitive Hilbert cusp forms. The method used here relies upon that in [9, Theorem 1.1].

Theorem 1.2

Let \(k_1, k_2,\ldots ,k_n\) be all even and f be an adelic Hilbert newform of weight \(k=(k_1,k_2,\ldots ,k_n)\) and full level. Then one has

$$\begin{aligned} \lim _{x \rightarrow \infty } \frac{|\{{\mathfrak {m}} | N({\mathfrak {m}})\le x, C({\mathfrak {m}})>0\}|}{|\{{\mathfrak {m}} | N({\mathfrak {m}}) \le x\}|} =\lim _{x \rightarrow \infty } \frac{|\{{\mathfrak {m}} | N({\mathfrak {m}})\le x, C({\mathfrak {m}})<0\}|}{|\{{\mathfrak {m}} | N({\mathfrak {m}}) \le x\}|} =\frac{1}{2}. \end{aligned}$$

The restriction of the weight in Theorem 1.2 is due to the use of Sato–Tate Theorem [1, pp. 1–6], which is available in the case when all of \(k_1, k_2,\ldots , k_n\) are even. We also make a note of the fact that our proofs of both Theorems 1.1 and 1.2 can be generalized to an arbitrary fixed level \({\mathfrak {n}}\) and would get the same result. For simplicity we restrict ourselves to the case of full level.

2 Notation and preliminaries

The setting of the paper is as follows (see [16] for detailed discussion): let F be a totally real number field of degree n and \({\mathcal {O}}_{F}\) be the ring of integers of F. Throughout this paper, the integral ideals and prime ideals of F will be denoted by gothic symbols like \({\mathfrak {m}}\) and \({\mathfrak {p}}\), respectively. We will denote the set of all integral ideals and prime ideals of F by \({\mathcal {I}}\) and \({\mathcal {P}}\), respectively. Let h be the narrow class number of F and \(\{c_{\nu }:= t_{\nu } {\mathcal {O}}_{F}\}_{1}^{h}\) be the complete set of representatives of the narrow class group, with \(t_{\nu }\) being finite ideles. Let \({\mathcal {D}}_{F}\) be the different ideal of F. For each \(c_{\nu }\) consider the following subgroup of \(GL_{2}(F)\):

$$\begin{aligned} \Gamma (c_{\nu } {\mathcal {D}}_{F}, {\mathcal {O}}_{F})=\left\{ \left( \begin{array}{cc} a &{}\quad b\\ c &{}\quad d \end{array}\right) \mid a,d \in {\mathcal {O}}_{F}, c\in c_{\nu } {\mathcal {D}}_{F}, b\in c_{\nu }^{-1} {\mathcal {D}}_{F}^{-1}, ad-bc \in {\mathcal {O}}_{F}^{*}\right\} . \end{aligned}$$

A classical Hilbert cusp form \(f_{\nu }\) of weight \((k_1,k_2,\ldots , k_n)\) on \(\Gamma (c_{\nu } {\mathcal {D}}_{F}, {\mathcal {O}}_{F})\) has the following Fourier expansion:

$$\begin{aligned} f_{\nu } (z)= \sum _{0 \ll \eta \in c_{\nu }} a_{\nu }(\eta ) \exp (Tr(\eta z)). \end{aligned}$$

To talk about newforms, following [16], we associate an h-tuple \((f_{1},f_{2},\ldots ,f_{h})\) to an adelic Hilbert cusp form f. Recall that f is associated with an automorphic form on \(GL_{2}({\mathbb {A}}_{F})\), where \({\mathbb {A}}_{F}\) is the adele ring of F and the Fourier coefficients \(\{C({\mathfrak {m}}) \}_{{\mathfrak {m}}}\) of f are given by the following relation (see [16, Eqs. 2.17, 2.22])

$$\begin{aligned} C({\mathfrak {m}}) =a_{\nu }(\eta ) \eta ^{-k_0/2} N({\mathfrak {m}})^{k_0/2}, \end{aligned}$$

where \({\mathfrak {m}}=\eta c_{\nu }^{-1}\) for a unique \(\nu \) and some totally positive element \(\eta \) in F. The Hecke theory for adelic Hilbert newforms (sometimes referred to as primitive forms) was established by Shimura in [16]. When f is an adelic Hilbert newform, usually one has the normalization \(C({\mathcal {O}}_{F}) = 1\) (see [16, p. 650]), which we would assume throughout this paper.

2.1 General notation

Suppose \( h(x) >0\) is defined on a subset B of \({\mathbb {R}}\) and let g(x) be such that \(g(x): B \mapsto {\mathbb {R}}\). Whenever we write \(g(x) \ll h(x)\) or \(g(x) = O(h(x))\) or \(g(x) \ll _\epsilon h(x)\), it will always mean that

$$\begin{aligned} |g(x)| \le M \cdot h(x), \quad \text {for all } x \in B \text { and for some } M >0 , \end{aligned}$$

in the last case M may depend on \(\epsilon \). Let \(u(x), v(x) : {\mathcal {B}} \mapsto {\mathbb {R}}\), where \({\mathcal {B}} \) is a subset of \({\mathbb {R}}\). The notations \(u(x)= o(v(x))\) or \(u(x) \sim v(x)\), respectively, mean that

$$\begin{aligned} \underset{x \rightarrow \infty }{\lim }(u(x)/v(x)) =0 \quad \text {or} \quad \underset{x \rightarrow \infty }{\lim }(u(x)/v(x)) =1 . \end{aligned}$$

Whenever we use \(\sum ^{\#}\), it will always signify that the summation is restricted to squarefree integral ideals.

2.2 L-function of an adelic Hilbert newform

Let f be an adelic Hilbert newform of weight \((k_1,k_2,\ldots , k_n)\) and full level. Let \(\{C({\mathfrak {m}})\}_{{\mathfrak {m}}}\) denote its Fourier coefficients. Then the normalized L-function attached to f is an absolutely convergent Dirichlet series for \(\mathfrak {R}s >1\) (see [14, Sect. 4.4] for the details of this subsection), given by

$$\begin{aligned} L(s,f):= \underset{{\mathfrak {m}} \in {\mathcal {I}}}{\sum }\frac{{\widetilde{C}}({\mathfrak {m}})}{N({\mathfrak {m}})^s}, \end{aligned}$$

where \({\mathcal {I}}\) and \({\widetilde{C}}({\mathfrak {m}})\) are same as defined before. It is well known that L(sf) admits an Euler product:

$$\begin{aligned} L(s,f)= \underset{{\mathfrak {p}} \in {\mathcal {P}}}{\prod }\left( 1- {\widetilde{C}}({\mathfrak {p}}) N({\mathfrak {p}})^{-s}+ N({\mathfrak {p}})^{-2s}\right) ^{-1} \end{aligned}$$

and it can be analytically continued to the whole complex plane \({\mathbb {C}}\). Let us put

$$\begin{aligned} L_{\infty }(s,f):= N\left( {\mathcal {D}}_{F}^2\right) ^{\frac{s}{2}} \prod _{j=1}^{n} (2 \pi )^{-\left( s+\frac{k_{j}-1}{2}\right) } \Gamma \left( s+\frac{k_{j} -1}{2}\right) . \end{aligned}$$

The completed L-function \(\Lambda \) is then defined by

$$\begin{aligned} \Lambda (s,f) = L(s,f) L_{\infty }(s,f) , \end{aligned}$$

which satisfies the functional equation

$$\begin{aligned} \Lambda (s,f)= i^{\sum _{j}k_j} \Lambda (1 -s, f). \end{aligned}$$

2.3 Analytic conductor

With the given data in the previous subsection we define the analytic conductor at \(s= 1/2\) (here we follow [4, Chapter 5], where these objects are defined for a more general L-function) \(Q_{f}\) of L(fs) (or f for brevity) as

$$\begin{aligned} Q_{f} := N({\mathcal {D}}_{F}^2) \prod _{j=1}^{n} \left( \frac{k_j+5}{2}\right) \left( \frac{k_j+7}{2}\right) \asymp \left( \prod _{j=1}^{n} k_{j}\right) ^2 N\left( {\mathcal {D}}_{F}^2\right) . \end{aligned}$$

3 Proof of Theorem 1.1

Let f be as in Theorem 1.1. Let \(y>0\) be such that for all \({\mathfrak {m}} \in {\mathcal {I}}\) with \(N({\mathfrak {m}}) \le y\) we have \(C({\mathfrak {m}}) \ge 0 \). We will estimate y in terms of \(Q_{f}\) with an implied absolute constant (hence we may assume y to be bigger than some absolute constant at some appropriate place) from the comparison of upper and lower bounds of the sum (for a suitable \(x= y^{\theta }\) for some \(\theta \) to be specified later)

$$\begin{aligned} S(f,x) := \sum _{N({\mathfrak {m}})\le x} {\widetilde{C}}({\mathfrak {m}}) \log \left( \frac{x}{N({\mathfrak {m}})}\right) . \end{aligned}$$

3.1 Upper bound

First let us recall a convexity bound result (see [13, Lemma 3.7]): let \(\epsilon >0\) be arbitrary and \( 0< \sigma < 1\), where \(s= \sigma +it\). Then we have

$$\begin{aligned} L(\sigma +it, f) \ll _{\epsilon } \big ( (1+ | t |)^{2n+1} Q_{f} \big )^{\frac{1-\sigma }{2} + \epsilon }. \end{aligned}$$
(3.1)

From Perron’s formula we get

$$\begin{aligned} S(f,x) = \sum _{N({\mathfrak {m}}) \le x} {\widetilde{C}}({\mathfrak {m}})\log \left( \frac{x}{N({\mathfrak {m}})}\right) = \frac{1}{2 \pi i} \int _{(2)} L(s,f) \frac{x^{s}}{s^2} \mathrm{{d}}s. \end{aligned}$$

Here (2) in the limit of the integral means the contour of the integral is \(\mathfrak {R}s= 2\). Using (3.1) it is clear that the integral is absolutely convergent for \(\mathfrak {R}s \ge \frac{2n}{2n+1}\). So we shift the line of integration to \(\sigma = \frac{2n}{2n+1} \) (horizontal integrals do not contribute owing to (3.1)). Further using (3.1) we obtain the estimate

$$\begin{aligned} S(f,x) \ll _{\epsilon } Q_{f}^{\frac{1}{2(2n+1)}+ \epsilon } x^{\frac{2n}{2n+1}}. \end{aligned}$$
(3.2)

3.2 Lower bound

Let us recall the function T(fx) defined in the introduction:

$$\begin{aligned} T(f,x):= \sum _{N({\mathfrak {m}}) \le x} {\widetilde{C}}({\mathfrak {m}}) . \end{aligned}$$
(3.3)

In this subsection we will find a lower bound of T(fx) for some suitable x. At this point let us recall the following result about the coefficients \({\widetilde{C}}({\mathfrak {m}})\) (see [16, Eq. 2.23]): for any unramified prime ideal \({\mathfrak {p}}\) (i.e. \({\mathfrak {p}} \not \mid {\mathcal {D}}_{F}\)), one has the Hecke relation

$$\begin{aligned} {\widetilde{C}}({\mathfrak {p}})^2 = 1+ {\widetilde{C}}({\mathfrak {p}}^{2}). \end{aligned}$$
(3.4)

Hence for all unramified primes \({\mathfrak {p}}\) satisfying \(N({\mathfrak {p}})\le y^{\frac{1}{2}}\), we have \({\widetilde{C}}({\mathfrak {p}}) \ge 1\). Following [5] let us introduce an auxiliary multiplicative function \(h\equiv h_y : {\mathcal {I}} \rightarrow {\mathbb {R}}\) defined by

$$\begin{aligned} h_y({\mathfrak {p}})= {\left\{ \begin{array}{ll} 1 \quad \quad \text {if } N({\mathfrak {p}})\le y^{\frac{1}{2}} ;\\ 0 \quad \quad \text {if } y^{\frac{1}{2}} < N({\mathfrak {p}})\le y ;\\ - 2 \quad \text {if } N({\mathfrak {p}}) > y \end{array}\right. } \end{aligned}$$
(3.5)

and \(h_y({\mathfrak {p}}^v)=0\) for \(v\ge 2\). Recall that for adelic Hilbert newforms of weight \((k_1, k_2,..., k_n) \in (2 {\mathbb {Z}})^{n}\), by the Ramanujan–Petersson bound one has \(|{\widetilde{C}}({\mathfrak {p}})| \le 2\) (see [2, Theorem 1]). We will now prove the following lemma for further use (see [5, Lemma 2.1] for the case when \(F= {\mathbb {Q}}\)).

Lemma 3.1

For any \(\epsilon >0\), we have

$$\begin{aligned} \sum _{N\left( {\mathfrak {m}}\right) \le y^u } h_y\left( {\mathfrak {m}}\right) = \frac{c_F}{\zeta _F(2)} y^u \left( \rho (2u)- 2 \log u\right) \left\{ 1+ O\left( \frac{1}{\log y}\right) \right\} \end{aligned}$$
(3.6)

uniformly for \(1 \le u \le \frac{3}{2}\), where \(\zeta _F\) is the Dedekind zeta function, \(c_F\) is the residue \(\zeta _F\) at the pole \(s=1\) and \(\rho (u)\) is the Dickman function, defined as the unique continuous solution of the difference-differential equation

$$\begin{aligned} u \rho '(u) +\rho (u-1) =0 \quad (u>1), \quad \rho (u)=1 \quad (0< u \le 1).\end{aligned}$$

Proof

For \({\mathfrak {m}} \in {\mathcal {I}}\) define

$$\begin{aligned} P({\mathfrak {m}}) := \max \{N({\mathfrak {p}}) | {\mathfrak {p}} \in {\mathcal {P}}, {\mathfrak {p}}| {\mathfrak {m}} \}. \end{aligned}$$

We also define

$$\begin{aligned} \psi (x,y):= | \{{\mathfrak {m}} : N({\mathfrak {m}}) \le x , P({\mathfrak {m}}) \le y \}| . \end{aligned}$$

For \(1 \le u \le 3/2\), from the definition of \(h_{y}\) we get,

$$\begin{aligned} \sum _{N({\mathfrak {m}})\le y^{u}} h_{y}({\mathfrak {m}}) = \psi ^{\#}(y^u, y^{\frac{1}{2}}) - 2 \sum _{y\le N({\mathfrak {p}}) \le y^u} \underset{N({\mathfrak {l}}) \le \frac{y^u}{N({\mathfrak {p}})}}{ \sum {^{\#}}} 1 . \end{aligned}$$
(3.7)

Here the sign \(\#\) signifies that the sum is taken over squarefree integral ideals. Let us first estimate the second term of (3.7). We state the following result whose proof is given after this lemma.

$$\begin{aligned} \underset{N({\mathfrak {l}}) \le x}{ \sum {^{\#}}} 1 = \frac{c_F}{\zeta _{F} (2)} x + O\left( \frac{x}{\log x}\right) , \end{aligned}$$
(3.8)

where \(c_F\) is the residue of the Dedekind zeta function \(\zeta _F\) at the pole \(s=1\). For the second term of the right-hand side of (3.7), arguing exactly as in [5, pp. 8–9] gives an upper bound

$$\begin{aligned} \sum _{y\le N({\mathfrak {p}}) \le y^u} {\underset{N({\mathfrak {l}}) \le \frac{y^u}{N({\mathfrak {p}})}}{ \sum {^{\#}}}} 1 = \frac{c_F}{\zeta _{F}(2)}y^{u} \log u + O\left( \frac{y^u}{\log y}\right) . \end{aligned}$$
(3.9)

For (3.9) we have also used the fact (see [6, Proposition 2]) that

$$\begin{aligned} \sum _{N({\mathfrak {p}}) \le x} \frac{1}{N({\mathfrak {p}})}= \log \log x +B + o(1), \end{aligned}$$
(3.10)

where B is a constant depending only on F.

The first term in (3.7) is given by the following (the proof is given after this lemma):

$$\begin{aligned} \psi ^{\#}(y^{u},y^{\frac{1}{2}}) = \frac{c_{F}}{\zeta _{F}(2)} \cdot \rho (2u) y^{u} + O\left( \frac{y^{u}}{\log y}\right) . \end{aligned}$$
(3.11)

Thus the Lemma 3.1 follows from (3.9) and (3.11). \(\square \)

The proofs of the two results that we used in Lemma 3.1 are verbatim with the case of integers (i.e. \({\mathcal {O}}_{F}= {\mathbb {Z}}\)). However for convenience we will give the proofs here.

Proposition 3.2

With the notations as given above, one has

$$\begin{aligned} \underset{N({\mathfrak {l}}) \le x}{ \sum {^{\#}}} 1 = \frac{c_F}{\zeta _{F} (2)} x + O\left( \frac{x}{\log x}\right) . \end{aligned}$$

Proof

The Möbius function \(\mu : {\mathcal {I}} \mapsto \{1,0,-1 \}\) is defined by \(\mu ({\mathfrak {p}})=-1\), \(\mu ({\mathfrak {p}}^v)=0\) for \(v \ge 2\) on \({\mathcal {P}}\) and extended multiplicatively to \({\mathcal {I}}\). It satisfies the usual properties

$$\begin{aligned} \mu ^{2} ({\mathfrak {m}}) = \underset{{\mathfrak {l}}^2 | {\mathfrak {m}}}{\sum }\mu ({\mathfrak {l}}) \quad \text {and} \quad \underset{{\mathfrak {m}} \in I}{\sum }\frac{\mu ({\mathfrak {m}})}{N({\mathfrak {m}})^2} =\frac{1}{\zeta _{F}(2)}, \end{aligned}$$
(3.12)

where \(\zeta _{F}\) is the Dedekind zeta function. From [12, Theorem 11.1.5] we write (please see the remark after this proof)

$$\begin{aligned} \underset{N({\mathfrak {l}}) \le x}{\sum } 1 = \frac{c_F}{\zeta _{F} (2)} x + O\left( \frac{x}{\log x}\right) . \end{aligned}$$

Now we calculate

$$\begin{aligned} \underset{N({\mathfrak {l}}) \le x}{ \sum {^{\#}}} 1= \underset{N({\mathfrak {l}}) \le x}{\sum } \mu ^{2}({\mathfrak {l}})&= \underset{N({\mathfrak {l}}) \le x}{\sum } \underset{{\mathfrak {t}}^2 | {\mathfrak {l}}}{\sum } \mu ({\mathfrak {t}}) \\&= \underset{N({\mathfrak {t}}^2) \le x}{\sum } \mu ({\mathfrak {t}}) \left( \underset{N\left( {\mathfrak {s}}\right) \le \frac{x}{N({\mathfrak {t}})^2}}{\sum } 1 \right) \\&= \underset{N({\mathfrak {t}}^2) \le x}{\sum } \mu ({\mathfrak {t}}) \left( c_{F} \frac{x}{N({\mathfrak {t}}^2)}+ O\left( \frac{\frac{x}{N({\mathfrak {t}}^2)}}{\log \left( \frac{x}{N({\mathfrak {t}}^2)}\right) }\right) \right) \\&= c_{F} x \cdot \underset{N({\mathfrak {t}}^2) \le x}{\sum } \frac{\mu ({{\mathfrak {t}})}}{N({\mathfrak {t}}^2)} +\underset{N({\mathfrak {t}}^2) \le x}{\sum } \frac{\mu ({{\mathfrak {t}})}}{N({\mathfrak {t}}^2)} O\left( \frac{x}{\log x}\right) \\&= \frac{c_F}{\zeta _{F} (2)} x + O\left( \frac{x}{\log x}\right) . \end{aligned}$$

For the last equation we have used the fact that

$$\begin{aligned} \underset{N({\mathfrak {t}}^2) \le x}{\sum } \frac{\mu ({{\mathfrak {t}})}}{N({\mathfrak {t}}^2)}= \frac{1}{\zeta _{F}(2)}+O(x^{\frac{-1}{2}}). \end{aligned}$$

\(\square \)

Remark

The error term above is actually of the magnitude \(x^{1-\frac{1}{n}}\) (for e.g. see [12, Theorem 11.1.5]). However this error term bound will not benefit us because of the error term in the next result is of the magnitude \(\frac{x}{\log x}\).

Proposition 3.3

With the notations as given above, one has

$$\begin{aligned} \psi ^{\#}(y^{u},y^{\frac{1}{2}}) = \frac{c_{F}}{\zeta _{F}(2)} \cdot \rho (2u) y^{u} + O\left( \frac{y^{u}}{\log y}\right) . \end{aligned}$$

Proof

From [11, Lemma 4.1], for \(0<\delta <1\) one has

$$\begin{aligned} \psi (x,x^{\delta }) = c_{F} \cdot \rho \left( \frac{1}{\delta }\right) x + O\left( \frac{x}{\log x}\right) . \end{aligned}$$
(3.13)

Now arguing as in the previous proposition we get

$$\begin{aligned} \psi (y^{u},y^{\frac{1}{2}})^{\#}= \underset{N({\mathfrak {l}}) \le y^u, P({\mathfrak {l}}) \le y^{\frac{1}{2}}}{\sum } \mu ^{2}({\mathfrak {l}})= \underset{N({\mathfrak {t}}^2) \le y^u, P({\mathfrak {t}}) \le y^{\frac{1}{2}}}{\sum } \mu ({\mathfrak {t}}) \psi \left( \frac{y^u}{N({\mathfrak {t}}^2)},y^{\frac{1}{2}}\right) . \end{aligned}$$

Now we put the estimate of (3.13) in the right-hand side of the last equation and the rest of the proof would follow exactly same as in [3, pp. 190–191] where he has proved the same result in the case of integers (i.e. \({\mathcal {O}}_{F}= {\mathbb {Z}}\)). From here [3] used certain properties of the Dickman function \(\rho \) and \(\mu \) function, which are same as in this case (including the \(\mu \) function). \(\square \)

It is clear from Lemma 3.1 that whenever \(\rho (2u)- 2 \log u > 0\) and y is large enough, one has \(\sum _{N({\mathfrak {m}}) \le y^u } h_y({\mathfrak {m}}) > 0\). It is known from [5] that \(\rho (2u)- 2 \log u > 0\) for all \(u< \kappa \), where \(\kappa \) is the solution of the equation \(\rho (2u)= 2 \log u\) and \(\kappa > \frac{10}{9}\).

Lemma 3.4

Let f be a primitive form of weight \((k_1,k_2,\ldots ,k_n) \in (2 {\mathbb {Z}})^n\). Then for any fixed u with \(1 \le u < \kappa \), we have

$$\begin{aligned} T(f,y^{u}) \ge \sum _{N({\mathfrak {m}}) \le y^{u}} h_{y}({\mathfrak {m}}) \gg _{u} y^u. \end{aligned}$$

Proof

Let \(g_{y}: {\mathcal {I}} \rightarrow {\mathbb {R}}\) be the multiplicative function defined by the Dirichlet convolution identity

$$\begin{aligned} {\widetilde{C}}({\mathfrak {m}})= (g_{y} *h_{y}) ({\mathfrak {m}}). \end{aligned}$$

Hence for any prime ideal \({\mathfrak {p}}\), from the definition of \(h_y\) we have

$$\begin{aligned} g_{y}({\mathfrak {p}})= {\widetilde{C}}({\mathfrak {p}})- h_{y}({\mathfrak {p}})\ge 0. \end{aligned}$$

By multiplicativity \(g_{y}({\mathfrak {m}}) \ge 0\) for any squarefree integral ideal \({\mathfrak {m}}\). Hence for \(u < \kappa \) (so that by the discussion after Lemma 3.1, one has \(\sum _{N({\mathfrak {m}})\le y^{u}} h_{y}({\mathfrak {m}}) > 0\)), we have

$$\begin{aligned} T(f,y^{u}) \ge \underset{N({\mathfrak {m}}) \le y^{u}}{ \sum {^{\#}}} {\widetilde{C}}({\mathfrak {m}})= \underset{N({\mathfrak {d}})\le y^{u}}{ \sum {^{\#}}} g_{y}({\mathfrak {d}}) \sum _{N({\mathfrak {l}})\le \frac{y^u}{N({\mathfrak {d}})}} h_{y}({\mathfrak {l}}) \ge \sum _{N({\mathfrak {l}})\le y^{u}}h_{y}({\mathfrak {l}}). \end{aligned}$$

The last inequality follows from the fact that every term on the left-hand side of the inequality is positive and \(g_y ({\mathcal {O}}_{F})= 1.\) \(\square \)

Lemma 3.5

Let f be a primitive form of weight \((k_1,k_2,\ldots ,k_n) \in (2 {\mathbb {Z}})^n\). Then for any fixed u, with \(1 \le u < \kappa \), one has

$$\begin{aligned} S(f,y^u) \gg _{u} y^u . \end{aligned}$$

Proof

We have

$$\begin{aligned} \begin{aligned} S(f,y^u) =&\underset{N({\mathfrak {m}}) \le y^u}{\sum }{\widetilde{C}}({\mathfrak {m}}) \log y^u - \underset{N({\mathfrak {m}}) \le y^u}{\sum }{\widetilde{C}}({\mathfrak {m}}) \log N({\mathfrak {m}}) \\ =&T(f,y^u) \log y^u- \sum _{n \le y^u} a(n) \log n, \end{aligned} \end{aligned}$$

where \(a(n):= \sum _{N({\mathfrak {m}})=n} {\widetilde{C}}({\mathfrak {m}})\). Now using the Abel-summation formula one has

$$\begin{aligned} T(f,y^u) \log y^u- \sum _{n \le y^u} a(n) \log n = \int _{1}^{y^u} \frac{T(f,t)}{t} \mathrm{{d}}t. \end{aligned}$$

Now using Lemma 3.4 and the fact that \(T(f,t)\ge 0\) for \(1 \le t \le y\), the lemma follows immediately. \(\square \)

3.3 Proof of Theorem 1.1

  1. (i)

    When \((k_1,k_2,\ldots ,k_n) \in (2 {\mathbb {Z}})^n \), putting \(u=\frac{10}{9}\), i.e. \(x= y^{\frac{10}{9}}\) and using the comparison of the upper and the lower bounds of \(S(f,y^\frac{10}{9})\) from (3.2) and Lemma 3.5, we have

    $$\begin{aligned} y \ll _{n, \epsilon } Q_{f}^{\frac{9}{20}+ \epsilon }. \end{aligned}$$
  2. (ii)

    For any other weight, note that for \(x \le y\), one has

    $$\begin{aligned} S(f,x)= \sum _{N({\mathfrak {m}}) \le x} {\widetilde{C}}({\mathfrak {m}})\log (\frac{x}{N({\mathfrak {m}})}) \gg \sum _{N({\mathfrak {m}}) \le \frac{x}{2}} {\widetilde{C}}({\mathfrak {m}}). \end{aligned}$$

    We put \(x=y\). Now for \(N({\mathfrak {p}}) \le y^{1/2}\), one has \({\widetilde{C}}({\mathfrak {p}}) \ge 1\). It implies that

    $$\begin{aligned} \underset{N({\mathfrak {m}}) \le \frac{y}{2}}{\sum }{\widetilde{C}}({\mathfrak {m}}) \gg \underset{N({\mathfrak {m}}) \le {\frac{y}{2}}}{ \sum {^{\#}}} {\widetilde{C}}({\mathfrak {m}})= \psi ^{\#} \left( \frac{y}{2}, \left( \frac{y}{2}\right) ^{\frac{1}{2}}\right) \gg y, \end{aligned}$$

    where the last inequality follows from (3.11). Now comparing the upper and the lower bounds of S(fy), we get

    $$\begin{aligned} y \ll _{n, \epsilon } Q_{f}^{\frac{1}{2}+ \epsilon }. \end{aligned}$$

4 Proof of Theorem 1.2

The idea of the proof of Theorem 1.2 is based on the work of Matomäki and Radziwiłł, who proved the result in the case of elliptic newforms of full level and weight (see [9]). The following lemma will be useful to prove Theorem 1.2.

Lemma 4.1

Let \(K,L : {\mathbb {R}}^{+} \rightarrow {\mathbb {R}}^{+} \) be such that \(K(x) \rightarrow 0\) and \(L(x) \rightarrow \infty \) for \(x \rightarrow \infty \). Let \(g : {\mathcal {I}} \rightarrow \{-1,0,1\} \) be a multiplicative function such that for every \(x \ge 2\) and \({\mathfrak {p}} \in {\mathcal {P}}\),

$$\begin{aligned} \sum _{N({\mathfrak {p}}) \ge x,\, g({\mathfrak {p}})=0} \frac{1}{N({\mathfrak {p}})} \le K(x) \quad \text {and} \quad \sum _{N({\mathfrak {p}}) \le x,\, g({\mathfrak {p}})=-1} \frac{1}{N({\mathfrak {p}})} \ge L(x). \end{aligned}$$

Then one has

$$\begin{aligned} \begin{aligned}&| \{{\mathfrak {m}} \in {\mathcal {I}} | N({\mathfrak {m}})\le x : g({\mathfrak {m}})=1 \} | \\&\quad = (1+ o(1)) | \{ {\mathfrak {m}} \in {\mathcal {I}} | N({\mathfrak {m}})\le x: g({\mathfrak {m}})=-1 \}| \\&\quad = \left( \frac{1}{2}+o(1)\right) c_{F} x \prod _{{\mathfrak {p}} \in {\mathcal {P}}} \left( 1-\frac{1}{N({\mathfrak {p}})}\right) \left( 1+\frac{| g({\mathfrak {p}}) |}{N({\mathfrak {p}})}+\frac{{| g({\mathfrak {p}}^{2}) |}}{N({\mathfrak {p}})^2}+ \cdots \right) , \end{aligned} \end{aligned}$$

where \(c_{F}\) is residue of \(\zeta _F\) at the pole \(s=1\).

To prove Lemma 4.1 we need two other lemmas about the mean value of the function g, which is defined by

$$\begin{aligned} M(g):= \lim \limits _{x \rightarrow \infty } \frac{1}{N(x;{\mathcal {O}}_{F})} \sum _{N({\mathfrak {m}})\le x} g({\mathfrak {m}}), \end{aligned}$$

where \(N(x; {\mathcal {O}}_{F})\) is the cardinality of integral ideals with norm less than or equals to x. Those two lemmas (i.e. Lemmas 4.4,  4.5) are immediate consequences of certain results proved in [7] on the topic of arithmetic semigroups (an example is the set of integral ideals \({\mathcal {I}}\) ). For the convenience of reading let us rewrite those results by taking the semigroup to be \({\mathcal {I}}\) (see [7, Corollary 4.4, Theorem 6.3]). These results would be used further.

Theorem 4.2

Let \(h: {\mathcal {I}} \rightarrow {\mathbb {R}}\) be a multiplicative function bounded by 1. Then the mean value M(h) exists. In particular if the series

$$\begin{aligned} \sum _{{\mathfrak {p}} \in {\mathcal {P}}} \frac{|1-h({\mathfrak {p}})|}{N({\mathfrak {p}})} \end{aligned}$$

diverges, then M(h) vanishes to zero.

Theorem 4.3

Let \(h: {\mathcal {I}} \rightarrow {\mathbb {C}}\) be a multiplicative function bounded by 1. Further assume that

$$\begin{aligned} \sum _{{\mathfrak {p}} \in {\mathcal {P}}} \frac{|1-h({\mathfrak {p}})|}{N({\mathfrak {p}})} < \infty . \end{aligned}$$

Then M(h) exists and

$$\begin{aligned} M(h)= \prod _{{\mathfrak {p}} \in {\mathcal {P}}} \left( 1-\frac{1}{N({\mathfrak {p}})}\right) \left( 1+\frac{| h({\mathfrak {p}}) |}{N({\mathfrak {p}})}+\frac{{| h({\mathfrak {p}}^{2}) |}}{N({\mathfrak {p}})^2}+ \cdots \right) . \end{aligned}$$

Theorems 4.2 and  4.3 follows from [7, Theorem 6.3], [7, Corollary 4.4], respectively.

Lemma 4.4

When g is as given in Lemma 4.1, M(g) exists and is equal to zero.

Proof

From the hypothesis of Lemma 4.1, we note that \(\sum _{{\mathfrak {p}} \in {\mathcal {P}}} \frac{1-g({\mathfrak {p}})}{N({\mathfrak {p}})} \) diverges. It follows from the fact that

$$\begin{aligned} \sum _{{\mathfrak {p}} \in {\mathcal {P}}} \frac{1-g({\mathfrak {p}})}{N({\mathfrak {p}})} \ge \sum _{{\mathfrak {p}} \in {\mathcal {P}},g({\mathfrak {p}})=-1} \frac{2}{N({\mathfrak {p}})}. \end{aligned}$$

Now the lemma immediately follows directly from Theorem 4.2. \(\square \)

The next lemma concerns about the mean value of a non-negative multiplicative function on \({\mathcal {I}}\). It is an obvious consequence of Theorem 4.3. We omit the proof.

Lemma 4.5

Let \(l :{\mathcal {I}} \rightarrow [0,1]\) be a multiplicative function such that \(\sum _{{\mathfrak {p}} \in {\mathcal {P}}} \frac{1-l({\mathfrak {p}})}{N({\mathfrak {p}})}\) converges. Then \(M(l)= \prod _{{\mathfrak {p}} \in {\mathcal {P}}} (1-\frac{1}{N({\mathfrak {p}})}) (1+\frac{| l({\mathfrak {p}}) |}{N({\mathfrak {p}})}+\frac{{| l({\mathfrak {p}}^{2}) |}}{N({\mathfrak {p}})^2}+ \cdots )\) exists.

Proof of Lemma 4.1

Recall that \(N(x; {\mathcal {O}}_{F}) \sim c_{F}x\) (see [12, Theorem 11.1.5]). From Lemma 4.4 we get

$$\begin{aligned} \sum _{N({\mathfrak {m}}) \le x} g({\mathfrak {m}})= o(N(x;{\mathcal {O}}_{F}))= o(x). \end{aligned}$$
(4.1)

Note that from the hypothesis of Lemma 4.1, |g| satisfies the conditions of Lemma 4.5. It follows from the fact that

$$\begin{aligned} \sum _{{\mathfrak {p}} \in {\mathcal {P}}} \frac{1-|g({\mathfrak {p}})|}{N({\mathfrak {p}})} = \sum _{{\mathfrak {p}} \in {\mathcal {P}},g({\mathfrak {p}})=0} \frac{1}{N({\mathfrak {p}})}. \end{aligned}$$

So putting \(l({\mathfrak {m}})= | g({\mathfrak {m}}) |\) we get from Lemma 4.5 that

$$\begin{aligned} \sum _{N({\mathfrak {m}}) \le x} | g({\mathfrak {m}}) | = (1+ o(1)) c_{F}x \prod _{{\mathfrak {p}} \in {\mathcal {P}}} \left( 1-\frac{1}{N({\mathfrak {p}})}\right) \left( 1+\frac{| g({\mathfrak {p}}) |}{N({\mathfrak {p}})}+\frac{{| g({\mathfrak {p}}^{2}) |}}{N({\mathfrak {p}})^2}+ \cdots \right) . \end{aligned}$$
(4.2)

Now since g takes only three values \(\{-1,0,1\}\), one has

$$\begin{aligned} \sum _{N({\mathfrak {m}}) \le x} g({\mathfrak {m}})= \underset{N({\mathfrak {m}}) \le x}{\sum _{{\mathfrak {m}} \in {\mathcal {I}}, g({\mathfrak {m}})=1}} 1 - \underset{N({\mathfrak {m}}) \le x}{\sum _{{\mathfrak {m}} \in {\mathcal {I}}, g({\mathfrak {m}})=-1}} 1 \end{aligned}$$

and

$$\begin{aligned} \sum _{N({\mathfrak {m}}) \le x} |g({\mathfrak {m}})|= \underset{N({\mathfrak {m}}) \le x}{\sum _{{\mathfrak {m}} \in {\mathcal {I}}, g({\mathfrak {m}})=1}} 1 + \underset{N({\mathfrak {m}}) \le x}{\sum _{{\mathfrak {m}} \in {\mathcal {I}}, g({\mathfrak {m}})=-1}} 1. \end{aligned}$$

Hence the Lemma 4.1 follows from (4.1) and (4.2). \(\square \)

Lemma 4.1 leads us to the following result.

Lemma 4.6

Let \(K,L : {\mathbb {R}}^{+} \rightarrow {\mathbb {R}}^{+} \) be such that \(K(x) \rightarrow 0\) and \(L(x) \rightarrow \infty \) for \(x \rightarrow \infty \). Let \(j : {\mathcal {I}} \rightarrow {\mathbb {R}}\) be a multiplicative function such that for every \(x \ge 2\) and \({\mathfrak {p}} \in {\mathcal {P}}\),

$$\begin{aligned} \sum _{N({\mathfrak {p}}) \ge x,\, j({\mathfrak {p}})=0} \frac{1}{N({\mathfrak {p}})} \le K(x) \quad \text {and} \quad \sum _{N({\mathfrak {p}}) \le x,\, j({\mathfrak {p}})<0} \frac{1}{N({\mathfrak {p}})} \ge L(x). \end{aligned}$$

Then one has

$$\begin{aligned} \begin{aligned}&| \{{\mathfrak {m}} \in {\mathcal {I}} | N({\mathfrak {m}})\le x : j({\mathfrak {m}}) > 0 \} | \\&\quad = (1+ o(1)) | \{ {\mathfrak {m}} \in {\mathcal {I}} | N({\mathfrak {m}})\le x: j({\mathfrak {m}}) < 0 \} | \\&\quad = \left( \frac{1}{2}+o(1)\right) c_{F} x \prod _{{\mathfrak {p}} \in {\mathcal {P}}} \left( 1-\frac{1}{N({\mathfrak {p}})}\right) \left( 1+\frac{ s({\mathfrak {p}}) }{N({\mathfrak {p}})}+\frac{{ s({\mathfrak {p}}^{2}) }}{N({\mathfrak {p}})^2}+ \cdots \right) , \end{aligned} \end{aligned}$$

where \(s({\mathfrak {m}})\) is 0 or 1 according as \(j({\mathfrak {m}})=0\) or \(j({\mathfrak {m}}) \ne 0\).

Proof

This is obvious by applying Lemma 4.1 to the multiplicative function which takes value 0 when j is 0 and takes value \(\frac{j({\mathfrak {m}})}{| j({\mathfrak {m}}) |}\) otherwise. \(\square \)

We would need the following lemma to apply Lemma 4.6 to prove Theorem 1.2.

Lemma 4.7

Let f be a primitive adelic Hilbert cusp form of weight \((k_1, k_2,\ldots ,k_n) \in (2 {\mathbb {Z}})^{n}\) and full level. Let \({C({\mathfrak {m}})}\) denote its Fourier coefficients. Then one has

$$\begin{aligned} \sum _{N({\mathfrak {p}})\ge x, C({\mathfrak {p}})=0} \frac{1}{N({\mathfrak {p}})} = o(1)\quad \text {and} \quad \sum _{C({\mathfrak {p}}) <0} \frac{1}{N({\mathfrak {p}})} \end{aligned}$$

diverges.

Proof

The first result follows immediately from [15, pp. 162–163]. For the second case, from the Sato–Tate theorem one has \(C({\mathfrak {p}}) < 0\) for a positive proportion of prime ideals in \({\mathcal {P}}\), when they are counted according to their norms (see [1, pp. 1–6]). We recall from (3.10) that

$$\begin{aligned} \sum _{N({\mathfrak {p}}) \le x} \frac{1}{N({\mathfrak {p}})}= \log \log x+B+o(1). \end{aligned}$$

The right-hand side diverges. To prove the theorem consider the sum

$$\begin{aligned} \sum _{x \le N({\mathfrak {p}}) \le e^x} \frac{1}{N({\mathfrak {p}})} = \log x -\log \log x+o(1). \end{aligned}$$

Now the term \(\frac{1}{N({\mathfrak {p}})}\) is decreasing in the sense that the norms are increasing. So if we consider any set positive proportion of primes with their norms within \([x,e^x]\) and restrict the above sum in this set, the right-hand side would still diverge. Hence the second result follows. \(\square \)

Proof of Theorem 1.2

Lemma 4.7 implies that we can put \(j({\mathfrak {m}})=C({\mathfrak {m}})\) in Lemma 4.6 and hence the theorem follows. \(\square \)