Write and . The finite Fourier transform of a primitive Dirichlet character gives
For this follows by multiplying residues by . For a nonunit , primitivity supplies a unit with nontrivial character value, for a prime ; multiplication by leaves the exponential unchanged and forces the sum to vanish. Orthogonality of the finite exponentials gives . The primitive transform identity makes the left side . Thus the primitive Gauss sum of a Dirichlet character is nonzero, with . Consequently the twist is the finite rational-translation sum
This representation will prove both the level statement and the Fricke formula.
Take , and choose . Since , this means . Direct multiplication gives
Every entry is integral, its determinant is one, and its lower-left entry is divisible by . Thus . Its lower-right entry is congruent to modulo , so by its nebentypus character. Using the right-action property of the slash operator,
The map permutes the residue classes. Reindexing gives , so
This proves the required modular weight and character on .
Cuspidality must also be checked. For any modular cusp matrix and any rational translation , choose with . Then is upper triangular with positive dilation. Since decays exponentially at infinity, so does . The finite sum defining therefore tends to zero at every modular cusp; its transformation law supplies a modular cusp period, so its holomorphic Fourier expansion has zero constant term there. Hence the primitive twist at coprime level is
Now put and , always using the determinant factor specified in the question. For each unit choose a unit with , possible because . The crucial integral matrix factorization is
The right side multiplies out to , so the identity is exact. Its determinant-one matrix has lower-right entry , and therefore . A positive scalar matrix acts trivially under the determinant-normalized slash operator, since its determinant contributes and its denominator contributes . Thus
The inverse-residue substitution is , giving . The sum over is . Hence the Fricke transform of a primitive coprime twist is
The second version uses , which follows from and . Here if ; it is not the complex conjugate function . The coprimality of is used both in the matrix factorization and in evaluating . For the twist is trivial and the formula simply reads .
Weight of a modular form 2026-10-14
The modular modular weight specifies the power in a modular form's transformation law. Multiplication adds modular weights. At level one, the central matrix excludes nonzero odd-weight forms; a nebentypus character at higher level changes this condition to .