高斯和
where "G" is the Gauss sum