Multiplicative group mod n
The multiplicative group of integers modulo n, written (ℤ/nℤ)ˣ (also
U(n)), is the group of residues coprime to n under multiplication mod n.
It is abelian of order φ(n), where φ is
Euler's totient.
Definition
(ℤ/nℤ)ˣ = { a mod n : gcd(a, n) = 1 }, under multiplication mod n.
A residue a is invertible mod n exactly when gcd(a, n) = 1, so these are
the units of the ring ℤ/nℤ; hence |(ℤ/nℤ)ˣ| = φ(n).
Structure
By the
Chinese remainder theorem,
if n = p₁k₁ ⋯ pᵣkᵣ then
(ℤ/nℤ)ˣ ≅ (ℤ/p₁k₁ℤ)ˣ × ⋯ × (ℤ/pᵣkᵣℤ)ˣ,
and every prime-power factor is known exactly:
modulus m | (ℤ/mℤ)ˣ |
|---|---|
2 | trivial |
4 | C₂ |
2ᵏ, k ≥ 3 | C₂ × C2k-2 |
pᵏ, p odd prime | Cpk-1(p-1) (cyclic) |
Cyclic case (primitive roots)
(ℤ/nℤ)ˣ is cyclic — a primitive root mod n exists — if and
only if
n ∈ { 1, 2, 4, pᵏ, 2pᵏ } for an odd prime p.
For every other n it is a non-trivial direct product, e.g.
(ℤ/8ℤ)ˣ = C₂ × C₂ and (ℤ/15ℤ)ˣ = C₂ × C₄.
Which groups occur
Not every finite abelian group is a unit group:
C₃never occurs — nonhasφ(n) = 3(φ(n)is even forn > 2).C₈never occurs —φ(n) = 8holds forn ∈ {15, 16, 20, 24, 30}, but none of these has a cyclic unit group.
A group may occur for several moduli:
C₆ = (ℤ/7ℤ)ˣ = (ℤ/9ℤ)ˣ = (ℤ/14ℤ)ˣ = (ℤ/18ℤ)ˣ. Whether every attained order is
attained by at least two moduli is
Carmichael's totient conjecture,
still open.
Examples
(ℤ/5ℤ)ˣ = C₄— generated by2(powers2, 4, 3, 1).(ℤ/8ℤ)ˣ = C₂ × C₂—{1, 3, 5, 7}, every non-identity element has order 2.(ℤ/12ℤ)ˣ = C₂ × C₂;(ℤ/16ℤ)ˣ = C₂ × C₄;(ℤ/15ℤ)ˣ = C₂ × C₄.
See also
- Cyclic group — the primitive-root case.
- Abelian group — every unit group is abelian.
- Wikipedia: Multiplicative group of integers modulo n