For a positive integer $k$ and an arbitrary integer $h$, the classical Dedekind sums $S(h, k)$ is defined by
where
The various properties of $S(h, k)$ were investigated by many authors, see [2-4, 7-9]. For example, Carlitz [3] obtained a reciprocity theorem of $S(h, k)$. Conrey et al. [4] studied the mean value distribution of $S(h, k)$, and proved the following important and interesting asymptotic formula
where $\displaystyle\mathop{{\sum}'}_h$ denotes the summation over all $h$ such that $(k, h) = 1$, and
$\zeta(s)$ is the Riemann zeta-function.
Jia [7] improved the error term in (1.1) as $O(k^{2m-1})$, provide $m\geq 2$. Zhang [9] improved the error term of (1.1) for $m = 1$. That is, he proved the following asymptotic formula
where $p^{\alpha}\| k$ denotes that $p^{\alpha}| k$ and $p^{\alpha +1} \dagger k$ and $\exp(y)=e^y$.
Liu and Zhang [11] studied the hybrid mean value involving Dedekind sums and Kloosterman sums $K(m, n; q)$, which defined as follows (see [5] and [6]):
where $e(y)=e^{2\pi iy}$, $\overline{b}$ denotes the solution of the equation $x\cdot b\equiv 1\bmod q$. They proved the following conclusion:
Let $q$ be a square-full number (i.e., $p\mid q$ if and only if $p^{2}\mid q$), then we have
where $\displaystyle\mathop{{\sum}'}^q_{a=1}$ denotes the summation over all $1\leq a\leq q$ such that $(a, q)=1$, $\displaystyle \prod_{p|q}$ denotes the product over all distinct prime divisors $p$ of $q$, $\phi(q)$ is the Euler function, and $\overline{f(n)}$ denotes the complex conjugation of $f(n)$.
In this paper, we use the analytic methods and mean value theorem of Dirichlet $L$-functions to study the hybrid mean value properties involving Dedekind sums and Legendre’s symbol, and prove some new identities and asymptotic formulae. That is, we shall prove the following several conclusions:
Theorem 1.1 Let $p$ be an odd prime with $p\equiv 3\bmod 4$, then we have the identity
where $h_p$ denotes the class number of the quadratic field $\mathbf{Q}$$(\sqrt{-p})$.
Theorem 1.2 Let $p$ be an odd prime with $p\equiv 1\bmod 4$, then for any positive integer $k$, we have the identity
Theorem 1.3 Let $p$ be an odd prime, then we have the asymptotic formulae:
(A) $\sum^{p-1}\limits_{a=1}\sum\limits_{b=1}^{p-1}(\frac{a+1}{p})(\frac{b+1}{p}) S^2(a\overline{b}, p)=\frac{p^2\cdot (p-11)}{144}+ O(p\cdot \exp(\frac{4\ln p }{\ln\ln p })), $ if $p\equiv 3\bmod 4$.
(B) $\sum^{p-1}\limits_{a=1}\sum\limits_{b=1}^{p-1}(\frac{a+1}{p})(\frac{b+1}{p}) S^2(a\overline{b}, p)=\frac{p^2\cdot (p-11-C_1)}{144}+ O(p\cdot \exp(\frac{4\ln p }{\ln\ln p })), $ if $p\equiv 1\bmod 4$, where $C_1= \frac{4\pi^4}{5}\displaystyle \mathop{{\prod}^*}_q \frac{(q^2+1)^2}{(q^2-1)^2}$ is a constant, $\displaystyle \mathop{{\prod}^*}_q$ denotes the product over all primes $q$ such that $(\frac{q}{p})=1$, and $\exp(y)=e^{y}$.
As an application of Theorem 1.1 (of course, one can also give a proof directly), we can give an interesting computational formula for $h_p$, which we described as following:
Corollary 1.4 Let $p$ be an odd prime with $p\equiv 3\bmod 4$, then we have the computational formula
where $[x]$ denotes the greatest integer $\leq x$, $r_i$ ($i=1, \ 2, \ \cdots, \ \frac{p-1}{2})$ denotes all quadratic residues $\bmod\ p$ in the interval $[1, \ p-1]$.
In this section, we shall give some lemmas which are necessary in the proof of our theorems. First we have the following:
Lemma 2.1 Let $q>2 $ be an integer, then for any integer $a$ with $(a, \ q)=1$, we have the identity
where $\phi(n)$ is the Euler function, $\displaystyle \mathop{\sum_{\chi \ \mathrm{mod} \ d}}_{\chi(-1)=-1}$ denotes the summation over all odd character modulo $ d$, $L(s, \chi)$ denotes the Dirichlet $L$-function corresponding to $\chi$ modulo $d$.
Lemma 2.2 Let $p $ be an odd prime, then we have the asymptotic formulae
(I) $\displaystyle \mathop{\sum\limits_{\chi \ \mathrm{mod} \ p}}_{\chi(-1)=-1}|L(1, \chi)|^4= \frac{5\pi^4}{144} \cdot p + O(\exp(\frac{4\ln p}{\ln\ln p}));$
(II) $\displaystyle \mathop{\sum\limits_{\chi \ \mathrm{mod} \ p}}_{\chi(-1)=-1}|L(1, \chi)|^2\cdot |L(1, \chi\chi_2)|^2= C_1 \cdot p + O(\exp(\frac{4\ln p}{\ln\ln p})), $
where $C_1= \frac{\pi^4}{180}\displaystyle \mathop{{\prod}^*}_q \frac{(q^2+1)^2}{(q^2-1)^2}$ is a constant, $\displaystyle \mathop{{\prod}^*}_q$ denotes the product over all primes $q$ such that $(\frac{q}{p})=1$.
Proof In fact Lemma 2.1 and Lemma 2.2 are two early results of the second author, their proof can be find in references [8] and [10].
Lemma 2.3 Let $p$ be an odd prime, then for any non-real character $\chi \bmod p$, we have the identity $ |\sum\limits_{a=1}^{p-1}(\frac{a+1}{p})\chi(a)|=\sqrt{p}, $ where $(\frac{*}{p})$ is the Legendre’s symbol.
Proof Since $\chi_2$ is a primitive character $\bmod\ p$, so from the properties of Gauss sums $\tau(\chi)$ we have
where $\chi_2=(\frac{*}{p}) $ is the Legendre’s symbol.
Now Lemma 2.3 follows from (2.1) and the identity $\mid\tau(\chi)\mid= \sqrt{p}$, if $\chi$ is not a principal character $\bmod\ p$.
In this section, we shall complete the proof of our theorems. First we prove Theorem 1.1. For odd prime $p$, from Lemma 2.1 and the definition of $S(a, p)$ we have
and
Then from (3.1) and Lemma 2.3 we have
If $p\equiv 3\bmod 4$, then $\chi_2(-1)=-1$, so for $\overline{\chi}=\chi_2$, $\overline{\chi}\chi_2$ is the principal character $\bmod\ p$ and $|\tau(\overline{\chi}\chi_2)|=1$. Note that $L(1, \chi_2)= \pi h_p/\sqrt{p}$, from (3.2), (3.3) and Lemma 2.3 we have
This proves Theorem 1.1.
Now we prove Theorem 1.2. If $p\equiv 1 \bmod 4$, then $\chi_2(-1)=1$, so for any odd character $\chi$, $\chi\chi_2$ is not the principal character $\bmod\ p$. This time, from the properties of Gauss sums, (3.1), (3.2) and Lemma 2.3 we have
This proves Theorem 1.2.
To prove Theorem 1.3. First from (3.1) and Lemma 2.3 we have
If $p\equiv 3\bmod 4$, then $\chi_2$ is an odd character $\bmod\ p$, and $\chi\lambda$ is an even character $\bmod\ p$. So $\overline{\chi\lambda}\chi_2$ is not a principal character $\bmod\ p$. From (3.4), Lemma 2.2 and the properties of Gauss sums we have
If $p\equiv 1\bmod 4$, then $\chi_2$ is an even character $\bmod\ p$, this time we have
where $C= \frac{\pi^4}{180}\displaystyle \mathop{{\prod}^*}_q \frac{(q^2+1)^2}{(q^2-1)^2}$ is a constant, $\displaystyle \mathop{{\prod}^*}_q$ denotes the product over all primes $q$ such that $(\frac{q}{p})=1$.
Now Theorem 1.3 follows from asymptotic formulae (3.5) and (3.6).
Using Lemma 2.1 we can also give a direct proof of Corollary 1.4. In fact if $p\equiv 3\bmod 4$, then $(\frac{-1}{p})=-1$, so from Lemma 2.1 and note that the orthogonality of characters $\bmod\ p$, we have
On the other hand, note that $((-x))= -((x))$ and the set $\{1^2, \ 2^2, \ \cdots, \ \frac{(p-1)^2}{4}$, $ -1^2, \ -2^2, \ \cdots, \ -\frac{(p-1)^2}{4}\}$ is a reduced residue system $\bmod\ p$, so from the definition of $S(a, p)$ we have
Combining (3.7) and (3.8) we may immediately deduce the identity
This completes the proof of our conclusions.