In analytic number theory and related branches of mathematics, a complex-valued arithmetic function χ:ℤ→ℂ is a Dirichlet character of modulus m (where m is a positive integer) if for all integers a and b:
1. χ(ab)=χ(a)χ(b); that is, χ is completely multiplicative. 2. χ(a)=0⟺gcd(a,m)>1. 3. χ(a+m)=χ(a); that is, χ is periodic with period m. The simplest possible character, called the principal character and usually denoted χ0, exists for all moduli:
χ0(a)={0if gcd(a,m)>11if gcd(a,m)=1. Dirichlet characters were named after German mathematician Peter Gustav Lejeune Dirichlet, who introduced these functions in his 1837 paper on primes in arithmetic progressions. They are a prominent example of the general idea of a character in mathematics.
Notation ϕ(n) is Euler's totient function. ζn is a complex primitive n-th root of unity:
ζnn=1, but ζn≠1,ζn2≠1,...ζnn−1≠1. (ℤ/mℤ)× is the group of units mod m. It has order ϕ(m). (ℤ/mℤ)×^ is the group of Dirichlet characters mod m. p,pk, etc. are prime numbers. (m,n) is a standard abbreviation for gcd(m,n) χ(a),χ′(a),χr(a), etc. are Dirichlet characters. (the lowercase Greek letter chi for "character") There is no standard notation for Dirichlet characters that includes the modulus. In many contexts (such as in the proof of Dirichlet's theorem) the modulus is fixed. In other contexts, such as this article, characters of different moduli appear. Where appropriate this article employs a variation of Conrey labeling (introduced by Brian Conrey and used by the LMFDB). In this labeling characters for modulus m are denoted χm,t(a) where the index t is described in the section the group of characters below. In this labeling, χm,_(a) denotes an unspecified character and χm,1(a) denotes the principal character mod m.
Relation to group characters The word "character" is used several ways in mathematics. In this section it refers to a homomorphism from a group G (written multiplicatively) to the multiplicative group of the field of complex numbers:
η:G→ℂ×,η(gh)=η(g)η(h),η(g−1)=η(g)−1. The set of characters is denoted G^. If the product of two characters is defined by pointwise multiplication ηθ(a)=η(a)θ(a), the identity by the trivial character η0(a)=1 and the inverse by complex inversion η−1(a)=η(a)−1 then G^ becomes an abelian group. If A is a finite abelian group then there is an isomorphism A≅A^, and the orthogonality relations:
∑a∈Aη(a)={|A| if η=η00 if η≠η0 and ∑η∈A^η(a)={|A| if a=10 if a≠1. The elements of the finite abelian group (ℤ/mℤ)× are the residue classes [a]={x:x≡a(modm)} where (a,m)=1. A group character ρ:(ℤ/mℤ)×→ℂ× can be extended to a Dirichlet character χ:ℤ→ℂ by defining
χ(a)={0if [a]∉(ℤ/mℤ)×i.e. (a,m)>1ρ([a])if [a]∈(ℤ/mℤ)×i.e. (a,m)=1, and conversely, a Dirichlet character mod m defines a group character on (ℤ/mℤ)×. Paraphrasing Davenport, Dirichlet characters can be regarded as a particular case of Abelian group characters. But this article follows Dirichlet in giving a direct and constructive account of them. This is partly for historical reasons, in that Dirichlet's work preceded by several decades the development of group theory, and partly for a mathematical reason, namely that the group in question has a simple and interesting structure which is obscured if one treats it as one treats the general Abelian group.
Elementary facts 4) Since gcd(1,m)=1, property 2) says χ(1)≠0 so it can be canceled from both sides of χ(1)χ(1)=χ(1×1)=χ(1):
χ(1)=1. 5) Property 3) is equivalent to
if a≡b(modm) then χ(a)=χ(b). 6) Property 1) implies that, for any positive integer n
χ(an)=χ(a)n. 7) Euler's theorem states that if gcd(a,m)=1 then aϕ(m)≡1(modm). Therefore,
χ(a)ϕ(m)=χ(aϕ(m))=χ(1)=1. That is, the nonzero values of χ(a) are ϕ(m)-th roots of unity:
χ(a)={0if gcd(a,m)>1ζϕ(m)rif gcd(a,m)=1 for some integer r which depends on χ,ζ, and a. This implies there are only a finite number of characters for a given modulus. 8) If χ and χ′ are two characters for the same modulus so is their product χχ′, defined by pointwise multiplication:
χχ′(a)=χ(a)χ′(a) (χχ′ obviously satisfies 1-3). The principal character is an identity:
χχ0(a)=χ(a)χ0(a)={0×0=χ(a)if gcd(a,m)>1χ(a)×1=χ(a)if gcd(a,m)=1. 9) Let a−1 denote the inverse of a in (ℤ/mℤ)×. Then
χ(a)χ(a−1)=χ(aa−1)=χ(1)=1, so χ(a−1)=χ(a)−1, which extends 6) to all integers. The complex conjugate of a root of unity is also its inverse (see here for details), so for (a,m)=1
χ‾(a)=χ(a)−1=χ(a−1). (χ‾ also obviously satisfies 1-3). Thus for all integers a
χ(a)χ‾(a)={0if gcd(a,m)>11if gcd(a,m)=1; in other words χχ‾=χ0. 10) The multiplication and identity defined in 8) and the inversion defined in 9) turn the set of Dirichlet characters for a given modulus into a finite abelian group.
The group of characters There are three different cases because the groups (ℤ/mℤ)× have different structures depending on whether m is a power of 2, a power of an odd prime, or the product of prime powers.
Powers of odd primes If q=pk is an odd number (ℤ/qℤ)× is cyclic of order ϕ(q); a generator is called a primitive root mod q. Let gq be a primitive root and for (a,q)=1 define the function νq(a) (the index of a) by
a≡gqνq(a)(modq), 0≤νq<ϕ(q). For (ab,q)=1,a≡b(modq) if and only if νq(a)=νq(b). Since
χ(a)=χ(gqνq(a))=χ(gq)νq(a), χ is determined by its value at gq. Let ωq=ζϕ(q) be a primitive ϕ(q)-th root of unity. From property 7) above the possible values of χ(gq) are ωq,ωq2,...ωqϕ(q)=1. These distinct values give rise to ϕ(q) Dirichlet characters mod q. For (r,q)=1 define χq,r(a) as
χq,r(a)={0if gcd(a,q)>1ωqνq(r)νq(a)if gcd(a,q)=1. Then for (rs,q)=1 and all a and b
χq,r(a)χq,r(b)=χq,r(ab), showing that χq,r is a character and χq,r(a)χq,s(a)=χq,rs(a), which gives an explicit isomorphism (ℤ/pkℤ)×^≅(ℤ/pkℤ)×.
Examples m = 3, 5, 7, 9 2 is a primitive root mod 3. (ϕ(3)=2)
21≡2,22≡20≡1(mod3), so the values of ν3 are
a12ν3(a)01. The nonzero values of the characters mod 3 are
12χ3,111χ3,21−1 2 is a primitive root mod 5. (ϕ(5)=4)
21≡2,22≡4,23≡3,24≡20≡1(mod5), so the values of ν5 are
a1234ν5(a)0132. The nonzero values of the characters mod 5 are
1234χ5,11111χ5,21i−i−1χ5,31−ii−1χ5,41−1−11 3 is a primitive root mod 7. (ϕ(7)=6)
31≡3,32≡2,33≡6,34≡4,35≡5,36≡30≡1(mod7), so the values of ν7 are
a123456ν7(a)021453. The nonzero values of the characters mod 7 are (ω=ζ6,ω3=−1)
123456χ7,1111111χ7,21−ωω2ω2−ω1χ7,31ω2ω−ω−ω2−1χ7,41ω2−ω−ωω21χ7,51−ω−ω2ω2ω−1χ7,611−11−1−1. 2 is a primitive root mod 9. (ϕ(9)=6)
… excerpt ends here. Continue reading the full article.

