Remark on the residuals obtained by least squares