This has been a week of asking and answering questions from emails, as far as I can see. I want to respond to two questions publicly, though, as they’ve some interesting value. So this is the first of a pair of blog posts. One is a short and sweet elementary proof of when is a quadratic residue of a prime, responding to Moschops’s comments on an earlier blog post. But to continue my theme of some good and some bad, I’d also like to consider the latest “proof” of the Goldbach conjecture (which I’ll talk about in the next post tomorrow). More after the fold:
In the MSE question Legendre Symbol Second Supplementary Law from the user Yola, I gave a completely elementary answer. The question is to evaluate , where we are considering the Legendre Symbol. Moschops has asked me to clarify some of the steps, so let’s give a complete working.
We are assuming that is an odd prime. Let . Now consider the different equations
where we choose the sign on so that it multiplies with to give . We want to multiply these equations together. The left side is very easy to understand, and we just get . The right is a bit harder, as we have both numbers and signs. Let us first deal with the numbers, ignoring the terms. In particular, we have a positive and some negative odd numbers. In fact, if we think a bit harder, then because , we’ll see that we have exactly half of the even numbers less than .
Here’s the big trick. Note also that (so the largest even number less than is the same as the smallest negative odd number), (the second largest even number less than ), and so on. Then we see that o0ur odd negative numbers are the same as the other half of the even numbers less than . This is the big trick – the slick idea. This means that (to see this last equivalence, imagine that we associate each term of the factorial with one of the powers of two, so that we only get even factorial terms).
So we have evaluated the “numbers” portion of the product of the right hand side. We still need to consider the “signs” portion, i.e. the product of the terms. This is not so bad, as . So the complete product of the RHS terms is and the product of the LHS is (all done mod ).
Thus we are left with , which is the standard rule. Many thanks to Moschops for the question – I hope this helps. At least now we have a clear comment thread for questions.