How do I prove that "there are (p-1)/2 quadratic residues and
(p-1)/2 non-residues of an odd prime p." This is theorem 84 in
Hardy and Wright, and a 'proof' is given in the book, but I don't
understand how any of the statements they give support this
theorem. I'm interested in just a proof, not solely their proof,
so there is no need to elaborate on the book (although I'd like
to see ho it works, if anyone has the book).
Anyone have a proof?
Brad
Their proof looks fine to me - they
exhibit (p-1)/2 quadratic residues, show that these are all
incongruent, and that all others are congruent to one of these;
hence there are precisely (p-1)/2 distinct (nonzero) quadratic
residues. Where do you think there's a catch?
David
Third proof: for any p it is known that
there exists an a(p) such that the powers of a(p) are
1,2,3..(p-1) (in some order). So the elements of Z/pZ are {1, a,
a2 , a3 , ... ap-2 }
and it follows immediately that the squares mod p are {1,
a2 , a4 , ..., ap-3 } - so there
are (p-1)/2 of them.
(This proof is a little more high-powered, but once you know
about generators it's trivial, as are a lot of other nice results
concerning powers.)
David
Ok, thanks. I see the Hardy and Wright proof now. Something
about the phrasing in the book wasn't suggestive enough for
me...
Thanks again,
Brad