A character formula for mean power residues

Joseph S. Farland

For every positive e and n, the project expresses the difference between the symmetry value (n−s)/2(n - s)/2 and the mean e-th power residue, where s counts the zero residues, as a divisor sum. Its terms have a character formula using only odd primitive characters whose e-th power is trivial. For odd e the difference vanishes.

What was already known

The same author’s earlier square-residue project gives the e=2e = 2 specialization. The new formula applies to every positive exponent.

How the result developed

  1. 28 Nov 2026 · Mathematical proof reported [1]

    Joseph S. Farland’s project For every positive e and n, the project expresses the difference between the symmetry value (n−s)/2(n - s)/2 and the mean e-th power residue, where s counts the zero residues, as a divisor sum.

Follow new evidence and revisions to this result.

Get email updates

Download contribution history

Contribution Assessment

AI involvementAI-led
ImportanceModest
Technical verificationFormal (Lean)
Human understandingFew

AI involvement

Joseph S. Farland’s project credits Claude with developing the formula, its proof and the Lean code. The author chose the question and its all-exponent scope. The formula, its proof and the Lean code were developed with Claude (Anthropic) under the author’s direction.

Importance

An exact mean describes asymmetry in the distribution of power residues and connects it to the arithmetic of the modulus.

Technical verification

The project reports Lean kernel and Comparator checks, including Lean, NanoDa and con-ron, for the divisor and character formulas.

Formal checking

The project reports Lean kernel and Comparator checks, including Lean, NanoDa and con-ron, for the divisor and character formulas.

Checker
Joseph S. Farland’s project Lean checking workflow
Scope
For every positive e and n, the project expresses the difference between the symmetry value (n−s)/2(n - s)/2 and the mean e-th power residue, where s counts the zero residues, as a divisor sum. Its terms have a character formula using only odd primitive characters whose e-th power is trivial. For odd e the difference vanishes.
Basis
Reported by the linked checker

Human understanding

The cited sources document the model’s proof and checking. They give no firsthand human account of the central reasoning.

Other useful sources

View revision history
· publication

Reviewed the exact scoped claim, documented model contribution and reported checking.