Amount Of Generators For Cyclic Group And Euler's Function


Answer :

A cyclic group with nn elements has φ(n)\varphi(n) generators.

It seems like what you're getting confused by is that:

  • The group Z7×={1,2,3,4,5,6}\mathbb{Z}_7^\times=\{1,2,3,4,5,6\} is a cyclic group with 6 elements, and therefore it should considered equivalent to (more precisely, it is isomorphic to) the cyclic group Z6\mathbb{Z}_6, and you should expect φ(6)=2\varphi(6)=2 generators, not φ(7)=6\varphi(7)=6 generators

  • The elements 44 and 66 in Z7×\mathbb{Z}_7^\times are not generators: the powers of 44 in Z7×\mathbb{Z}_7^\times are {1,4,2}\{1,4,2\}, and the powers of 66 in Z7×\mathbb{Z}_7^\times are {1,6}\{1,6\}. (The only generators of Z7×\mathbb{Z}_7^\times are 33 and 55, and there are exactly 2=φ(6)2=\varphi(6) of them.)

More generally, if pp is a prime number, then Zp\mathbb{Z}_p is a cyclic group with pp elements, while Zp×\mathbb{Z}_p^\times is a cyclic group with p−1p-1 elements, so Zp×\mathbb{Z}_p^\times has φ(p−1)\varphi(p-1) generators.

As for the best method to find a generator, that is a far more advanced problem.


Comments

Popular posts from this blog

Chrome Ipad Extensions Code Example

AngularJS $on Event Handler Trigger Order