Primitive root modulo n
Definition
Let be a positive integer. A primitive root modulo is an integer coprime to whose multiplicative order modulo is , where is Euler's totient function.
Remarks
Equivalently, is a primitive root modulo when the powers represent all the residue classes coprime to . So a primitive root exists exactly when the group is cyclic, and then generates this group. For example, is a primitive root modulo : its powers are modulo . There is no primitive root modulo : each odd satisfies , but .
Explanations
L1 human
A primitive root is a number whose powers run through all the residues coprime to before they come back to . Modulo , the powers of are . So is a primitive root modulo , but is not, since .
What this node needs for W2
- edge instance_of in: one example (0 of 1)
- edge not_instance_of in: one non-example that fails one clause (0 of 1)
The writing levels say how complete the text of a node is. They do not measure its truth.
What this needs
To read this node, read these 8 nodes in this order. The foundations come first, and the list ends with this node.
- no evidence level
- Divisibility definition
- Congruence modulo n definition
- Greatest common divisor definition
- Coprime integers definition
- Euler's totient function definition
- Euler's theorem statement
- Multiplicative order definition
- Primitive root modulo n definition
What depends on this
4 nodes use this node, directly or through other nodes.
- Diffie–Hellman key exchange 01TKKESHSB
- Existence of primitive roots modulo a prime 04XGKK8WQW
- Discrete logarithm 09B4X51J09
- Primitive root theorem 0E0DNQK22P
Sources
What links here
Used by
- Diffie–Hellman key exchange 01TKKESHSB
- Existence of primitive roots modulo a prime 04XGKK8WQW
- Discrete logarithm 09B4X51J09
- Primitive root theorem 0E0DNQK22P