Thursday, 10 July 2014

congruences - Showing a number n is prime if (n2)!equiv1pmodn

I need to show that if (n2)!1(modn) then n is prime.
I think that if n is composite, then we'll have every factor of n in (n2)!, and it would yield that (n2)!0(modn).
However, I didn't use the fact that it specifically congruent to 1mod, so I think I'm getting something fundamental wrong. Is my solution correct? Why do we demand congruence to 1 \bmod n?

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}...