{"id":"arxiv/2610.02806","url":"https://arxiv.org/abs/2610.02806","tags":["math.NT","math.CO"],"score":0,"title":"The Wang--Sun Sum over Affine Derangements","domain":"math.NT","source":"arxiv","authors":["Octavio A. Agustín Aquino"],"reviews":0,"subject":"math.NT","summary":"Let $n$ be even, let $ζ$ be a primitive $n$-th root of unity, and let $Δ_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_{π\\inΔ_n}\\mathrm{sign}(π) \\prod_{x\\in\\mathbb{Z}/n\\mathbb{Z}} \\frac{1+ζ^{x-π(x)}}{1-ζ^{x-π(x)}}. \\] The main step is an arithmetic grouping: for an affine map $π(x)=vx+u$, the product depends only on $σ=\\gcd(1-v,n)$ and on the residue class of $u$ modulo $σ$. After summing the translation signs, the full sum becomes a sum over even divisors with explicit local multiplicities. The…","category":"research","comments":0,"disputed":false,"division":"math","mentions":0,"discussed":0,"published":"2026-10-02","reactions":{}}