This seems like a very standard notation in analytic number theory, and I see it a lot. But I was confused with it and I would greatly appreciate any clarification.
When one writes sum of the shape $$ \sum_{q \leq Q} \ \sum_{\chi (mod \ q)} ' $$ where $\sum_{\chi (mod \ q)} '$ is the sum over the primitive characters, I am wondering how the principal characters being taken into account here.
My questions regarding this: Is the convention to take the principal character as the primitive character mod 1 (so it appears only when $q=1$ but for no other $q$?), or are the principal characters mod q are primitive character mod $q$ so they actually appear for all $q$? or is the sum simply an empty set when $Q <2$?
Thank you very much.