Understanding the proof of Theorem 9.4 in Montgomery & Vaughan's Multiplicative Number Theory

59 Views Asked by At

The following is from "Multiplicative number theory I: Classical theory" by Hugh L. Montgomery, Robert C. Vaughan:

enter image description here

I understand everything in the proof except for:

How existence of $c$ such that $(c,q)=1$ and $cm \equiv n$ (mod $q$) is guaranteed?

1

There are 1 best solutions below

3
On BEST ANSWER

Since $\chi(mn)\ne0$, we have $(mn,q)=1$ and hence $(m,q)=1$. Therefore one can choose $c\equiv m^{-1}n$ (mod $q$) to obtain $cm\equiv n$ (mod $q$).