An average of generalized Dedekind sums
Travis Dillon, Stephanie Gaston

TL;DR
This paper introduces a generalized Dedekind sum incorporating Dirichlet characters, derives its properties, computes its second moment explicitly via Fourier transform, and establishes bounds for this moment.
Contribution
It presents a novel generalization of Dedekind sums with Dirichlet characters, including explicit formulas and bounds for their second moments.
Findings
Explicit formula for the second moment of the generalized Dedekind sum
Derived upper and lower bounds for the second moment
Extended properties of classical Dedekind sums to a generalized setting
Abstract
We study a generalization of the classical Dedekind sum that incorporates two Dirichlet characters and develop properties that generalize those of the classical Dedekind sum. By calculating the Fourier transform of this generalized Dedekind sum, we obtain an explicit formula for its second moment. Finally, we derive upper and lower bounds for the second moment with nearly identical orders of magnitude.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
\newdateformat
daymonthyear\THEDAY \monthname[\THEMONTH] \THEYEAR
An Average of Generalized Dedekind Sums
Travis Dillon111Lawrence University, [email protected] and Stephanie Gaston222California State University Dominguez Hills, [email protected]
(\daymonthyear)
Abstract
We study a generalization of the classical Dedekind sum that incorporates two Dirichlet characters and develop properties that generalize those of the classical Dedekind sum. By calculating the Fourier transform of this generalized Dedekind sum, we obtain an explicit formula for its second moment. Finally, we derive upper and lower bounds for the second moment with nearly identical orders of magnitude.
1 Introduction
Let and be coprime integers with . The classical Dedekind sum is defined as
[TABLE]
where is the first Bernoulli function
[TABLE]
Dedekind first studied this sum because of its connection to the transformation properties of the Dedekind eta function. Since then, Dedekind sums have been studied extensively in a wide variety of contexts, including modular forms, topology, combinatorial geometry, and quadratic reciprocity.
Averages of Dedekind sums have attracted considerable attention. In [11], Walum found an exact formula for the second moment of the classical Dedekind sum:
[TABLE]
Following this, Conrey, Fransen, Klein, and Scott [4] and Zhang [12] studied the asymptotics of the second and higher moments.
Numerous authors have generalized the classical Dedekind sum in a variety of ways. In [2], Berndt develops a generalization of the classical Dedekind sum that incorporates a Dirichlet character and higher Bernoulli functions. Dağlı and Can [5] generalized Berndt’s sum to include two characters, and Stucker, Vennos, and Young [10] recently showed how to derive this generalized Dedekind sum using newform Eisenstein series. In this paper, we study the sum from [5] and [10]. We follow the notation of [10].
Let and be nontrivial primitive characters with moduli and , respectively, such that . For with , the generalized Dedekind sum associated to and is given by
[TABLE]
Because the generalized Dedekind sum depends only on the entries in the first column of , it will at times be convenient to write in place of . Additionally, note that the generalized Dedekind sum depends only on the residue of modulo .
We will often make use of an alternate form of the generalized Dedekind sum. Let and denote the Gauss sum . We write for . For any character modulo , define the first generalized Bernoulli function as
[TABLE]
This equation unifies the cases appearing in Definition 1 of [3]. Theorem 3.1 of [3] states a finite sum formula for for primitive characters :
[TABLE]
Substituting (4) into (2) gives the alternate formula
[TABLE]
Lemma 2.2 of [10] shows that the generalized Dedekind sum is a crossed homomorphism from into . Set for , and let . Then
[TABLE]
If , then is a homomorphism from into .
Our main result is an exact formula for the second moment of , which generalizes the result of Walum in [11]. We use to denote the primitive character that induces a given character and to denote its conductor.
Theorem 1.1**.**
Let and be nontrivial primitive characters modulo and , respectively, such that , and let . Then
[TABLE]
where
[TABLE]
We also bound the second moment above and below.
Theorem 1.2**.**
Let and be nontrivial primitive characters modulo and , respectively, such that , and let . Then
[TABLE]
Since (2) has terms, each of which is bounded by in absolute value, Theorem 1.2 is consistent with “square-root” cancellation.
The lower bound of Theorem 1.2 implies the following corollary, which may be interpreted as a statement about the kernel of the crossed homomorphism .
Corollary 1.3**.**
Let and be nontrivial primitive characters modulo and , respectively, such that . Then for each positive , there exists an integer coprime to such that is nonzero.
In particular, the crossed homomorphism is always nontrivial. In contrast, the only homomorphism from into is trivial, since the abelianization of is finite (for a nice proof of this well-known fact, see Keith Conrad’s notes333https://kconrad.math.uconn.edu/blurbs/grouptheory/SL(2,Z).pdf).
In Section 2, we establish a few basic properties of the generalized Dedekind sum. These properties are extensions of corresponding properties of the classical Dedekind sum, but it appears that they have yet to be documented in the literature. One such property writes the generalized Dedekind sum as a cotangent sum:
Proposition 1.4**.**
Let and be characters modulo and , respectively. Then for each positive ,
[TABLE]
where the primes indicate omission of the terms for which is undefined.
Section 2 is independent of the following sections, as the proofs of Theorems 1.1 and 1.2 do not depend upon its results.
Further work in this area could include sharper asymptotics of the second moment, along the lines of Zhang [12], or asymptotics of higher moments, following Conrey, Fransen, Klein, and Scott [4].
2 Properties of the generalized Dedekind sum
2.1 Arithmetic properties
Throughout this section, let and be characters modulo and , respectively. The original definition for the generalized Dedekind sum requires and to be nontrivial and primitive characters such that . However, we can extend the definition to any pair of characters via the finite sum formula (2). With this extension, we can recover the classical Dedekind sum by taking and to be trivial. Consequently, all of the properties proved in this section subsume the analogous properties for the classical Dedekind sum.
We may similarly extend the definition of the generalized Dedekind sum to all and through (2). As mentioned in [4], it is not hard to prove that for all positive integers , so this extension adds no new features in the classical case. The same is true in the general case, due to the following:
Proposition 2.1**.**
Let and be coprime integers with . Then for all positive integers .
Proposition 2.2**.**
If , then for all .
We prove Proposition 2.1 by rewriting the sum over in (2) as
[TABLE]
and change variables . Proposition 2.2 is proven by changing variables and in (2) and using that .
We also present two arithmetic properties of the generalized Dedekind sum. For the remainder of this section, we assume that .
Proposition 2.3**.**
Let and . Then .
Proposition 2.4**.**
Let and . Further, suppose that . Then .
Proposition 2.3 can be proved by changing variables in the the finite sum formula (2). To prove Proposition 2.4, we substitute , then in (2). If , then , so Proposition 2.4 may be rewritten as .
The classical Dedekind sum can be written in a variety of forms. Using that
[TABLE]
Apostol [1, p. 61] shows that
[TABLE]
eliminating one of the Bernoulli functions. Analogously, substituting and shows that
[TABLE]
Therefore, the generalized Dedekind sum can be written as
[TABLE]
The classical Dedekind sum can also be written as a cotangent sum, as in equation 26 of [9] and Exercise 11, Chapter 3 of [1]:
[TABLE]
Proposition 1.4 gives the corresponding result for the generalized Dedekind sum.
2.2 Proof of Proposition 1.4
Rademacher and Grosswald [9, p. 14] prove that
[TABLE]
With a bit of manipulation, this transforms into
[TABLE]
Substituting (10) into (2) gives
[TABLE]
We substitute in the sum over to get
[TABLE]
From the othogonality relations for additive characters, the sum over is if (mod ) and vanishes otherwise. If divides , then (12) simplifies as
[TABLE]
The sum over in (11) is the Gauss sum . Substituting the Gauss sums into (11) gives
[TABLE]
and changing variables finishes the proof.
A special case occurs when and are primitive. Then the Gauss sums simplify as , and the formula in Proposition 1.4 becomes
[TABLE]
3 Proof of Theorem 1.1
We prove Theorem 1.1 by evaluating the Fourier transform of . Our approach will loosely follow that of Walum in [11]. Before we begin, we establish a character relation (Lemma 3.1) and evaluate three finite sums (Lemmas 3.2, 3.4, and 3.5).
Throughout this section, and are nontrivial primitive characters modulo and , respectively, such that . We denote the principal character modulo by . Finally, we extend every Dirichlet character to all of by setting if .
3.1 Preliminary lemmas
Lemma 3.1**.**
For any ,
[TABLE]
Proof.
Suppose that (mod ) and . The sum over is [math] unless , in which case it is . On the other hand, if (mod ), then the inner sum always vanishes. ∎
Lemma 3.2**.**
If is a character modulo , then
[TABLE]
Proof.
Substituting
[TABLE]
into the sum over to get
[TABLE]
Consider the inner sum. If , then . We may therefore assume that , which implies that . We substitute , where runs modulo and now runs modulo . Using the orthogonality relations, the sum over in (14) becomes
[TABLE]
The inner sum simplifies to . Using orthogonality and (4), we obtain
[TABLE]
Applying (3) gives
[TABLE]
Substituting (15) for the sum over in (14) proves the lemma. ∎
The following result is Lemma 3.2 of [7] (corrected on Kowalski’s website).
Lemma 3.3**.**
If is a non-principal character modulo then
[TABLE]
Lemma 3.4**.**
If is a character modulo and is a primitive character modulo , then
[TABLE]
Proof.
If , then the term vanishes, so we substitute and express as an infinite sum using (3):
[TABLE]
The sum over is the Gauss sum . Using Lemma 3.3, (16) becomes
[TABLE]
The sum over is if and [math] otherwise, which completes the proof. ∎
Lemma 3.5**.**
If is a character modulo , then
[TABLE]
Proof.
The sum is equal to
[TABLE]
and is principal exactly when is principal. ∎
In the next theorem, we fix and regard as a function of from into .
3.2 Fourier transform of
Theorem 3.6**.**
Let be a character modulo where . The finite Fourier transform of is
[TABLE]
where is as defined in (8).
Proof.
Substituting with (5) into and setting (mod ), we have
[TABLE]
We use Lemma 3.1 to replace the condition in (17). Because , we have . This substitution separates the variables:
[TABLE]
Consider the sum over . The character is principal exactly when . Using Lemma 3.5, (18) becomes
[TABLE]
If , then there is exactly one character modulo such that , namely . If , then there is no such character.
Therefore, we may change the double sum over and to a single sum over as shown
[TABLE]
where the character corresponding to in the right-hand sum is .
The sum over is
[TABLE]
We may assume that and are coprime. Therefore , which implies that is a character modulo . Applying Lemmas 3.2 and 3.4 to the sum over in (19) and the sum over in (18), respectively, completes the proof. ∎
To prove Theorem 1.1, apply Parseval’s formula
[TABLE]
The result follows immediately from substitution using Theorem 3.6.
4 Proof of Theorem 1.2
We prove Theorem 1.2 by obtaining the upper bound and lower bounds individually. In this section, and are nontrivial primitive characters modulo and , respectively, such that , and .
4.1 Upper bound
Theorem 4.1**.**
For every , we have
[TABLE]
Proof.
It is well known (see [6, chapter 14]) that there exists some so that for any character modulo , we have
[TABLE]
From applying this bound to (7), it follows that
[TABLE]
We now bound the absolute value of as defined in (8). Using the triangle inequality and that , we have
[TABLE]
The convolutions are bounded by the divisor function:
[TABLE]
where is the sum of divisors function. Likewise,
[TABLE]
For each , we have the bound for all positive integers . Similarly, we have .
Substituting these bounds into (21) then using that , we find that the terms inside the sum over are all at most . The sum contains at most terms, so, in all,
[TABLE]
Inserting (22) into (20), gives
[TABLE]
We reorder the sum over by its possible conductors. The number of characters modulo with conductor is at most , so
[TABLE]
Inserting (24) into (23) completes the proof. ∎
4.2 Lower bound
We first prove some lemmas on primitive characters. Let denote the number of primitive characters modulo . For and a prime, we have . Explicitly,
[TABLE]
Lemma 4.2**.**
There are at least primitive characters with a given parity modulo .
Proof.
If we let denote summation over primitive characters, then the sum
[TABLE]
counts the number of odd primitive characters modulo . To finish the proof, we distribute the sum and use equation (3.8) of [7], which states that
[TABLE]
To count the number even primitive characters, we use the sum
[TABLE]
and apply (26) again. ∎
Lemma 4.3**.**
Let be a prime, be a character modulo , and . For each of the following three conditions and any , there exists so that the number of primitive characters modulo with a given parity and which satisfy that condition is bounded below by :
* is primitive, where .* 2. 2.
* is primitive, where .* 3. 3.
* for .*
Proof.
We first prove the desired bound for all three conditions when . In this case, is primitive for every primitive character modulo . So Lemma 4.2 shows that there are characters that satisfy the chosen condition. Inspection of (25) proves the lemma in this case.
Now suppose that . To combine the proofs for parts 2 and 3, let . We count the number of primitive characters of the given parity that do not satisfy the condition. If , then for some character modulo . There are such characters. We separate the cases and .
If , exactly half of the characters modulo characters make the product have the desired parity. Subtracting these characters from the total number of primitive characters modulo with the same parity, we find that there are at least suitable primitive characters.
A straightforward calculation reveals that for ,
[TABLE]
Inspection of the case proves part 2, and inspection of the case proves part 3 with the exception of the case . By directly considering the group of Dirichlet characters modulo , we see that there is at least one primitive character that satisfies the conditions of part 3.
Now suppose that , so that . There is at most one character so that has the desired property, so there are suitable primitive characters. As before, inspection proves parts and for . The remaining case is proved in the same way as before. ∎
Remark**.**
Part 3 of Lemma 4.3 holds for in the case that is odd.
Theorem 4.4**.**
For every , we have
[TABLE]
Proof.
If is a real character modulo , then Siegel’s lower bound (see [8, Theorem 11.14]) gives . If is complex, then we have the stronger result (see [8, Theorem 11.4]). In either case, .
We bound the second moment below by restricting the sum over in (7) to primitive characters:
[TABLE]
Since is primitive, and the sum over in (8) has only the term where :
[TABLE]
Heuristically, we would like to pick modulo so that is primitive modulo . Then and must be , leading to a direct lower bound. There are, however, a few problematic cases where no such exists. Since there is only one primitive character modulo and modulo , we cannot pick such a when or . We separate these problematic cases by factoring .
Suppose that has factorization and has a factorization , where and are coprime to . For ease of notation, set and . Write and as products of primitive characters and corresponding to these factorizations.
For the time being, suppose that , , and . The following method will require slight modification in the complementary cases. By positivity, the sum over in (28) is bounded below by
[TABLE]
If we set then (29) factors as
[TABLE]
Using Lemma 4.3, the assumption that , , and guarantees that each of these sums is nonempty. Since , we know that is even. But and are both powers of , so each term in the sum over in (30) vanishes unless . Similar considerations for the other two sums yield that and .
Using that and the restrictions and , we bound (30) below by
[TABLE]
Parts 2 and 3 of Lemma 4.3 show that the product of sums is bounded below by , so (31) is bounded below by . Combining this bound with (27) finishes the proof for this case.
The proof of the remaining cases proceed similarly after modifying the parity conditions on the sums in (29). Recall that . If , then either or . Change the restriction on the sum over to . The same steps as before yield that . Now the bound follows from parts 1 and 3 of Lemma 4.3.
If , then either or . Suppose that . Factor the sum over in (27) as a sum over , , and . The sum over is bounded below by , so (27) is again bounded below by . On the other hand, if , then factor as and use similar arguments to the ones employed above. The case is nearly identical. ∎
Acknowledgements
This research was conducted at the 2019 REU hosted at Texas A&M University and supported by NSF grant DMS-1757872. The authors thank Wei-Lun Tsai for his Sage advice and Professor Matthew Young for his support and guidance throughout the project.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] T. Apostol. Modular Functions and Dirichlet Series in Number Theory , volume 41 of Graduate Texts in Mathematics . Springer Science & Business Media, 1990.
- 2[2] B. C. Berndt. Character transformation formulae similar to those for the Dedekind eta-function. In Analytic Number Theory , volume 24 of Proc. Sym. Pure Math. , pages 9–30. Amer. Math. Soc., 1973.
- 3[3] B. C. Berndt. Character analogues of the Poisson and Euler-Mac Laurin summation formulas with applications. J. Number Theory , 7(4):413–445, 1975.
- 4[4] J. Conrey, E. Fransen, R. Klein, and C. Scott. Mean values of Dedekind sums. Journal of Number Theory , 56(14):214–216, 1996.
- 5[5] M. C. Dağlı and M. Can. On reciprocity formula of character Dedekind sums and the integral of products of Bernoulli polynomials. J. Number Theory , 156:105–124, 2015.
- 6[6] H. Davenport. Multiplicative Number Theory , volume 74 of Graduate Texts in Mathematics . Springer-Verlag, New York, third edition, 2000.
- 7[7] H. Iwaniec and E. Kowalski. Analytic Number Theory , volume 53 of American Mathematical Society Colloquium Publications . American Mathematical Society, Providence, RI, 2004.
- 8[8] H. Montgomery and R. Vaughan. Multiplicative Number Theory I. Classical theory , volume 97 of Cambridge Studies in Advanced Mathematics . Cambridge University Press, Cambridge, 2007.
