Primitive root modulo n Guide, Meaning , Facts, Information and Description
Primitive roots modulo n are a concept from modular arithmetic, in number theory.If n≥1 is an integer, the numbers coprime to n, taken modulo n, form a group with multiplication as operation; it is written as (Z/nZ)× or Zn*. This group is cyclic if and only if n is equal to 1 or 2 or 4 or pk or 2 pk for an odd prime number p and k ≥ 1. A generator of this cyclic group is called a primitive root modulo n, or a '\primitive element of Zn*'.
A primitive root modulo n, in other words, is an integer g such that, modulo n, every integer not having a common factor with n is congruent to a power of g.
Take for example n = 14. The elements of
- (Z/14Z)×
- 1, 3, 5, 9, 11 and 13.
Here is a table containing the smallest primitive root for various values of n (see A046145):
| n | primitive root mod n |
|---|---|
| 2 | 1 |
| 3 | 2 |
| 4 | 3 |
| 5 | 2 |
| 6 | 5 |
| 7 | 3 |
| 8 | - |
| 9 | 2 |
| 10 | 3 |
| 11 | 2 |
| 12 | - |
| 13 | 2 |
| 14 | 3 |
No simple general formula to compute primitive roots modulo n is known. There are however methods to locate a primitive root that are faster than simply trying out all candidates. If the multiplicative order of a number m modulo n is equal to φ(n); (the order of Z/nZ), then it is a primitive root. We can use this to test for primitive roots:
- first compute φ(n). Then determine the different prime factors of φ(n), say p1,...,pk. Now, for every element m of (Z/nZ)×, compute
The number of primitive roots modulo n, if there are any, is equal to
- φ(φ(n))
Sometimes one is interested in small primitive roots. We have the following results. For every ε>0 there exist positive constants C and p0 such that, for every prime p ≥ p0, there exists a primitive root modulo p that is less than
- C p1/4+ε.
- 70 (ln(p))2.
This is an Article on Primitive root modulo n. Page Contains Information, Facts Details or Explanation Guide About Primitive root modulo n
