Two Dirichlet characters $\chi$, $\chi'$ are equal if $\chi(p) = \chi'(p)$ for almost all primes

133 Views Asked by At

I want to prove the following: Let $\chi, \chi'$ be two primitive Dirichlet-characters of conductor $N$. Suppose that $\chi(p) = \chi'(p)$ for all but a finite number of primes $p$. Then $\chi = \chi'$.

My idea was to use the same trick as in Euclid's proof of the infinitude of primes. Let $p_1, ..., p_n$ be the (pairwise distinct) primes not dividing $N$ such that $\chi(p_i) \neq \chi'(p_i)$. Then $p_1 \cdots p_n + N$ is coprime to $N$ and no $p_i$ divides $p_1 \cdots p_n + N$. So $\chi(p_1 \cdots p_n + N) = \chi'(p_1 \cdots p_n + N)$. Now I thought we can use the fact that $p_1 \cdots p_n + N$ is a unit in $\mathbf{Z} / N\mathbf{Z}$, but I couldn't get my head around that.

Does anyone know how to do it?

Thanks!

1

There are 1 best solutions below

2
On BEST ANSWER

You only need to check that $\chi(a)=\chi'(a)$ for every $a\in(\mathbb{Z}/N\mathbb{Z})^\times$. By Dirichlet's theorem, there exists a prime $p\equiv a\bmod N$ such that $\chi(p)=\chi'(p)$. Repeat this for every $a$ and you are done.