Saturday 15 June 2013

Proof in modern algebra. Prove $(n-1)! = -1 (textrm{mod n})$ iff n is prime

Prove $(n-1)! = -1 \ (\textrm{mod n})$ iff n is prime



I can understand how the first part of the proof $(n-1)!=-1 \ (\textrm{mod n})$ is true if n is prime simply by testing it out. However, I'm unsure of how to go about proving it.

No comments:

Post a Comment

real analysis - How to find $lim_{hrightarrow 0}frac{sin(ha)}{h}$

How to find $\lim_{h\rightarrow 0}\frac{\sin(ha)}{h}$ without lhopital rule? I know when I use lhopital I easy get $$ \lim_{h\rightarrow 0}...