Modular Arithmetic and Group Theory
- 63Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
What does it mean for an element to have a multiplicative inverse modulo n?
63 questions
- 1
What does it mean for an element to have a multiplicative inverse modulo n?
Model answer
An element a has a multiplicative inverse modulo n if there is an element b such that ab≡1(modn).
Explanation
Multiplying the element by its inverse gives the multiplicative identity modulo n.
- 2
What condition on a and n determines whether a has a multiplicative inverse modulo n?
Model answer
It has an inverse exactly when gcd(a,n)=1.
Explanation
If the greatest common divisor is 1, an inverse exists; if it is not 1, no inverse exists.
- 3
How does an equation involving sa+tn show that a has an inverse modulo n?
Model answer
If integers s,t satisfy sa+tn=1, then reducing modulo n gives sa≡1(modn), so s is an inverse of a.
Explanation
The term tn is divisible by n and therefore is congruent to 0 modulo n.
- 4
Why does every nonzero element modulo a prime p have a multiplicative inverse?
Model answer
For nonzero a modulo p, gcd(a,p)=1, so the inverse criterion guarantees an inverse.
Explanation
A prime has no positive divisors other than 1 and itself, and a nonzero residue is not divisible by p.
- 5
Why can a nonzero element modulo a composite number fail to have an inverse?
Model answer
It can share a factor greater than 1 with the modulus, so its greatest common divisor with the modulus is not 1.
Explanation
The inverse criterion requires the element and modulus to be relatively prime.
- 6
What is a group?
Model answer
A group is a set together with a binary operation that satisfies closure, associativity, identity, and inverse properties.
Explanation
The group consists of both the elements and the operation governing how they combine.
- 7
What does closure mean for a group operation?
Model answer
Combining any two elements of the group produces another element of the same group.
Explanation
Closure ensures the operation is well-defined within the set.
- 8
State the associativity property for a group operation ⋆.
Model answer
For all group elements a,b,c, (a⋆b)⋆c=a⋆(b⋆c).
Explanation
Associativity means changing the placement of parentheses does not change the result.
- 9
What is an identity element in a group?
Model answer
It is an element e such that combining it with any element on either side leaves that element unchanged.
Explanation
Thus, a⋆e=e⋆a=a for every group element a.
- 10
What does the inverse property require in a group?
Model answer
Every element a must have an inverse a−1 such that combining them in either order gives the identity.
Explanation
The condition is a⋆a−1=a−1⋆a=e.
- 11
When is a group called abelian?
Model answer
A group is abelian when its operation is commutative: a⋆b=b⋆a for all elements.
Explanation
Commutativity is an additional property, not one of the four basic group axioms.
- 12
Why does the set alone not determine whether a structure is a group?
Model answer
Whether it is a group depends on both the set and the chosen operation.
Explanation
The same set can satisfy the group axioms under one operation but fail them under another.
- 13
Can a group have infinitely many elements? Give an example from the content.
Model answer
Yes. The integers under addition form an infinite group.
Explanation
The group definition allows potentially infinite sets.
- 14
Why do the integers under addition form an abelian group?
Model answer
Integer addition is closed and associative, 0 is the identity, each integer has its negative as an inverse, and addition is commutative.
Explanation
These facts verify all four group axioms and the extra property of commutativity.
- 15
Why are the integers under multiplication not a group?
Model answer
They lack inverses for all elements: 0 has no multiplicative inverse, and the inverse of 2 is not an integer.
Explanation
A group requires every element to have an inverse within the set.
- 16
Why do the nonzero rational numbers under multiplication form a group?
Model answer
They are closed under multiplication, have identity 1, and every nonzero rational has a rational reciprocal; multiplication is associative and commutative.
Explanation
Removing 0 ensures that every element has a multiplicative inverse in the set.
- 17
What is the group structure of the two residues modulo 2 under modular addition?
Model answer
The residues are even and odd classes, and addition modulo 2 keeps the result within those two classes.
Explanation
The sums of two even classes or two odd classes are even, while an even plus an odd is odd.
- 18
For prime n, why do the nonzero residues modulo n form a group under multiplication?
Model answer
Multiplication modulo n is closed and associative, 1 is the identity, and every nonzero residue has an inverse because its greatest common divisor with n is 1.
Explanation
The inverse condition is the key property that would fail for some nonzero residues when the modulus is composite.
- 19
Why do the nonzero residues modulo a composite n fail to form a group under multiplication?
Model answer
At least one nonzero residue shares a factor with n and therefore has no multiplicative inverse modulo n.
Explanation
A group must provide an inverse for every element.
- 20
Define Zn∗ as used for multiplication modulo n.
Model answer
Zn∗ is the set of residues a modulo n for which gcd(a,n)=1.
Explanation
It keeps precisely the residues that have multiplicative inverses modulo n.
- 21
Why does Zn∗ form a group under multiplication modulo n?
Model answer
Its elements have multiplicative inverses, and multiplication modulo n satisfies closure, associativity, and the identity property on this set.
Explanation
Restricting to residues relatively prime to n removes the inverse failures found among all nonzero residues.
- 22
What is a subgroup?
Model answer
A subgroup is a subset of a group that forms a group under the same operation.
Explanation
The subset must itself satisfy the group properties, not merely be contained in the larger group.
- 23
What stronger closure condition must a subgroup satisfy?
Model answer
If a,b belong to the subgroup H, then a⋆b must also belong to H.
Explanation
Closure in the larger group only guarantees a result in G; subgroup closure requires the result to stay in H.
- 24
What inverse condition must hold for a subset to be a subgroup?
Model answer
For every a in the subset H, its inverse in the larger group must also belong to H.
Explanation
The subgroup must contain its own inverses rather than requiring elements outside H.
- 25
What is the order of a finite group?
Model answer
The order of a finite group is its number of elements.
Explanation
It is commonly denoted by ∣G∣.
- 26
How many elements are in the multiplicative group of nonzero residues modulo a prime p?
Model answer
It has p−1 elements, since it contains all residues except 0.
Explanation
There are p residues modulo p, and removing 0 leaves p−1.
- 27
If m=pq for distinct primes p and q, how many elements are in Zm∗?
Model answer
It has (p−1)(q−1) elements.
Explanation
This counts the residues not divisible by either prime factor.
- 28
How can inclusion-exclusion be used to count the elements of Zpq∗ for distinct primes p,q?
Model answer
Start with pq−1 nonzero residues, subtract the p−1 multiples of q and the q−1 multiples of p, giving (p−1)(q−1).
Explanation
No nonzero residue below pq is a multiple of both distinct primes p and q.
- 29
How does the set {1,2,4} form a subgroup of the nonzero residues modulo 7 under multiplication?
Model answer
It consists of the powers of 2 modulo 7: 20≡1, 21≡2, and 22≡4. Multiplication adds exponents modulo the cycle, keeping the results in the set.
Explanation
For example, 2⋅4≡1(mod7), and the inverses of 2 and 4 in the set are each other.
- 30
State Lagrange’s theorem for a finite group G and a subgroup H.
Model answer
The order of H divides the order of G: ∣H∣ divides ∣G∣.
Explanation
The theorem constrains which subgroup sizes are possible inside a finite group.
- 31
What restriction does Lagrange’s theorem place on subgroup sizes in a group of order 6?
Model answer
Every subgroup must have an order that divides 6, so a subgroup of order 4 is impossible.
Explanation
The positive divisors of 6 are the only possible subgroup orders under the theorem.
- 32
What is a left coset of a subgroup H by an element x?
Model answer
The left coset xH is the set of all elements x⋆y as y ranges over H.
Explanation
The element from the group is combined on the left with each element of the subgroup.
- 33
How does a right coset differ from a left coset?
Model answer
A right coset places the group element on the right of each subgroup element rather than on the left.
Explanation
The left coset is written xH; the corresponding right coset reverses the placement of x.
- 34
What is the basic coset strategy for proving Lagrange’s theorem?
Model answer
Partition the group into disjoint cosets of the subgroup, each having the same size as the subgroup.
Explanation
If the partition contains k cosets, then ∣G∣=k∣H∣, so ∣H∣ divides ∣G∣.
- 35
Why does each coset xH have the same number of elements as H?
Model answer
The map y↦x⋆y is one-to-one: if x⋆h1=x⋆h2, multiplying by x−1 and using associativity gives h1=h2.
Explanation
Thus distinct elements of H produce distinct elements of the coset, and every element of the coset comes from an element of H.
- 36
Why can two cosets selected in the greedy partition process not intersect?
Model answer
If xih1=xjh2, then xj=xih1h2−1. Since h1h2−1∈H, this puts xj in the earlier coset xiH, contradicting its selection as uncovered.
Explanation
The contradiction uses the subgroup’s closure under products and inverses.
- 37
How does the coset partition prove the divisibility conclusion of Lagrange’s theorem?
Model answer
If G is partitioned into k disjoint cosets and each coset has ∣H∣ elements, then ∣G∣=k∣H∣.
Explanation
This expresses the order of G as an integer multiple of the order of H.
- 38
State Fermat’s little theorem in its prime-modulus form.
Model answer
If p is prime and p does not divide a, then ap−1≡1(modp).
Explanation
The condition that p does not divide a ensures that a is a nonzero residue modulo p.
- 39
How does Fermat’s little theorem give an explicit formula for the inverse of a nonzero residue modulo prime p?
Model answer
The inverse of a is ap−2 modulo p, because ap−2a=ap−1≡1(modp).
Explanation
The theorem turns the inverse into a power of the element.
- 40
How is the integer k defined in the group-theoretic proof of Fermat’s little theorem?
Model answer
It is the smallest positive integer such that ak≡1(modp).
Explanation
This is the first positive power of a that returns to the multiplicative identity.
- 41
Why must some positive power of nonzero a be congruent to 1 modulo prime p?
Model answer
Among sufficiently many powers of a, two must have the same residue modulo p by the pigeonhole principle; cancellation using the inverse of a then gives a positive power congruent to 1.
Explanation
There are only finitely many residues modulo p, so the powers cannot all be distinct.
- 42
How does a collision ai≡aj(modp) with i<j imply that a power of a is 1 modulo p?
Model answer
Since a has an inverse modulo p, cancel ai to obtain aj−i≡1(modp).
Explanation
The positive exponent j−i supplies a power returning to the identity.
- 43
What subgroup is formed by the powers of a nonzero residue a modulo p, and what is its order?
Model answer
The powers of a form a subgroup, and its order is k, the smallest positive integer for which ak≡1(modp).
Explanation
The powers repeat after the first return to the identity, so there are k distinct elements in the subgroup.
- 44
How does Lagrange’s theorem connect the order k of the powers-of-a subgroup to p?
Model answer
The full nonzero multiplicative group modulo p has order p−1, so Lagrange’s theorem implies k divides p−1.
Explanation
The powers of a form a subgroup of the group of nonzero residues modulo p.
- 45
How does the divisibility k∣(p−1) complete the group-theoretic proof of Fermat’s little theorem?
Model answer
Write p−1=ck. Then ap−1=(ak)c≡1c≡1(modp).
Explanation
By definition of k, ak≡1(modp).
- 46
State Euler’s theorem for m=pq, where p and q are distinct primes.
Model answer
If gcd(a,m)=1, then a(p−1)(q−1)≡1(modm).
Explanation
The exponent is the order of the multiplicative group Zm∗.
- 47
Why does the group-theoretic proof of Euler’s theorem resemble the proof of Fermat’s little theorem?
Model answer
The powers of a form a subgroup whose order divides the order of Zm∗, which is (p−1)(q−1).
Explanation
Because a is relatively prime to m, it has an inverse, allowing the same collision argument to establish a power equal to 1.
- 48
How does the exponent in Euler’s theorem differ from the exponent in Fermat’s little theorem, and why?
Model answer
For prime modulus p, the exponent is p−1; for m=pq with distinct primes, it is (p−1)(q−1). These are the orders of the respective multiplicative groups.
Explanation
The relevant exponent is determined by the size of the group of invertible residues for the modulus.
- 49
How can Fermat’s little theorem be rewritten as a divisibility statement?
Model answer
It implies that p divides ap−a when p is prime.
Explanation
Multiplying ap−1≡1(modp) by a gives ap≡a(modp).
- 50
For the combinatorial example with a=2 and p=5, what objects are counted by 25?
Model answer
It counts length-5 strings made from two bead types, such as red and blue.
Explanation
Each of the five positions can independently contain either bead type.
- 51
How does identifying rotations change a string into a necklace in the combinatorial proof?
Model answer
The ends of the string are joined, and rotations of the resulting arrangement are treated as the same necklace.
Explanation
Several different linear strings can therefore represent one necklace.
- 52
For prime length p, how many strings correspond to a non-monochromatic necklace in the necklace argument?
Model answer
There are p distinct strings, one for each rotation.
Explanation
A non-monochromatic necklace of prime length cannot be unchanged by a nontrivial rotation, so its rotations give p distinct strings.
- 53
Why are monochromatic necklaces exceptions in the prime-length counting argument?
Model answer
A monochromatic necklace looks the same under every rotation, so it corresponds to only one string rather than p distinct strings.
Explanation
There are a monochromatic necklaces when there are a available bead types.
- 54
How does counting necklaces establish that p divides ap−a for prime p?
Model answer
There are ap strings in total and a monochromatic strings; the remaining ap−a strings fall into groups of p rotations, so their number is divisible by p.
Explanation
This gives a combinatorial proof of the divisibility form of Fermat’s little theorem.
- 55
What two operations are part of a field, and what group properties do they satisfy?
Model answer
A field has addition and multiplication; addition forms an abelian group, and the nonzero elements form an abelian group under multiplication.
Explanation
The additive identity is 0, while the multiplicative identity is 1.
- 56
What is the distributive property required of a field?
Model answer
For all field elements a,b,c, a(b+c)=ab+ac.
Explanation
Distributivity links the field’s addition and multiplication operations.
- 57
State the root bound for a polynomial of degree d over a field.
Model answer
A nonzero polynomial of degree d over a field has at most d roots in that field.
Explanation
The bound applies to general fields, not only to the real numbers.
- 58
What does it mean for x to be a root of a polynomial over a field?
Model answer
It means that x is an element of the field and the polynomial evaluates to 0 at x.
Explanation
The polynomial’s coefficients and the values considered are taken from the field.
- 59
How is a secret-sharing scheme with threshold k intended to work?
Model answer
A secret is divided among n people so that any k people can recover it, while fewer than k cannot.
Explanation
The threshold determines how many participants are needed to reconstruct the secret.
- 60
How are polynomials used in the described secret-sharing approach?
Model answer
The secret is represented by the polynomial’s constant coefficient, and each participant receives an evaluation of the polynomial at a point.
Explanation
Enough point-value pairs allow the participants to interpolate the polynomial and recover its constant coefficient.
- 61
Why use finite fields rather than the real numbers for the described secret-sharing scheme?
Model answer
The scheme is constructed using values from a finite field, so its secret and polynomial evaluations come from a finite set.
Explanation
The described approach uses finite-field polynomial evaluations to distribute information.
- 62
What later cryptographic application is associated with Euler’s theorem in the content?
Model answer
Euler’s theorem is identified as a basis for RSA encryption.
Explanation
The theorem provides a modular exponentiation relationship used in the RSA discussion.
- 63
What later application is associated with the polynomial root bound?
Model answer
The root bound is identified as a basis for modern secret sharing.
Explanation
The content connects the behavior of polynomials over finite fields to secret-sharing schemes.

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