We hope to prove that
- The number of primitive elements is the number of coprimes of |G| = φ(|G|).
- If the order or an element is factor of |G|, it's not a primitive element.
Let ∝ ∈ G be a primitive element of group G, then we can define any element xi ∈ G as:
xi = f(∝, i) = ∝ ο ∝ ο ∝ ο ∝ ο ... ∝ ο ∝ ο i times
- since ∝ is a primitive element, then 1 <= i <= |G|, such that.
f(∝, i = 1) = ∝, and f(∝, i = |G|) = N.
An element is primitive if it reaches N for the first time after |G| steps.
-
if i is a factor of |G|:
∴ f(xi, ord(xi)) = f(∝, i * ord(xi)) = f(∝, |G|) = N
∴ i * ord(xi) = |G|, and i is factor of |G|.
∴ ord(xi) is factor of |G|.
∵ ord(xi) < |G|.
∴ xi is not a primitive element of G, if |xi| is a factor of |G|, and |xi| = |G|/i -
if i is comprime of |G|:
∴ f(xi, ord(xi)) = f(∝, i * ord(xi)) = f(∝, m*|G|) = N.
∵ gcd(i, |G|) = 1
∴ i*|xi| ≠ |G|.
∵ xi must reach N after |xi| steps, the equation would be
i*|Xi| = m*|G| where m is an integer constant such that m < |G| ∵ i is coprime with |G|
∴ |xi| >= |G| , but |xi| <= |G|
∴ xi = |G|
∴ xi is a primitive element of group G, if i is coprime with |G| -
if i has a common factor with |G|
let f = gcd(i, |G|) >= 1, f < i < |G|.
let's consider the group generated by the element xf called F.
∵ f is a factor of i.
∴ xi ∈ F.
∴ |xi| <= |F| = |G|/f < |G|.
∴ Xi is not a primitive element of group G.
also since xi ∈ F, we can compute its order within the subgroup instead which is a maximum of f, depending on the relation between |F| = |G|/f, and j = i/f, where |F| and j are analgous to |G| and i in the original group.
Since the 3 possibilities above cover all possibilities for i.
∴ We can conclude that an element Xi ∈ G is a primitive element iff i is coprimes with |G|.
∴ the number of primitive elements of group G = the number of coprimes of |G| = φ(|G|).