\[\sum_{\begin{subarray}{c}p\leq x\\
p\equiv h\!\!\!\!\!\pmod{k}\end{subarray}}\frac{1}{p}=\frac{1}{\phi\left(k%
\right)}\ln\ln x+B+O\left(\frac{1}{\ln x}\right),\]