  Asymptotic formulae for Titchmarsh-type divisor sums are obtained with strong
error terms that are uniform in the shift parameter. This applies to more
general arithmetic functions such as sums of two squares, improving the error
term in the representation of the number as a sum of a prime and two squares,
and to Fourier coefficients of cusp forms, generalizing a result of Pitt.
