 
 
 
 
 
   
 .  This proof is given in many
elementary number theory texts (including Davenport).  It depends on
the following lemma of Gauss:
.  This proof is given in many
elementary number theory texts (including Davenport).  It depends on
the following lemma of Gauss:
 be an odd prime and let
 be an odd prime and let  be an integer
 be an integer 
 .
Form the numbers
.
Form the numbers 
 
 to lie in the interval
 to lie in the interval 
 .
Let
.
Let  be the number of negative numbers in the resulting set.
Then
 be the number of negative numbers in the resulting set.
Then 
 
 , we expressed each number in
, we expressed each number in 
 
 
 appears more than once, with either choice of sign, because if it
did then either two elements of
appears more than once, with either choice of sign, because if it
did then either two elements of  are congruent modulo
 are congruent modulo  or
0 is the sum of two elements of
 or
0 is the sum of two elements of  , and both events are impossible.
Thus the resulting set must be of the form
, and both events are impossible.
Thus the resulting set must be of the form 
 
 is either
 is either  or
 or  .  Multiplying together
the elements of
.  Multiplying together
the elements of  and of
 and of  , we see that
, we see that
 
 
 
 
 
 
 
