Discrete least squares and quadrature formulas

The purpose of this paper is two-fold. Firstly, we explore some of the intimate connections between discrete least squares processes and quadratures. Secondly, we present an algorithm to construct Gauss-type integration formulas, and consider briefly the method proposed by Gautschi [2].