We study sums of the shape [Formula: see text] where is either von Mangoldt function or Dirichlet–Piltz divisor functions. improve previous estimates when and text], provide new results with breaking text]-barrier in each case. The functions are also investigated.