A Dirichlet character at a prime power is a power of its value
ProvedDirichletCharacters.toArithmeticFunction_prime_powA Dirichlet character, viewed as an arithmetic function, is determined at prime powers.
For a Dirichlet character modulo and a prime ,
Dirichlet characters are completely multiplicative — with no coprimality hypothesis — so the value at a prime power is the corresponding power of the value at the prime, by induction on , with the case giving .
Complete multiplicativity is exactly what distinguishes characters from general multiplicative arithmetic functions, and it is the reason the Euler factor of at is the geometric series rather than an uncontrolled power series. Every Euler-product manipulation for Dirichlet -functions reduces to this identity.
Formalization note. toArithmeticFunction (χ ·) is the coercion of a character into
ArithmeticFunction ℂ, which sets the value at to ; the statement is about with
prime, so that convention is not in play.
import Mathlib
namespace DirichletCharacters
open ArithmeticFunction DirichletCharacter in
theorem toArithmeticFunction_prime_pow {N : ℕ} (χ : DirichletCharacter ℂ N) {p : ℕ}
(hp : p.Prime) (a : ℕ) :
(toArithmeticFunction (χ ·)) (p ^ a) = (χ p) ^ a := by sorry
end DirichletCharacters