Insights · Michaël PerreaultFoundations for Mathematical Reality

Insights

Prime Numbers and Generators

Prime num­bers, de­not­ed by pp (pro­nounced "pee"), are in­te­gers greater than 11 whose only pos­i­tive di­vi­sors are 11 and pp itself. Primes are fun­da­men­tal in group theory, par­tic­u­lar­ly when study­ing the group ℤn\mathbb{Z}_n under ad­di­tion modulo nn.

A group is cyclic (pro­nounced "sigh-click") if it can be gen­er­at­ed by a single el­e­ment, called a gen­er­a­tor. In other words, every el­e­ment of the group can be ob­tained by re­peat­ed­ly ap­ply­ing the group op­er­a­tion to the gen­er­a­tor.

For ℤn\mathbb{Z}_n under ad­di­tion, an el­e­ment kk is a gen­er­a­tor if the set:

{0,k,2k,3k,…,(n−1)k}modn\{ 0, k, 2k, 3k, \ldots, (n-1)k \} \mod n

con­tains every el­e­ment of ℤn\mathbb{Z}_n. Here, modn\mod n means we take the re­main­der after di­vi­sion by nn.

The cri­te­ri­on for kk to be a gen­er­a­tor is that it is co­prime (shares no common fac­tors except 11) with nn. This is ex­pressed using the great­est common di­vi­sor func­tion, gcd⁡(k,n)\gcd(k, n) (pro­nounced "gee-cee-dee of k and n"). Thus,

k is a generator of ℤn⟺gcd⁡(k,n)=1k \text{ is a generator of } \mathbb{Z}_n \iff \gcd(k, n) = 1

When nn is a prime number pp, every nonze­ro el­e­ment kk in ℤp\mathbb{Z}_p is a gen­er­a­tor, since gcd⁡(k,p)=1\gcd(k, p) = 1 for all 1≤k<p1 \leq k < p.

Ex­am­ple: ℤ5\mathbb{Z}_5 (In­te­gers Modulo 5)

Let n=5n = 5, which is prime.

  • The el­e­ments are {0,1,2,3,4}\{ 0, 1, 2, 3, 4 \}.
  • Each kk in {1,2,3,4}\{1, 2, 3, 4\} is co­prime to 55.

Thus, every nonze­ro el­e­ment is a gen­er­a­tor.

Ex­am­ple: ℤ6\mathbb{Z}_6 (In­te­gers Modulo 6)

Let n=6n = 6, which is not prime.

  • The el­e­ments are {0,1,2,3,4,5}\{ 0, 1, 2, 3, 4, 5 \}.
  • Only k=1k = 1 and k=5k = 5 are co­prime to 66.

Thus, only 11 and 55 are gen­er­a­tors in ℤ6\mathbb{Z}_6.