The least square problem