A proof of Spence's formula using the reciprocity law for Dedekind sums
Abstract
In 1963, Edward Spence published a proof of the following With φ being Euler totient function, if n>1 is an integer, and if equation* 0<a1<·s<aφ(n)<n, equation* are the positive integers less than n, coprime with n, then equation* Σj=1φ(n)jaj = φ(n)24(8nφ(n)+6n+2φ(m)(-1)ω(m)-2ω(m)), 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 aj as suggested by the work from Hubert Delange.
Turn this paper into a full lesson
ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.