← LibraryCyclic GroupsEngineering · MathematicsLesson 102/385← PrevNext →
ArticlePublished 7 Aug 20263 min readBy Kevin Jogin

Engineering  /  Mathematics  — Abelian Groups

Cyclic Groups

Cyclic groups, their generators, subgroup structure, and the criterion for the units modulo n to be cyclic.

Page KV-MATH-0373Reading time 4 minReviewed 2026-08-07Author Kevin Jogin

Executive summary

A cyclic group is generated by a single element. Its structure is completely determined by its order, and its subgroup lattice mirrors the divisor lattice of that order.

The group of units modulo n is cyclic only for particular n, and knowing when is essential to discrete-log parameter selection.

Learning objectives

  1. Characterise the generators of a cyclic group.
  2. Describe the subgroup lattice of a cyclic group.
  3. State the criterion for Z_n* to be cyclic.

01Generators

Definition

Cyclic group

A group G with an element g such that G = ⟨g⟩. Such a g is a generator, or a primitive root in the modular setting.

Theorem

Counting generators

A cyclic group of order n has exactly φ(n) generators. The element g^k generates if and only if gcd(k, n) = 1.

So generators are plentiful. In a cyclic group of order n, the proportion of elements that generate is φ(n)/n, which is bounded below by roughly 1/(6 ln ln n) — small but never negligible, so random search finds one quickly.

02Subgroup structure

Theorem

Subgroups of a cyclic group

A cyclic group of order n has exactly one subgroup of order d for each divisor d of n, and no others. Each such subgroup is itself cyclic.

The subgroup of order d is generated by g^{n/d} and consists of exactly the elements whose order divides d — equivalently, the solutions of x^d = e.

Subgroup lattices
GroupOrderSubgroup orders
Z_7*61, 2, 3, 6
Z_11*101, 2, 5, 10
Z_23*221, 2, 11, 22
Subgroup of prime order qq1, q only

The last row is the design target for cryptography: a prime-order group has no proper non-trivial subgroups, so no decomposition attack is available.

03When is Z_n* cyclic?

Theorem

Primitive root theorem

Z_n* is cyclic exactly when n = 1, 2, 4, p^k or 2p^k for an odd prime p.

In particular Z_p* is cyclic for every prime p, which is the case that matters for Diffie–Hellman. For a general composite modulus the group is a product of cyclic groups and typically not cyclic itself.

The same theorem in the finite field setting is unconditional and stronger: F_q* is cyclic for every prime power q, with no exceptional cases. This is one reason finite fields are a cleaner setting than composite moduli.

04Frequently asked questions

Is there an efficient way to find a primitive root?

Random search with verification, using the factorisation of p − 1 to test candidate orders. No unconditional deterministic polynomial-time method is known, though one exists under the generalised Riemann hypothesis.

Why does Z_n* fail to be cyclic for most n?

Because the Chinese remainder theorem decomposes it into a product over prime powers, and a product of cyclic groups is cyclic only when the orders are pairwise coprime. For most n that condition fails.

Does a cyclic group of composite order weaken security?

Yes, through Pohlig-Hellman. The subgroup of each divisor order permits a partial discrete logarithm, and the results reassemble by Chinese remaindering. Prime-order subgroups avoid this entirely.

Sources and method

Structural reference: Victor Shoup, A Computational Introduction to Number Theory and Algebra, Version 1, Cambridge University Press, 2005 — book pages 202-208.

This page carries the durable method layer only: definitions, constructions, algorithms, complexity results and selection criteria, authored originally for KEVOS. No text is transcribed or paraphrased from the source, and no numeric tables or benchmark data are reproduced — these are routed to live authoritative sources instead.

Author: Kevin Jogin. Last reviewed 2026-08-07.

Continue learning

Kernels, Images and the Isomorphism TheoremsArticle · MathematicsNEXT LESSON →The Structure of Finite Abelian GroupsArticle · MathematicsGroup Homomorphisms and IsomorphismsArticle · MathematicsRings: Definitions, Properties and ExamplesArticle · Mathematics