Let be even, let be a primitive -th root of unity, and let be the set of derangements in the affine group . We evaluate the Wang–Sun type sum The main step is an arithmetic grouping: for an affine map , the product depends only on and on the residue class of modulo . 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ć 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 , prime denominator for for primes and it has alternating signs.

生成讲解博客的中文版本

生成AI智能校验的中文版本