Primitive root: Difference between revisions
(Created page with '==Definition== Suppose <math>n</math> is a natural number such that the multiplicative group modulo <math>n</math>, i.e., the group <math>(\mathbb{Z}/n\mathbb{Z})^*</math>, …') |
No edit summary |
||
| Line 5: | Line 5: | ||
We often use the term '''primitive root''' for an integer representative of such a residue class. | We often use the term '''primitive root''' for an integer representative of such a residue class. | ||
The number of primitive roots modulo <math>n</math>, if the multiplicative group is cyclic, is <math>\varphi(\varphi(n))</math> where <math>\varphi</math> is the [[Euler phi-function]]. This is because the order of the multiplicative group is <math>\varphi(n)</ | The number of primitive roots modulo <math>n</math>, if the multiplicative group is cyclic, is <math>\varphi(\varphi(n))</math> where <math>\varphi</math> is the [[Euler phi-function]]. This is because the order of the multiplicative group is <math>\varphi(n)</math>, and the number of generators of a cyclic group equals the Euler phi-function of its order. | ||
==Particular cases== | ==Particular cases== | ||
Revision as of 21:44, 29 May 2010
Definition
Suppose is a natural number such that the multiplicative group modulo , i.e., the group , is a cyclic group. (This happens if and only if is of one of these four forms: , where is a prime number and . Then, a primitive root modulo is a residue class modulo that generates the cyclic group.
We often use the term primitive root for an integer representative of such a residue class.
The number of primitive roots modulo , if the multiplicative group is cyclic, is where is the Euler phi-function. This is because the order of the multiplicative group is , and the number of generators of a cyclic group equals the Euler phi-function of its order.
Particular cases
Number of primitive roots
Here are the particular cases:
| Value of | Number of primitive roots |
|---|---|
| 2 | 1 |
| 4 | 1 |
| (odd prime) | |
| , odd, | |
| , odd | |
| , odd, |
Values of primitive roots
For an odd prime , any number that is a primitive root modulo continues to be a primitive root modulo higher powers of . We thus list primitive roots only for numbers of the form and .
| Value of | Number of primitive roots | Smallest absolute value primitive root ( to ) | Smallest positive primitive root | All primitive roots from to |
|---|---|---|---|---|
| 2 | 1 | 1 | 1 | 1 |
| 3 | 1 | -1 | 2 | 2 |
| 4 | 1 | -1 | 3 | 3 |
| 5 | 2 | 2,-2 | 2 | 2,3 |
| 7 | 2 | -2 | 3 | 3,5 |
| 9 | 2 | 2 | 2 | 2,5 |
| 11 | 4 | 2 | 2 | 2,6,7,8 |
| 13 | 4 | 2 | 2 | 2,6,7,11 |