The research that led Carl Friedrich Gauss and Adrien-Marie Legendre to find the method of least squares.