How statement and proof provenance work
The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.
- Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
- AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
- AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.
These labels describe origin, not correctness: citations and verification chips remain separate evidence.
Primitive Roots and Unit Groups Modulo N
1 · Prerequisites
- Binary Operations, Monoids, Groups and Subgroups
- Congruences, the Integers Modulo n and the Chinese Remainder Theorem
- Construction of the Natural Numbers
- Construction of the Real Numbers via Cauchy Sequences
- Construction of the Real Numbers via Dedekind Cuts
- Cosets, Index and Lagrange's Theorem
- Countability and Uncountability
- Cyclic Groups and Direct Products
- Divisibility, Greatest Common Divisors and Bézout's Identity
- Finite Counting, Factorials and Binomial Coefficients
- Foundations of the Real Numbers for Analysis
- Group Homomorphisms and the Isomorphism Theorems
- Normal Subgroups and Quotient Groups
- Polynomial Rings, the Division Algorithm and Roots
- Primes, Euclid's Lemma and the Fundamental Theorem of Arithmetic
- Relations, Functions, and Quotients
- Rings, Subrings, Integral Domains and Fields
- Roots, Rational Powers, and Classical Inequalities
- The Fundamental Theorem of Finite Abelian Groups
- The ZFC Axioms and the Basic Set Constructions
2 · Summary
The published unit group collects the residue classes coprime to , the unit criterion recognises them, and Euler's totient counts them. The order of a group element, its characterisation by which powers are trivial, and the fact that it divides the order of the group constrain every generator argument. The Chinese remainder theorem splits along a prime factorisation, is a field, a finite subgroup of the units of an integral domain is cyclic, and the solvability and solution count of a linear congruence are known. Coprimality, least common multiples and the -adic valuation supply the remaining arithmetic.
A primitive root modulo is a generator of the unit group, and the index relative to a chosen generator converts multiplication into addition modulo . Cyclicity of the unit group of a prime field yields primitive roots modulo a prime, Euler's criterion for the solvability of , and the exact number of its solution classes. The page then lifts a primitive root from to every odd prime power and determines the exceptional structure for . The Chinese remainder decomposition assembles the prime-power factors into the structure of the unit group modulo any , and from it the page derives the Carmichael function and its formula, classifies the moduli admitting primitive roots, and counts them.
3 · Logical flowchart
4 · Definitions, theorems and proofs
Primitive roots modulo
Definition
Let . A unit is a primitive root modulo when
where the unit group and Euler totient are those of The unit group and Euler's totient for and the order is that of The order of a finite group and the order of an element, with when no positive power of is the identity. Thus the unique class modulo is a primitive root under this definition, since both its order and are .
A unit is a primitive root modulo if and only if it generates
Statement
Let and . Then is a primitive root modulo if and only if
Facts & Assumptions
Given: A positive integer and a unit modulo .
A primitive root modulo is a unit whose order is (Primitive roots modulo ).
If has finite order , then has exactly elements (If then iff is an integer multiple of , the powers are distinct, and has exactly elements; if has infinite order then only for ).
The subgroup is the smallest subgroup containing (The subgroup generated by a subset, the cyclic subgroup , and cyclic groups).
The unit group modulo has exactly elements (The unit group and Euler's totient for ).
Proof
The unit group has elements by [L4], while [L2] gives .
If is primitive, [L1] and step 1.1 give ; since [L3] makes a subgroup of the finite unit group, the two sets are equal.
Conversely, if , step 1.1 gives , so is primitive by [L1].
The index of a unit relative to a primitive root
Definition
Let and let be a primitive root modulo . For every , the index of relative to is the unique residue class
such that whenever the class is represented by .
Existence follows from A unit is a primitive root modulo if and only if it generates , since every unit is a power of . If , then , and If then iff is an integer multiple of , the powers are distinct, and has exactly elements; if has infinite order then only for with gives ; hence the residue class is well-defined and unique.
Index calculus: products become sums and powers become scalar multiples modulo
Statement
Let be a primitive root modulo . For units modulo and ,
in .
Facts & Assumptions
Given: A primitive root modulo , units , and an integer .
The index of a unit is its unique exponent class modulo relative to (The index of a unit relative to a primitive root).
Group powers satisfy and (Exponent laws in a group: and for all , and when and commute).
For an element of order , if and only if (If then iff is an integer multiple of , the powers are distinct, and has exactly elements; if has infinite order then only for ).
Proof
Choose integers representing and , so and .
By [L2], and .
Applying the uniqueness in [L1], equivalently [L3], to step 2.1 gives the two asserted congruences modulo .
In a cyclic group of order , has order
Statement
Let be cyclic of finite order . For every integer ,
Facts & Assumptions
Given: A generator of a cyclic group of order and an integer .
The order of an element is the least positive exponent giving the identity (The order of a finite group and the order of an element, with when no positive power of is the identity).
Since , one has exactly when (If then iff is an integer multiple of , the powers are distinct, and has exactly elements; if has infinite order then only for ).
for every integer (Exponent laws in a group: and for all , and when and commute).
Put ; then divides both and (Common divisor, and the greatest common divisor , with the convention ).
After dividing two integers by their nonzero greatest common divisor, the resulting quotients are coprime (If is nonzero then and are coprime).
If and , then (If and then ; and if , and then ).
Proof
Since , the common divisor is nonzero. Write and ; [L5] gives .
By [L2] and [L3], is equivalent to , hence to .
By [L6] and , the condition in step 2.1 is equivalent to .
Thus the least positive with is , which is the asserted order by [L1].
The generators of a cyclic group of order are the with , so there are of them
Statement
Let be cyclic of order . The generators of are exactly the elements with , for taken modulo . Consequently has generators.
Facts & Assumptions
Given: A cyclic group of finite order .
For of finite order , the powers are pairwise distinct and , so is finite with (If then iff is an integer multiple of , the powers are distinct, and has exactly elements; if has infinite order then only for ).
The unit classes modulo are exactly the classes represented by integers coprime to (For , is a unit if and only if ).
There are units modulo (The unit group and Euler's totient for ).
Proof
By [L2], and . Since and is finite, generates exactly when , that is exactly when . By [L1] this says , equivalently .
By [L2] the powers are pairwise distinct, so distinct exponent classes modulo give distinct powers of .
By [L3] and [L4], exactly exponent classes satisfy the condition in step 1.1, proving the count.
A direct product of two finite cyclic groups is cyclic if and only if their orders are coprime
Statement
If and are finite cyclic groups of orders , then is cyclic if and only if .
Facts & Assumptions
Given: Cyclic groups and .
The external direct product uses componentwise multiplication (The external direct product with componentwise multiplication) and is a group ( is a group with identity , coordinatewise inverses, and homomorphic coordinate projections).
A power of an element of order is the identity exactly when its exponent is divisible by (If then iff is an integer multiple of , the powers are distinct, and has exactly elements; if has infinite order then only for ).
is the least positive common multiple of and (Common multiple, and the least common multiple , taken to be when or ).
For positive integers , (Every common multiple of and is a multiple of , and ).
Proof
For with coordinate orders and , [L1] and [L2] show that exactly when both and ; its order is therefore by [L3].
If , [L4] and step 1.1 give , so generates the product of order .
Conversely, if the product is cyclic, a generator has order . Its coordinate orders divide and , so step 1.1 gives ; hence , and [L4] gives .
For every prime , the multiplicative group is cyclic
Statement
For every prime , the group is cyclic of order .
Facts & Assumptions
Given: A prime .
is a field (For every prime , the two operations on make it a field).
Every field is an integral domain (Every field is a commutative ring with ; it is an integral domain, and it is a commutative division ring).
Every finite subgroup of the unit group of an integral domain is cyclic (Every finite subgroup of the unit group of an integral domain is cyclic).
is finite of order (The unit group and Euler's totient for ).
For prime , (, and for every prime ).
Proof
By [L1] and [L2], is an integral domain.
By [L4], its entire unit group is a finite subgroup of its units, so [L3] makes it cyclic; [L4] and [L5] give its order. This includes , when the group is trivial.
Every prime modulus admits a primitive root
Statement
Every prime admits a primitive root modulo .
Facts & Assumptions
Given: A prime .
The unit group is a finite cyclic group (For every prime , the multiplicative group is cyclic).
A unit is a primitive root exactly when it generates the unit group (A unit is a primitive root modulo if and only if it generates ).
Proof
Choose a generator of the cyclic group in [L1]; such a generator exists also when , since the one-element group is cyclic.
By [L2], the chosen is a primitive root modulo .
For prime and , the congruence has nonzero solutions
Statement
Let be prime and . The congruence has exactly nonzero residue-class solutions. In particular, it has exactly solutions when .
Facts & Assumptions
Given: A prime and a positive integer .
is cyclic of order (For every prime , the multiplicative group is cyclic).
If has order , then exactly when , and its powers with exponents modulo are distinct (If then iff is an integer multiple of , the powers are distinct, and has exactly elements; if has infinite order then only for ).
The greatest common divisor divides both and (Common divisor, and the greatest common divisor , with the convention ).
Dividing two integers by their nonzero greatest common divisor gives coprime quotients (If is nonzero then and are coprime).
If two integers are coprime and one divides a product containing the other, it divides the remaining factor (If and then ; and if , and then ).
Proof
Choose a generator from [L1]. Every nonzero class is uniquely with modulo .
Put . Since , is nonzero; write , , and use [L4] to obtain .
By [L2], exactly when , which by step 1.2 and [L5] is equivalent to .
Modulo , precisely the classes satisfy step 2.1, proving the count. If then .
Euler's criterion: if has a primitive root, , and , then is solvable if and only if
Statement
Let admit a primitive root, let , and let . Put . Then
is solvable if and only if
Facts & Assumptions
Given: Integers , , and satisfying the stated hypotheses, and .
A primitive root has order (Primitive roots modulo ).
Relative to a primitive root , every unit has a unique index modulo (The index of a unit relative to a primitive root).
Index calculus turns a power into scalar multiplication of its index (Index calculus: products become sums and powers become scalar multiples modulo ).
The congruence is solvable exactly when (For , is solvable exactly when , and then has exactly solution classes modulo ).
A greatest common divisor divides both of its arguments (Common divisor, and the greatest common divisor , with the convention ).
A class modulo is a unit exactly when its representative is coprime to (For , is a unit if and only if ).
Proof
Choose a primitive root , put , and let . By [L6], is a unit. If , then , so every solution is also a unit.
Again by [L1] and [L3], exactly when . Since by [L5], this is equivalent to .
By [L2] and [L3], writing a candidate unit as turns in the unit group into . By [L4], this is solvable exactly when .
Steps 2.1 and 1.2 give the claimed biconditional. The argument also covers and , where .
If has a primitive root, , , and is solvable, then it has exactly solution classes modulo
Statement
Let admit a primitive root, let , and let . If is solvable, then it has exactly
solution classes modulo .
Facts & Assumptions
Given: The stated hypotheses and the solvability of .
Relative to a primitive root , every unit has a unique index modulo (The index of a unit relative to a primitive root).
The index of is congruent to modulo (Index calculus: products become sums and powers become scalar multiples modulo ).
For and , the congruence is solvable exactly when , and when solvable it has exactly solution classes in (For , is solvable exactly when , and then has exactly solution classes modulo ).
A class modulo is a unit exactly when its representative is coprime to (For , is a unit if and only if ).
Proof
Choose a primitive root , put , and let .
By [L4], is a unit. If , then , so every solution is a unit.
By [L1], exponent classes modulo parametrise unit classes bijectively as , and by [L2] the solutions correspond exactly to the classes satisfying .
Here , so [L3] applies; the latter congruence is solvable by the Given, so [L3] gives exactly classes; the bijection in step 2.1 preserves this count, including when or .
For an odd prime and a primitive root modulo , at least one of and is primitive modulo
Statement
Let be an odd prime and let the integer represent a primitive root modulo . Then at least one of and represents a primitive root modulo .
Facts & Assumptions
Given: An odd prime and a primitive root modulo .
A class is a primitive root when its order equals the totient of the modulus (Primitive roots modulo ), and it is a unit exactly when its representative is coprime to the modulus (For , is a unit if and only if ).
The order of an element of a finite group divides the group order (The order of every element of a finite group divides the order of the group), and (For a prime and , ).
If an element has finite order , a power is the identity exactly when its exponent is divisible by (If then iff is an integer multiple of , the powers are distinct, and has exactly elements; if has infinite order then only for ).
Group powers satisfy the usual addition and iteration laws (Exponent laws in a group: and for all , and when and commute).
Congruence modulo means divisibility of the difference by (Congruence modulo an integer: when , including the moduli and ).
Mathematical induction holds on (The principle of mathematical induction).
Proof
Both and are units modulo by [L1] and reduce to the same primitive root modulo . If either has order modulo , reduction modulo makes its th power , so by [L1] and [L3]. By [L2], also divides , and hence is either or .
For every , induction using the product law gives .
Assume first that . Then step 1.1 excludes order , so has order and is primitive modulo .
Assume instead that . Step 1.2 gives ; the second term is not divisible by , since neither nor is divisible by . Thus , and step 1.1 makes primitive.
The two cases are exhaustive, and in each one of the two representatives is primitive modulo .
For odd prime and ,
Statement
If is an odd prime, , and , then
Facts & Assumptions
Given: An odd prime , an integer , and .
Binomial coefficients count subsets and have their usual boundary values (The set of -element subsets and the binomial coefficient ).
Pascal's rule holds for binomial coefficients (Pascal's rule , and the hockey-stick identity ), and the closed factorial formula holds when the lower index does not exceed the upper one ( for ; hence , the quotient is a natural number, and ).
If a prime divides a product, it divides one factor (Euclid's lemma: if is prime and then or ); a divisor coprime to one factor may be cancelled from a divisibility relation (If and then ; and if , and then ).
Congruence modulo an integer is divisibility of the difference (Congruence modulo an integer: when , including the moduli and ).
Mathematical induction holds on (The principle of mathematical induction).
Proof
Induction on the exponent using [L2] gives the binomial expansion in .
For , the identity follows from [L2]. Since , [L3] implies .
Substitute in step 1.1. For , step 1.2 makes the th term divisible by , hence by ; the final term is divisible by , and because and .
Modulo only the constant and linear terms remain, namely , which is the asserted congruence by [L4].
For odd prime , , and , the class of has order modulo
Statement
Let be an odd prime and with . For every , the class of in has order .
Facts & Assumptions
Given: An odd prime , an integer not divisible by , and .
The units modulo a positive modulus form a finite group (The unit group and Euler's totient for ), and a class is a unit exactly when its representative is coprime to the modulus (For , is a unit if and only if ).
If and , then (For odd prime and , ).
Group powers satisfy (Exponent laws in a group: and for all , and when and commute).
means but (For a prime and a nonzero integer : and ; holds exactly for ; exactly when ; ; and ), and valuations add on nonzero products ( for nonzero integers , and whenever , and are all nonzero).
Mathematical induction holds on (The principle of mathematical induction).
If an element has finite order , its th power is the identity exactly when (If then iff is an integer multiple of , the powers are distinct, and has exactly elements; if has infinite order then only for ).
Proof
For , has valuation .
Assume with . Applying [L2] with and using [L3] gives with .
Any common prime divisor of and would be , but . Thus is coprime to , so [L1] places its class in .
By induction, for every .
By step 1.3 the order is defined in the finite unit group. Step 2.1 at and [L6] show that it divides . If it were a proper divisor of this prime power, it would divide when , so [L6] would make the nd power equal to , contradicting step 2.1 at ; for the class is already the identity and has order .
For every odd prime and , is cyclic of order
Statement
For every odd prime and integer , the group is cyclic of order
Facts & Assumptions
Given: An odd prime and an integer .
Every prime modulus admits a primitive root (Every prime modulus admits a primitive root), and from a primitive root modulo an odd prime , at least one of and is primitive modulo (For an odd prime and a primitive root modulo , at least one of and is primitive modulo ).
If , the class has order modulo (For odd prime , , and , the class of has order modulo ).
For an element of finite order , exactly when (If then iff is an integer multiple of , the powers are distinct, and has exactly elements; if has infinite order then only for ).
The order of an element of a finite group divides the group order (The order of every element of a finite group divides the order of the group).
If two coprime integers divide an integer, then their product divides it (If and then ; and if , and then ).
Proof
Choose a primitive root modulo by [L1], and replace its integer representative by the lift supplied there so that it is primitive modulo . Reduction modulo gives for some integer , while primitivity modulo and [L4] show .
Reduction modulo shows that the order of modulo is divisible by , while [L2] applied to step 1.1 shows that the order of is .
The cyclic subgroup generated by lies in that generated by , so [L5] and step 2.1 make divide the order of . That order is also divisible by by step 2.1. These two divisors are coprime, so [L6] makes their product divide the order; conversely [L3] and [L5] make the order divide . Therefore it equals that group order.
Thus generates the entire unit group, proving cyclicity; when the same argument reduces to the original primitive root modulo .
An odd prime power has exactly primitive roots
Statement
If is an odd prime and , then there are exactly primitive roots modulo .
Facts & Assumptions
Given: An odd prime and .
is cyclic of order (For every odd prime and , is cyclic of order ).
Primitive roots are exactly generators of the unit group (A unit is a primitive root modulo if and only if it generates ).
A cyclic group of order has generators (The generators of a cyclic group of order are the with , so there are of them).
Proof
By [L1] and [L2], the primitive roots modulo are the generators of a cyclic group of order .
Applying [L3] to step 1.1 gives primitive roots.
For , the class of has order modulo
Statement
For every integer , the residue class of has order in .
Facts & Assumptions
Given: An integer .
The order is the least positive exponent giving the identity (The order of a finite group and the order of an element, with when no positive power of is the identity), and an element of order has exactly when (If then iff is an integer multiple of , the powers are distinct, and has exactly elements; if has infinite order then only for ).
Group powers satisfy and (Exponent laws in a group: and for all , and when and commute).
means and (For a prime and a nonzero integer : and ; holds exactly for ; exactly when ; ; and ), and valuations add on nonzero products ( for nonzero integers , and whenever , and are all nonzero).
Mathematical induction holds on (The principle of mathematical induction).
A residue class is a unit exactly when its representative is coprime to the modulus (For , is a unit if and only if ).
Proof
The odd integer is coprime to , so [L5] puts its class in the unit group. At , , so its -adic valuation is .
Assume . Since , the factor is congruent to modulo and has valuation . The factorisation and [L3] therefore give valuation .
By induction, for all .
Step 2.1 with gives , while the case gives .
By [L1], the order divides ; every proper divisor of this prime power divides , which step 3.1 excludes. Hence the order is .
For , , generated uniquely as
Statement
For every ,
More precisely, every unit has a unique representation with and modulo .
Facts & Assumptions
Given: An integer .
The class of has order modulo (For , the class of has order modulo ).
A direct product of finite groups has the product of their orders (For finite groups and , ).
The units modulo are the classes represented by odd integers (For , is a unit if and only if ).
Multiplication modulo is commutative and restricts to the unit group (The unit group and Euler's totient for ).
A bijective group homomorphism is a group isomorphism (Group isomorphisms, automorphisms and the set ).
Proof
The class of has order , and [L1] gives order for .
Every power of is modulo , whereas is modulo ; hence .
The map given by is a homomorphism by [L5], and step 1.2 makes it injective.
Its domain has elements by [L3], equal to the size of the target by [L2]; thus it is bijective.
By [L6] the map is an isomorphism, and its bijectivity is exactly the asserted unique representation.
For pairwise coprime positive moduli, the Chinese remainder bijection restricts to an isomorphism of unit groups
Statement
Let be pairwise coprime positive integers and . The Chinese remainder map restricts to a group isomorphism
For the empty list this identifies the two one-element groups.
Facts & Assumptions
Given: The stated finite pairwise-coprime list and its product .
The Chinese remainder map is a bijection preserving multiplication and identity, including for the empty list (Chinese remainder theorem for a finite pairwise-coprime list: simultaneous residues determine one class modulo the product, and the resulting bijection preserves addition and multiplication).
For , the invertible classes of form a group under multiplication (The unit group and Euler's totient for ).
A bijective group homomorphism is an isomorphism (Group isomorphisms, automorphisms and the set ).
Proof
By [L1], the CRT map preserves multiplication and identity. If a class has an inverse, its image has the coordinatewise image of that inverse.
Conversely, if every coordinate is a unit, take the tuple of coordinatewise inverses and use surjectivity in [L1] to lift it; multiplicativity shows that the lift is an inverse of the original class.
Steps 1.1 and 1.2 show that [L1] restricts to a bijective homomorphism between the displayed unit groups.
It is therefore an isomorphism by [L3], and [L1] supplies the empty-list case.
The unit group modulo is the product of its odd-prime cyclic factors and its explicit -power factor
Statement
Let have prime-power factorisation , where the are distinct odd primes and . Then
where and are trivial, , and
For the product is empty and hence trivial.
Facts & Assumptions
Given: A positive integer and its displayed prime-power factorisation.
CRT gives an isomorphism from a unit group to the product of the unit groups of pairwise coprime factors (For pairwise coprime positive moduli, the Chinese remainder bijection restricts to an isomorphism of unit groups).
For odd , is cyclic of order (For every odd prime and , is cyclic of order ).
For , (For , , generated uniquely as ).
Given an injective list of primes containing every prime divisor of , one has , the exponents being determined by (For and any injective list of primes containing every prime divisor of , one has ; the exponents are determined by , and for every prime outside the list). The Given of this theorem supplies exactly such a list, namely the primes of the displayed factorisation.
and by the prime-power formula (For a prime and , ).
The totient is the cardinality of the unit group: (The unit group and Euler's totient for ).
Every group of prime order is cyclic (A finite group of prime order is cyclic and every nonidentity element generates it).
Proof
By [L4], the displayed factors are pairwise coprime, so [L1] decomposes the unit group into its -power factor and the odd-prime-power factors.
Substitute [L2] for every odd factor and [L3] for the -power factor when .
If there is no -factor. If , then [L5] gives and [L7] reads that as , so the unit group is trivial. If , then [L5] and [L7] give , prime order, so [L6] makes it cyclic.
Steps 2.1 and 2.2 give the asserted decomposition. When , [L1] identifies the empty product with the one-element unit group.
Carmichael's function as the exponent of
Definition
For , Carmichael's function is the exponent of the finite unit group:
The unit group is finite by The unit group and Euler's totient for , and its exponent exists by The exponent of a finite group. In particular , since the unit group modulo is trivial.
Carmichael's is the maximum order of a unit modulo
Statement
For every there is a unit modulo of order , and every unit has order dividing . Thus is the maximum element order in .
Facts & Assumptions
Given: A positive integer .
is the exponent of the unit group (Carmichael's function as the exponent of ).
The unit group is a finite direct product of cyclic groups with the explicit -power factors described in The unit group modulo is the product of its odd-prime cyclic factors and its explicit -power factor.
An element of order is killed precisely by the multiples of (If then iff is an integer multiple of , the powers are distinct, and has exactly elements; if has infinite order then only for ).
For both nonzero, is the least positive common multiple of and ; if or then the only common multiple is and . It is defined for two arguments only (Common multiple, and the least common multiple , taken to be when or ).
Every common multiple of and is a multiple of (Every common multiple of and is a multiple of , and ).
If and have finite orders , then in the external direct product (If and have finite orders and , then in ).
Proof
In the decomposition [L2], choose a generator in every cyclic factor, including generators of both cyclic factors in the exceptional -power component.
Let be the orders of the chosen generators and define the iterated least common multiple from the binary operation of [L4] by and ; [L4] supplies only the binary operation, so this recursion is what gives the list value. Induction on shows a positive satisfies exactly when for every : at both sides always hold, and holds exactly when and , by [L5] one way and because both divide the other. By [L3] a power kills the product exactly when it is divisible by every , so the exponent of the product is .
The tuple of chosen generators has order : iterating [L6] over the factors gives of the tuple as the same iterated least common multiple, with the empty product contributing the identity of order .
Steps 2.1 and 1.2 produce a unit of order , while [L1] makes every element order divide . The empty product at gives the identity of order .
Carmichael's function on prime powers and its least-common-multiple formula
Statement
Carmichael's function satisfies , and for prime powers,
If is its prime-power factorisation, then
Here of a finite list is the iterated binary least common multiple of Common multiple, and the least common multiple , taken to be when or , which defines that operation for two arguments only: set and . In particular the empty least common multiple is , which is the value taken at .
Facts & Assumptions
Given: A positive integer and its prime-power factorisation.
is the exponent of the unit group (Carmichael's function as the exponent of ).
The structure theorem gives every prime-power factor of the unit group explicitly (The unit group modulo is the product of its odd-prime cyclic factors and its explicit -power factor).
An exponent kills an element precisely when it is divisible by that element's order (If then iff is an integer multiple of , the powers are distinct, and has exactly elements; if has infinite order then only for ).
For both nonzero, is the least positive common multiple of and ; if or then the only common multiple is and . It is defined for two arguments only (Common multiple, and the least common multiple , taken to be when or ).
Every common multiple of and is a multiple of (Every common multiple of and is a multiple of , and ).
Proof
Reading the exponents of the cyclic factors in [L2] gives the displayed odd-prime and -power formulas, as well as .
Let be the factor exponents and as defined in the Statement from the binary operation of [L4]. Induction on shows that a positive integer satisfies exactly when for every : at both sides hold always, since and the condition is vacuous; and divides exactly when and , by [L5] for one direction and because and both divide for the other. In a finite direct product a power kills every tuple exactly when it is divisible by the exponent of each factor, by [L1] and [L3]; so the least such positive power is .
Apply step 1.2 to the CRT decomposition in [L2] to obtain the formula for general , including the empty product at .
If , then
Statement
If and , then
Facts & Assumptions
Given: Integers and with .
is the exponent of (Carmichael's function as the exponent of ).
The class of is a unit exactly when (For , is a unit if and only if ).
Every element of a finite group raised to its exponent is the identity (The exponent of a finite group).
Proof
By [L2], the class of lies in the unit group modulo .
By [L1] and [L3], its th power is the identity class, which is the asserted congruence. For , both sides are the unique class and .
For odd , primitive-root existence is equivalent for and
Statement
If is odd, then admits a primitive root if and only if admits a primitive root.
Facts & Assumptions
Given: An odd positive integer .
CRT restricts to an isomorphism of unit groups for coprime positive moduli (For pairwise coprime positive moduli, the Chinese remainder bijection restricts to an isomorphism of unit groups).
A modulus admits a primitive root exactly when its unit group is cyclic (A unit is a primitive root modulo if and only if it generates ).
For a prime , ; in particular (, and for every prime ).
The totient is the cardinality of the unit group: (The unit group and Euler's totient for ).
Proof
Since is odd, [L1] gives .
By [L3], , and by [L4] that number is , so the first factor is trivial and the right-hand side is isomorphic to .
Therefore the two unit groups are cyclic simultaneously, and [L2] converts this into the asserted equivalence of primitive-root existence.
A positive integer admits a primitive root exactly when it is , , , , or for an odd prime
Statement
A positive integer admits a primitive root if and only if
where is an odd prime and .
Facts & Assumptions
Given: A positive integer .
A primitive root exists exactly when the unit group is cyclic (A unit is a primitive root modulo if and only if it generates ).
The unit group has the prime-power product decomposition of The unit group modulo is the product of its odd-prime cyclic factors and its explicit -power factor.
A product of finite cyclic groups is cyclic exactly when the factor orders are pairwise coprime, by repeated use of A direct product of two finite cyclic groups is cyclic if and only if their orders are coprime.
Primitive-root existence is equivalent for odd and (For odd , primitive-root existence is equivalent for and ).
Proof
The unit groups for and are trivial, that for is , and [L2] makes the unit group for every odd prime power cyclic. By [L4], every twice-odd-prime-power also has a cyclic unit group.
Conversely, write . If , [L2] contains cyclic factors of orders and , which are not coprime, so [L3] makes the unit group noncyclic. If and an odd factor is present, the factor and the even-order odd-prime factor are likewise not coprime.
If two distinct odd-prime factors are present, both cyclic factor orders are even, so [L3] again makes the product noncyclic. Thus cyclicity leaves only , and .
By [L1], all moduli in the displayed list admit primitive roots.
Combining steps 2.1 and 1.3 with [L1] proves both directions, including the convention at .
A modulus with primitive roots has exactly primitive roots
Statement
If admits a primitive root, then it has exactly primitive roots.
Facts & Assumptions
Given: A positive modulus admitting a primitive root.
Primitive roots are exactly generators of the unit group (A unit is a primitive root modulo if and only if it generates ).
A cyclic group of order has generators (The generators of a cyclic group of order are the with , so there are of them).
Proof
By the Given and [L1], the unit group is cyclic of order , and its generators are exactly the primitive roots.
Applying [L2] with yields primitive roots. At this is , counting the unique class.
5 · Examples, counterexamples and false statements
None yet.
Sources
Standard references
Recommended treatments; not extraction sources.
- Peter Hackman, Elementary Number Theory, Chapter C
- William Stein, Elementary Number Theory, §2.5
- Peter Hackman, Elementary Number Theory, §C.I
- William Stein, Elementary Number Theory, Proposition 2.5.12
- William Stein, Elementary Number Theory, Lemma 2.5.7
- William Stein, Elementary Number Theory, Theorem 2.5.8
- Peter Hackman, Elementary Number Theory, Theorem C.II.1
- William Stein, Elementary Number Theory, Proposition 2.5.5
- Peter Hackman, Elementary Number Theory, Theorem C.III.1
- Peter Hackman, Elementary Number Theory, Lemma C.IV.1
- Peter Hackman, Elementary Number Theory, Lemma C.IV.5
- Peter Hackman, Elementary Number Theory, §C.IV
- Peter Hackman, Elementary Number Theory, Theorem C.IV.4
- William Stein, Elementary Number Theory, Theorem 2.5.11
- Peter Hackman, Elementary Number Theory, Theorem C.IV.8
- Peter Hackman, Elementary Number Theory, §C.V
- Peter Hackman, Elementary Number Theory, §§C.IV–C.V
- Peter Hackman, Elementary Number Theory, Definition C.V.3
- Peter Hackman, Elementary Number Theory, Lemma C.V.5
- Peter Hackman, Elementary Number Theory, Theorem C.V.6
- Peter Hackman, Elementary Number Theory, Lemma C.I.6
- Peter Hackman, Elementary Number Theory, Theorem C.IV.10