Jump to content

Science:Math Exam Resources/Courses/MATH312/December 2009/Question 04 (b)/Solution 1

From UBC Wiki

We begin by multiplying the product by (1)p11modp. This gives

123252...(p2)2123252...(p2)2(1)p1modp

Now, rewrite each square as a2=aa and for each value of a, distribute a power of -1. Notice that we have (p1)/2 terms in our product. So we need to take a factor of (1)(p1)/2 to accomplish this. This gives

123252...(p2)2(1)p1(1)(1)(3)(3)(5)(5)...(p2)((p2))(1)(p1)/2modp

Now for each negative term, we add p to get.

(1)(1)(3)(3)(5)(5)...(p2)((p2))(1)(p1)/2(1)(p1)(3)(p3)(5)(p5)...(p2)(2)(1)(p1)/2modp

After rearranging the right hand side above, we see that

(1)(p1)(3)(p3)(5)(p5)...(p2)(2)(1)(p1)/2(p1)!(1)(p1)/2modp

By Wilson's Theorem and combining the above, we have

123252...(p2)2(p1)!(1)(p1)/2modp(1)(1)(p1)/2modp(1)(p+1)/2modp

and this was what we wanted to show.