Wilson theorem Question Explanation

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 2K views
mathsss2
Messages
38
Reaction score
0
How do I explain this:

Let [tex]p[/tex] be odd prime explain why: [tex]2*4*...*(p-1)\equiv (2-p)(4-p)*...*(p-1-p)\equiv(-1)^{\frac{(p-1)}{2}}*1*3*...*(p-2)[/tex] mod [tex]p[/tex].



Relevant equations

Gauss lemma
wilson's theorem [[tex](p-1)!\equiv-1[/tex] mod[tex]p[/tex]]



The attempt at a solution
pairing? need assistance


Thanks
 
Physics news on Phys.org
Hint: What are [itex]2-(2-p)[/itex], [itex]4-(4-p)[/itex], ... [itex](p-1)-(p-1-p)[/itex]? Are they divisible by [itex]p[/itex]?
 
Thanks, this problem is solved.