Skip to content
Preprint

The Wang--Sun Sum over Affine Derangements

Oct 2026 · 0 citations · 10 references
Mathematics

Abstract

Let $n$ be even, let $\zeta$ be a primitive $n$-th root of unity, and let $\Delta_n$ be the set of derangements in the affine group $\overrightarrow{GL}(\mathbb{Z}/n\mathbb{Z})$. We evaluate the Wang--Sun type sum \[ S_n=\sum_{\pi\in\Delta_n}\mathrm{sign}(\pi) \prod_{x\in\mathbb{Z}/n\mathbb{Z}} \frac{1+\zeta^{x-\pi(x)}}{1-\zeta^{x-\pi(x)}}. \] The main step is an arithmetic grouping: for an affine map $\pi(x)=vx+u$, the product depends only on $\sigma=\gcd(1-v,n)$ and on the residue class of $u$ modulo $\sigma$. After summing the translation signs, the full sum becomes a sum over even divisors with explicit local multiplicities. The only remaining analytic blocks are alternating even cotangent power sums; a recent formula of Liu and Xin then gives a closed expression in Bernoulli polynomials and universal coefficients. Moreover, using results by Cvijovi\'{c} and Klinowski we can evaluate the cotangent power sums using exclusively rational arithmetic. This supplies a general formula for the full affine sum whose initial values were computed using the definition only in an earlier work. The formula also lets us prove some general patterns of the sum: it has integral value for powers of $2$, prime denominator for $2p$ for primes $p>3$ and it has alternating signs.

View source

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.