A proof of Spence's formula using the reciprocity law for Dedekind sums

Fuente: arXiv
Saved in:
Bibliographic Details
Main Author: Brown, Steven
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917230433796096
author Brown, Steven
author_facet Brown, Steven
contents In 1963, Edward Spence published a proof of the following With $ϕ$ being Euler totient function, if $n>1$ is an integer, and if \begin{equation*} 0<a_1<\cdots<a_{ϕ(n)}<n, \end{equation*} are the positive integers less than $n$, coprime with $n$, then \begin{equation*} \sum_{j=1}^{ϕ(n)}ja_j = \frac{ϕ(n)}{24}\left(8nϕ(n)+6n+2ϕ(m)(-1)^{ω(m)}-2^{ω(m)}\right), \end{equation*} where $m$ is the square-free part of $n$ and $ω(m)$ is the number of prime factors of $m$. Spence's proof relies on an ingenious observation considering Nagell's totient function. Later in 1971, Lucien Van Hamme provided an alternative proof of the result using Fourier analysis and previous work from Hubert Delange in 1968. In this paper I propose another proof of the formula using the reciprocity law for Dedekind sums. If the formula is of interest on its own, it also plays a role in the analysis of the distribution of the $a_j$ as suggested by the work from Hubert Delange.
format Preprint
id arxiv_https___arxiv_org_abs_2601_21034
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle A proof of Spence's formula using the reciprocity law for Dedekind sums
Brown, Steven
Number Theory
11A99, 11F20, 11A25
In 1963, Edward Spence published a proof of the following With $ϕ$ being Euler totient function, if $n>1$ is an integer, and if \begin{equation*} 0<a_1<\cdots<a_{ϕ(n)}<n, \end{equation*} are the positive integers less than $n$, coprime with $n$, then \begin{equation*} \sum_{j=1}^{ϕ(n)}ja_j = \frac{ϕ(n)}{24}\left(8nϕ(n)+6n+2ϕ(m)(-1)^{ω(m)}-2^{ω(m)}\right), \end{equation*} where $m$ is the square-free part of $n$ and $ω(m)$ is the number of prime factors of $m$. Spence's proof relies on an ingenious observation considering Nagell's totient function. Later in 1971, Lucien Van Hamme provided an alternative proof of the result using Fourier analysis and previous work from Hubert Delange in 1968. In this paper I propose another proof of the formula using the reciprocity law for Dedekind sums. If the formula is of interest on its own, it also plays a role in the analysis of the distribution of the $a_j$ as suggested by the work from Hubert Delange.
title A proof of Spence's formula using the reciprocity law for Dedekind sums
topic Number Theory
11A99, 11F20, 11A25
url https://arxiv.org/abs/2601.21034