The Petersson-Knopp identity and Farey neighbours
Kurt Girstmair

TL;DR
This paper investigates the behavior of Dedekind sums near Farey points, revealing how the Petersson-Knopp identity relates sums close to expected values and their frequency of occurrence.
Contribution
It provides a new interpretation of the Petersson-Knopp identity in the context of Dedekind sums near Farey points, linking sums to expected values and their frequencies.
Findings
Dedekind sums near Farey points are closely related to expected values.
The Petersson-Knopp identity explains the frequency of these sums occurring near expected values.
A specific interpretation of the Petersson-Knopp identity in this setting is established.
Abstract
We study Dedekind sums near Farey points of the interval . Each of these Dedekind sums is connected with a set of other Dedekind sums by the Petersson-Knopp identity. In the case considered here, this identity has a very specific interpretation, inasmuch as each Dedekind occurring in this identity is close to a certain expected value. Conversely, each of these expected values occurs with a certain frequency, a frequency that is consistent with the Petersson-Knopp identity.
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.
Taxonomy
TopicsAnalytic Number Theory Research · Advanced Mathematical Identities · Mathematical Dynamics and Fractals
The Petersson-Knopp identity and Farey neighbours
Kurt Girstmair
Abstract
We study Dedekind sums near Farey points of the interval . Each of these Dedekind sums is connected with a set of other Dedekind sums by the Petersson-Knopp identity. In the case considered here, this identity has a very specific interpretation, inasmuch as each Dedekind occurring in this identity is close to a certain expected value. Conversely, each of these expected values occurs with a certain frequency, a frequency that is consistent with the Petersson-Knopp identity.
1. Introduction
Let be a positive integer and . The classical Dedekind sum is defined by
[TABLE]
where is the “sawtooth function” defined by
[TABLE]
(see, for instance, [8]). In many cases it is more convenient to work with
[TABLE]
instead. We call a normalized Dedekind sum. In addition, we say that a primitive Dedekind sum, if . In the opposite case is called imprimitive. Since
[TABLE]
for every positive integer (see [8, Th. 1]), each imprimitive Dedekind sum is equal to the primitive Dedekind sum , where . We also note the periodicity
[TABLE]
of (not necessarily primitive) Dedekind sums.
Let us start with a special case of what we are doing in the sequel. Let be positive integers, , and a prime not dividing . Then the normalized Dedekind sums
[TABLE]
are primitive up to one exception. Indeed, if , then . Suppose we know that all Dedekind sums (2) are positive. Then we also know that is positive. Moreover, we know that at least one of the Dedekind sums (2) is , whereas the sum of any of them must be . This is an immediate consequence of the Petersson-Knopp identity, which, in this special case, reads
[TABLE]
In what follows we discuss a situation where we know much more, namely, that one of the Dedekind sums (2) is close to , whereas each of the remaining ones is close to . Hence the Petersson-Knopp identity has a very specific interpretation in this context.
In two previous papers [2, 3] we studied the behaviour of primitive Dedekind sums near Farey points. We briefly recall the necessary notation. Let the positive integer be given and assume . For a positive integer , , let , . Then is a Farey fraction of an order in the usual sense (see, [5, p. 125]). We say that is a Farey point with respect to . Put
[TABLE]
We call
[TABLE]
the Farey interval belonging to . Now let be an integer, , inside the Farey interval. Then the primitive Dedekind sum is , if , and , if (see [2, Th. 1 and formula (5)]). In order to avoid tedious distinctions, we restrict ourselves to integers in the right half of the Farey interval, so . The whole theory remains valid for integers in the left half, but with negative.
Hence we say that , , is a Farey neighbour of the point if
[TABLE]
Note that since is impossible (both fractions are reduced, and ). For a Farey neighbour , is not only positive, but its value is, as a rule, close to an expected value, which can be defined as follows. Put
[TABLE]
Then since . Now the expected value of is
[TABLE]
(which is ). In Section 3 we will see why is, in general, close to if is a Farey neighbour of .
The Petersson-Knopp identity (see [6]) is a relation between and certain other Dedekind sums. Indeed, if is a natural number, then
[TABLE]
Here runs through the (positive) divisors of and is the sum of the divisors of .
The Dedekind sums in (7) are not necessarily primitive. In order to apply results about Farey neighbours, we need primitive Dedekind sums, however. In view of the periodicity (1), it suffices to restrict to the range , . Let be a Farey neighbour of . For and put
[TABLE]
So both and are positive integers. Moreover, put
[TABLE]
In the sequel we simply write
[TABLE]
and
[TABLE]
Then we have the following result:
Theorem 1
In the above setting, let , , and
[TABLE]
For each pair , , , the number is a Farey neighbour of . Hence is positive. Its expected value is
[TABLE]
where is the expected value of , see (6).
In view of the Petersson-Knopp identity (7), one expects that
[TABLE]
This is true, but we have a much more precise result about the expected values . Indeed, they follow a very regular pattern.
Theorem 2
In the above setting, the numbers divide . Conversely, for every positive divisor of ,
[TABLE]
By (8) and (10), the left hand side of (9) reads
[TABLE]
which obviously equals .
Example. Let . In this case there are Dedekind sums . The corresponding values of are , respectively. Let and . We choose so large that . This means . Then it is obvious that . We have used a random generator to produce a number , . It has given us . The Farey point is approximately . Since , we can choose , which is prime to , and . Then and . We have computed the relative deviation
[TABLE]
of each of the said 28 Dedekind sums from its expected value. It turns out that the largest relative deviation is or nearly percent. It occurs for , , where . The mean relative deviation, i.e., the arithmetic mean of all values (11), is or percent. Further empirical results can be found in Section 3.
Remark. The example shows that there are, compared with the size of , only few integers such that for a fixed value of and , . In the case of the example their number amounts to . However, one should be aware of the fact that each number of this kind also satisfies for all integers , . Therefore, if , the number gives rise not only to the Dedekind sums for , but also to analogous Dedekind sums for each positive integer (the case includes ). For their totality amounts to . In general,
[TABLE]
see [5, p. 113]. Hence there is quite a number of Dedekind sums whose expected values are known.
2. Proofs
Let the assumptions of Theorem 1 hold. In particular, let divide and .
We first show that divides . Let be a prime. We use the -exponent of an integer , which is given by , . We show that for all primes . To this end recall that . First suppose . Then . Next let , so . Since , and . If , then . If , then . In this case , and .
The same arguments work for and instead of . They show that divides .
Proof of Theorem 1. In order to simplify the notation for the purpose of this proof, we write , , , and . First we observe , and since , we have .
Next we consider
[TABLE]
A short calculation shows
[TABLE]
where , see (5). Now is a Farey neighbour of , if , i.e.,
[TABLE]
see (4). Here follows from (12), since . Because , is a Farey neighbour of , if
[TABLE]
by (12). This condition can be written
[TABLE]
Let be the right hand side of (13), i.e.,
[TABLE]
If and , then becomes . We show that is always , provided that . In this case the condition implies that is a Farey neighbour of for all in question.
In the case we have and . Hence assume . Since is , implies . Because , this inequality can be written . Since , it implies . We know that divides , hence we obtain as a necessary condition for .
Finally, we compute
[TABLE]
In the sequel we need the following notation. For positive integers and let and denote the -part and the -free part of , respectively, i.e.,
[TABLE]
where is defined as above. The proof of Theorem 2 is more complicated than that of Theorem 1 and based on the following lemmas.
Lemma 1
Let be positive integers and such that . Then
[TABLE]
where denotes Euler’s totient function.
Proof. We use the Chinese remainder theorem to decompose into its -parts , where .
Case 1: . Then we have, for all , , i.e., . Hence
[TABLE]
Case 2: . Let . Let be an inverse of mod . Then , if, and only if, . Therefore,
[TABLE]
Lemma 2
Let be a positive integer and a divisor of . Let , , , and . Put , and . Then
[TABLE]
Proof. We determine, for given positive divisors of ,
[TABLE]
First we show that (15) equals [math] if . To this end suppose that for some . Since , we have , and because , we obtain . But , and so . Put . We have seen . Conversely, divides both and , whence . But , which implies . Altogether, . This means that can hold only if .
Therefore, we can restrict our investigation of (15) to those for which . As above, put and . Since , divides . Suppose that . Then . Because , we have and . Accordingly,
[TABLE]
Conversely, suppose that divides . Since , there is a number such that . If has the form (16) for a number , then , and so for a uniquely determined . For such a number , we have
[TABLE]
with . Now (16) holds if, and only if,
[TABLE]
Therefore, we have to count the such that . From Lemma 1 we know that the number of these elements equals
[TABLE]
This number equals that of (15). We have to sum up the numbers (17), observing that . This yields (14).
For positive integers , , let denote the number of (14), i.e.,
[TABLE]
Lemma 3
Let be positive integers, , and suppose for positive integers , such that . Put and . Then
[TABLE]
Proof. All entries of the right hand side of (14) are multiplicative. Indeed, put and . Then . In the same way, with and . We also have with and . The respective identity holds for and and . Further, if, and only if, and . We note , where and . The same identity holds when we apply the to the respective items. Finally, the function is also multiplicative. In view of all that, we can write the sum over as the product of two sums over and and obtain the desired result.
Proof of Theorem 2. We have to show that . By Lemma 3, it suffices to prove this identity for prime powers and . Suppose that , , and .
Case 1: . Then . We have and . Let with . By Lemma 2,
[TABLE]
since and . Obviously, holds for all in question, because . We obtain
[TABLE]
Case 2: . Then . Moreover, and . If , , we have
[TABLE]
Since must satisfy and , only the first case is suitable for our purpose, and, indeed, only for , i.e., . So only the summand for remains. We have with . Accordingly, and , again.
3. Theoretical and numerical evidence for the expected values
It is a consequence of the three-term relation for sums that is, in general, close to when is a Farey neighbour of . Indeed, we have
[TABLE]
see [2, Lemma 3]. Here is defined by (5) and is an integer defined by . The exact value of is not of interest for our purpose. First we observe and, by (4) and (5), . We have, thus,
[TABLE]
Next we note
[TABLE]
see [7, Satz 2]. In most cases, however, these Dedekind sums are much smaller, say and . Indeed, the main result of [9] allows to determine the asymptotic proportion of pairs , , , such that for a given constant , as tends to infinity. For this proportion is about percent, and for about percent.
Another argument in favour of small values of and is the mean value of all Dedekind sums , , , for a given positive integer . As tends to infinity, this mean value is , see [4].
On the other hand, , since (recall ). These arguments support the hope that the right hand side of (18) is close to in most cases, a hope that is supported by empirical data, see below.
It should also be mentioned that the approximation of becomes better when is small, say , and the Farey neighbour tends to the Farey point . Indeed, in this case tends to a positive value . So (19) shows that the error caused by and has an absolute value . On the other hand, becomes .
We return to the setting of the Theorems 1 and 2. Suppose that the size of is fixed, say , whereas may become large. As in Theorem 1, assume and . Accordingly, all Dedekind sums are positive for , . The expected value of equals . By Theorem 2, we know that is a divisor of , and, conversely, each positive divisor of has the form for exactly pairs .
Empirical data shows that the relative deviation (11) of from may be large, in the main, if and is close to . In this case . This empirical observation can be explained as follows. We have
[TABLE]
see (2. Proofs), (12). Because , we obtain . The influence of on in the sense of (18) is limited since . However, the influence of may be large if is close to , i.e., if is close to .
Let be of this kind and, in addition, the pair such that . Then we have
[TABLE]
On the other hand . This means
[TABLE]
which is a much better proportion than , in particular, in the bad case .
As to empirical data, we have performed numerous computations, of which, however, we present only the case and . We have computed the mean value of the relative deviation (11) both for all 28 pairs , , , and only for those with (and expected value ). By the above, it is not surprising that the first mean value is always smaller than the second.
We consider , , and choose the integer close to . To be precise, is either or . If none of these values of satisfies , the number is ruled out. In this way there always remain pairs to be investigated. The following table lists the percentage of ’s such that the first mean value
[TABLE]
is either or . The table also displays the percentage of ’s such that the second mean value
[TABLE]
is either or .
[TABLE]
We list the same data for numbers , .
[TABLE]
We obtain similar results when we use (pseudo-) random numbers of the same order of magnitude instead of the (more or less) consecutive numbers of the tables. The tables suggest that the approximation of by becomes better when increases while and are fixed. This observation is supported by further computations.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1]
- 2[2] K. Girstmair, Dedekind sums with predictable signs, Acta Arith. 83 (1998), 283–294.
- 3[3] K. Girstmair, Zones of large and small values for Dedekind sums, Acta Arith. 109 (2003), 299–308.
- 4[4] K. Girstmair, J. Schoissengeier, On the arithmetic mean of Dedekind sums, Acta Arith. 116 (2005), 189–198.
- 5[5] L. K. Hua, Introduction to Number Theory, Springer Verlag, Berlin 1982.
- 6[6] L. A. Parson, Dedekind sums and Hecke operators, Math. Proc. Cambridge Phil. Soc. 88 (1980), 11–14.
- 7[7] H. Rademacher, Zur Theorie der Dedekindschen Summen, Math. Z. 63 (1956), 445–463.
- 8[8] H. Rademacher, A. Whiteman, Theorems on Dedekind sums, Amer. J. Math 63 (1941), 377–407.
