paper

Integrality of Averages of Roots of Unity and Perfect Isometries

arXiv:2605.31161 · doi:10.1017/S0004972726101336

Abstract

We establish a criterion for the integrality of averages of roots of unity and apply it to settle a conjecture regarding the linearity of functions on . Specifically, we prove that for any modulus , if a function satisfies that the averages (where ) are algebraic integers for all , then is necessarily linear modulo . This provides a short, elementary proof that works uniformly for all and avoids the finite-field machinery used in previous partial results. Furthermore, when , we utilize a local-global integrality argument to show that any normalized sum of -th roots of unity that is -adically integral must be either or a single root of unity. As an application, we completely characterize the perfect isometries of the cyclic group : they are precisely those induced by affine permutations with .

6 pages; accepted for publication in Bulletin of the Australian Mathematical Society