MathOverflow is a question and answer site for professional mathematicians. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I find myself needing a good estiamate for $\sum_{p\le x,\, p\equiv a\mod q} 1/p$, perhaps something like $$ \sum_{p\le x,\, p\equiv a\mod q} \frac1p = \frac{\log\log x}{\phi(q)} + b(q,a) + O\big(\exp(-c\sqrt{\log x})\big) $$ for $q$ up to a power of $\log x$, or something of that shape. Moreover, I'd like to be able to apply this uniformly in $q$, so the dependence of the error term on $q$ needs to be explicit (and the constant $b(q,a)$ needs to be explicit enough to manage as well).

Does anyone have a good reference to recommend for such sums?

share|cite|improve this question

This paper I believe might give such estimates:

Languasco, A.; Zaccagnini, A. A note on Mertens' formula for arithmetic progressions. J. Number Theory 127 (2007), no. 1, 37–46

Theorem 2 there works uniformly for $q\leq (\exp((\log x)^{2/5}(\log\log x)^{1/5}))^A$ for every $A>0$. Theorem 4 there works for $q\leq x$ assuming GRH. You can also get explicit $b(q,a)$.

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.