Gauss summation