  An improved estimate is given for $|\theta(x) -x|$, where $\theta(x) =
\sum_{p\leq x} \log p$. Three applications are given: the first to arithmetic
progressions that have points in common, the second to primes in short
intervals, and the third to a conjecture by C. Pomerance.
