Montgomery and Vaughan improved a theorem of Erdős and Fuchs for an arbitrary sequence. Srkzy extended this theorem of Erdős
and Fuchs for two arbitrary sequences which are "near" in a certain sense. Using the idea of Jurkat (differentiation of the
generating function), we will extend similarly the result of Montgomery and Vaughan for "sufficiently near" sequences.