Modular Arithmetic and Group Theory
- 61Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
- spaceFlip card
- KI knew it
- DI didn't know it
- ←Previous card
- →Next card
When does a residue a modulo n have a multiplicative inverse?
Exactly when gcd(a,n)=1. Bézout's identity then gives integers s,t such that sa+tn=1, so sa≡1(modn).
Or swipe the card
61 cards
When does a residue a modulo n have a multiplicative inverse?
Exactly when gcd(a,n)=1. Bézout's identity then gives integers s,t such that sa+tn=1, so sa≡1(modn).
What does it mean for a to have a multiplicative inverse modulo n?
There is a residue b such that ab≡1(modn).
What does Bézout's identity say when gcd(a,n)=1, and how does it yield an inverse?
There are integers s,t with sa+tn=1. Reducing modulo n gives sa≡1(modn), so s is an inverse of a.
For prime p, which residues modulo p have multiplicative inverses?
Every nonzero residue, since each is relatively prime to p.
What is Zn∗ under multiplication modulo n?
The set of residues a modulo n satisfying gcd(a,n)=1, with multiplication modulo n.
Why is Zn∗ a group under multiplication modulo n?
Products of residues coprime to n remain coprime to n, multiplication is associative, 1 is the identity, and each element has an inverse modulo n.
When is the set of nonzero residues modulo n a group under multiplication?
Exactly when n is prime. If n is composite, a nonzero residue sharing a factor with n has no multiplicative inverse.
Why do the nonzero residues modulo a composite n fail to form a multiplicative group?
Some nonzero residue a has gcd(a,n)>1, so it has no multiplicative inverse modulo n.
What is the identity for addition modulo n, and what is the identity for multiplication modulo n?
The additive identity is 0; the multiplicative identity is 1.
What is the order of the multiplicative group of nonzero residues modulo a prime p?
It has p−1 elements, since it contains every residue except 0.
What are the four defining properties of a group?
Closure, associativity, an identity element, and an inverse for every element.
What does closure mean for a set G with operation ⋆?
For every a,b∈G, the result a⋆b is also in G.
What does associativity mean for a group operation?
For all a,b,c∈G, (a⋆b)⋆c=a⋆(b⋆c).
What is an identity element in a group?
An element e such that a⋆e=e⋆a=a for every a in the group.
What is an inverse in a group?
For each a∈G, an element a−1∈G satisfies a⋆a−1=a−1⋆a=e.
What is an abelian group?
A group whose operation is commutative: a⋆b=b⋆a for all group elements.
Why are the integers under addition an abelian group?
Integer addition is closed, associative, and commutative; 0 is the identity, and the inverse of each integer a is −a.
Why are the integers under multiplication not a group?
Most integers do not have multiplicative inverses among the integers; for example, 2 would require the inverse 21. Also, 0 has no inverse.
Why do the nonzero rational numbers under multiplication form an abelian group?
Multiplication is closed, associative, and commutative; 1 is the identity, and each nonzero rational a has the rational inverse 1/a.
What is Zn under modular addition, and why is it a finite group?
It is the set of residues modulo n under addition modulo n. The operation is closed and associative, 0 is the identity, and each residue has an additive inverse.
What is a subgroup H of a group G?
A subset H⊆G that forms a group under the same operation as G.
What extra closure condition must hold for a subset H to be a subgroup?
If a,b∈H, then a⋆b must lie in H, not merely in G.
What must be true of inverses for H to be a subgroup of G?
For every a∈H, its inverse must also belong to H.
State Lagrange's theorem for a finite group G and subgroup H.
The order of H divides the order of G: ∣H∣∣∣G∣.
What restriction does Lagrange's theorem place on subgroup sizes?
Every subgroup's order must be a divisor of the order of the finite group. For example, a group of order 6 cannot have a subgroup of order 4.
What is a left coset of H in G?
For x∈G, the left coset xH is {x⋆h:h∈H}.
How are left cosets used to prove Lagrange's theorem?
They partition G into disjoint pieces, each having the same size as H. Thus ∣G∣ is a whole-number multiple of ∣H∣.
Why does every coset xH have the same size as H?
The map h↦x⋆h is one-to-one: if x⋆h1=x⋆h2, left-multiplying by x−1 and using associativity gives h1=h2. It also maps every element of H into xH.
Why must two left cosets that intersect be the same coset?
If xi⋆h1=xj⋆h2, then xj=xi⋆h1⋆h2−1. Since h1⋆h2−1∈H, this shows xjH⊆xiH; the cosets are therefore equal.
How can cosets be selected to cover a finite group without overlap?
Repeatedly choose an element not yet covered and take its coset. Cosets that intersect are equal, so each newly chosen coset is disjoint from the previous ones; the process ends when all of G is covered.
In Z7∗ under multiplication, what is the subgroup generated by 2?
It is {1,2,4}, since the successive powers of 2 modulo 7 are 2,4,1.
Why is {1,2,4} a subgroup of Z7∗?
Its elements are powers of 2 modulo 7; multiplying powers adds exponents modulo the cycle, and the set includes the identity 1 and inverses (the inverses of 2 and 4 are each other).
What are the orders of Z7∗ and its subgroup {1,2,4}, and how do they illustrate Lagrange's theorem?
Their orders are 6 and 3, respectively, and 3 divides 6.
State Fermat's little theorem in its prime-modulus form.
If p is prime and p∤a, then ap−1≡1(modp).
How can Fermat's little theorem give the multiplicative inverse of a modulo prime p?
For p∤a, ap−1≡1(modp), so ap−2 is an inverse: a⋅ap−2≡1(modp).
How is the least positive exponent k with ak≡1(modp) shown to exist when p∤a?
Among sufficiently many powers of a, two residues must coincide by the pigeonhole principle. If ai≡aj(modp) with i<j, cancel the invertible ai to obtain aj−i≡1(modp).
What subgroup is formed by powers of a modulo prime p, and what is its order?
The residues generated by powers of a form a subgroup of Zp∗. If k is the least positive exponent with ak≡1(modp), the subgroup has order k.
How does Lagrange's theorem help prove Fermat's little theorem?
The subgroup generated by a has order k, so Lagrange gives k∣p−1. Writing p−1=ck yields ap−1=(ak)c≡1(modp).
What group-theoretic fact explains why Fermat's little theorem uses the exponent p−1?
The nonzero residues modulo prime p form a group of order p−1, and the order of the subgroup generated by a divides that group order.
What equivalent divisibility statement follows from Fermat's little theorem?
For prime p, p divides ap−a for every integer a; for p∤a, this follows by multiplying ap−1≡1(modp) by a.
How can the number of strings of length p over an alphabet of size a be counted?
There are ap such strings, because each of the p positions has a choices.
In the necklace argument for prime length p, how many strings correspond to a non-monochromatic necklace?
Exactly p. A non-monochromatic necklace of prime length has p distinct rotations.
Why does a monochromatic necklace of length p have only one distinct rotation?
Every position has the same bead, so rotating the necklace leaves it unchanged.
How many monochromatic necklaces are there for an alphabet with a bead types?
There are a, one for each possible bead type.
How does grouping strings into necklaces show that p∣ap−a when p is prime?
The a monochromatic strings are fixed under rotation. All other ap−a strings fall into rotation classes of size p, so p divides ap−a.
In the example of binary necklaces of length 5, how many strings are there, and which necklaces have fewer than five distinct rotations?
There are 25=32 strings. Only the all-red and all-blue necklaces have fewer than five distinct rotations; each has just one.
State Euler's theorem for m=pq, where p and q are distinct primes.
If gcd(a,m)=1, then a(p−1)(q−1)≡1(modm).
What is the order of the multiplicative group Zpq∗ when p and q are distinct primes?
It is (p−1)(q−1).
How is the size of Zpq∗ counted?
Among the pq−1 nonzero residues, exclude the multiples of p and the multiples of q. There are q−1 multiples of p and p−1 multiples of q, giving (pq−1)−(q−1)−(p−1)=(p−1)(q−1) residues coprime to pq.
Why are residues coprime to m the relevant elements for Euler's theorem?
They are exactly the residues with multiplicative inverses modulo m, and they form the group Zm∗.
How does the group-theoretic proof of Euler's theorem parallel the proof of Fermat's little theorem?
For gcd(a,m)=1, powers of a return to 1 at a least positive exponent k. They form a subgroup, so k divides ∣Zm∗∣=(p−1)(q−1), implying a(p−1)(q−1)≡1(modm).
Why does Euler's theorem use (p−1)(q−1) rather than m−1 for m=pq?
The group of invertible residues modulo m has order (p−1)(q−1), not m−1. Lagrange's theorem relates powers of an element to this group order.
What cryptographic role is associated with the quantity (p−1)(q−1) in the content?
It is identified as a key quantity for RSA encryption, because it is the order of the multiplicative group modulo pq and appears in Euler's theorem.
What is a field, in terms of its two operations?
A set with addition and multiplication such that addition makes the whole set an abelian group, the nonzero elements form an abelian group under multiplication, and multiplication distributes over addition.
What are the additive and multiplicative identities in a field?
The additive identity is 0; the multiplicative identity is 1, which belongs to the nonzero elements.
What does the distributive property require in a field?
For all a,b,c in the field, a(b+c)=ab+ac.
What is the root bound for a polynomial of degree d over a field?
A polynomial of degree d≥1 with coefficients in a field has at most d roots in that field.
What does it mean for x to be a root of a polynomial over a field?
The value x belongs to the field and evaluating the polynomial at x gives 0.
Does the bound of at most d roots apply only to real-valued polynomials?
No. The degree-d root bound holds over any field, including finite fields.
What is the basic threshold goal of secret sharing described in the content?
Distribute a secret among n people so that any k can recover it, but fewer than k cannot.
How can polynomials over finite fields be used in secret sharing?
Use the secret as the polynomial's constant coefficient and give each participant a polynomial evaluation at a point. A sufficient number of points allows reconstruction by interpolation.

Ask anything
We've read this whole study set, so questions about it get the best answers.