Monday, 24 April 2017

elementary number theory - We have an1equiv1(modn) but amnotequiv1(modn) for every divisor m of n1, other than itself. Prove that n is prime.



The integers a and n>1 satisfy an11 (mod n) but am1 (mod n) for every divisor m of n1, other than itself. Prove that n is prime.



The way I went about proving it was,







We know for every integer k1, ak1(mod n)d | k, where d is the order of a.



Note an11 (mod n) and all divisors d | n1 have ad1 (mod n). n1 is the order of a.



So we know {1,a,a2,...,an1}residue class mod n
So at least n1 elements coprime to n n is prime






So assuming this proof is correct, I was wondering if anyone had a more formal justification / better explanation for the last two lines. My thought process was because we know the order of a is n1, all powers of a are incongruent to each other and the set of incongruent n1 elements forms a set of residues mod n.




And since there are n1 elements less than and coprime to n, we get that n must be prime.



Is this correct? If not, does anyone know of a better proof (using only elementary number theory techniques)?


Answer



Well, if n1 is the order of a, then n1φ(n). Since φ(n)n1, we know φ(n)=n1. This means n is prime.



Not necessarily a better proof, but shorter, and I'd say simpler too.


No comments:

Post a Comment

real analysis - How to find limhrightarrow0fracsin(ha)h

How to find lim without lhopital rule? I know when I use lhopital I easy get $$ \lim_{h\rightarrow 0}...