On certain mean values of polynomials