1Here we assume q is an even number. In the case where q is an odd number, the residues are {−q −1 2 ,−q −3 2 ,⋯,0,⋯,q −3 2 ,q −1 2 }