Modular Arithmetic and Divisibility
- 28Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
State the definition of congruence modulo m for integers a and b, where m is positive.
28 questions
- 1
State the definition of congruence modulo m for integers a and b, where m is positive.
Model answer
a is congruent to b modulo m if and only if m divides a−b.
Explanation
The definition connects modular congruence to divisibility of the difference.
- 2
What does it mean for one integer to divide another?
Model answer
An integer m divides an integer n when n=km for some integer k.
Explanation
Divisibility means the quotient is an integer, so there is no remainder.
- 3
What possible remainders can occur when an integer is divided by 4?
Model answer
The possible remainders are 0, 1, 2, and 3.
Explanation
A remainder must be smaller than the positive divisor; a remainder of 4 would instead be 0 after taking another group of 4.
- 4
Describe the pattern of remainders modulo 4 as integers increase, and explain what happens for negative integers.
Model answer
The remainders cycle through 0,1,2,3 repeatedly. The same cycle applies to negative integers; for example, −1 has remainder 3 modulo 4.
Explanation
Moving along the number line in either direction repeats the same residue pattern.
- 5
How can you determine whether two integers are congruent modulo m by comparing their remainders?
Model answer
They are congruent modulo m if and only if their remainders upon division by m are equal.
Explanation
Equal remainders characterize congruence, as well as divisibility of the integers' difference by m.
- 6
Explain why 2 is congruent to 6 modulo 4, even though neither number is divisible by 4.
Model answer
Both numbers leave remainder 2 when divided by 4, and their difference, 6−2=4, is divisible by 4. Congruence does not require each number itself to be divisible by the modulus.
Explanation
The defining divisibility test applies to the difference between the numbers, not to each number individually.
- 7
Are 24 and 14 congruent modulo 6? Justify your answer using their difference.
Model answer
No. Their difference is 24−14=10, which is not divisible by 6.
Explanation
The difference must be divisible by the modulus for the numbers to be congruent.
- 8
How does the division algorithm express an integer a in terms of a positive modulus m and its remainder?
Model answer
It expresses a as a=qm+r, where q is an integer and the remainder r satisfies 0≤r<m.
Explanation
The quotient and remainder representation identifies the value of a modulo m.
- 9
State the theorem relating congruence modulo m to equality of remainders.
Model answer
For integers a and b and positive integer m, a≡b(modm) if and only if amodm=bmodm.
Explanation
The theorem says that congruence and having the same remainder are equivalent conditions.
- 10
What are the remainders of 2 and 6 modulo 4, and what do they show about the numbers?
Model answer
Both remainders are 2, so 2≡6(mod4).
Explanation
Equal remainders provide the remainder-based test for congruence.
- 11
What are the remainders of 24 and 14 modulo 6, and what do they show about the numbers?
Model answer
The remainders are 0 and 2, respectively, so 24≡14(mod6).
Explanation
Unequal remainders mean the numbers are not congruent modulo 6.
- 12
State the theorem that gives an equation equivalent to a≡b(modm).
Model answer
a≡b(modm) if and only if there is an integer k such that a=b+km.
Explanation
The equation says the difference a−b is an integer multiple of m.
- 13
How do you prove the forward direction of the theorem that a≡b(modm) if and only if a=b+km for some integer k?
Model answer
From a≡b(modm), the definition gives that m divides a−b. Thus a−b=km for some integer k, and rearranging gives a=b+km.
Explanation
This direction uses the definition of congruence and then the definition of divisibility.
- 14
How do you prove the reverse direction of the theorem that a≡b(modm) if and only if a=b+km for some integer k?
Model answer
If a=b+km, then a−b=km, so m divides a−b. By definition, a≡b(modm).
Explanation
The equation directly makes the difference a multiple of the modulus.
- 15
If a≡b(modm) and c≡d(modm), what congruences follow for their sums and products?
Model answer
a+c≡b+d(modm) and ac≡bd(modm).
Explanation
Congruence modulo the same modulus is preserved under addition and multiplication.
- 16
Given a≡b(modm) and c≡d(modm), what equations can be used to prove the sum and product congruence results?
Model answer
Write a=b+km and c=d+lm for integers k and l, then substitute these expressions into a+c and ac.
Explanation
The integer-multiple representation of congruence makes it possible to factor out m in each result.
- 17
Using a=b+km and c=d+lm, explain why a+c≡b+d(modm).
Model answer
Adding gives a+c=b+d+m(k+l), so the difference between the sums is divisible by m.
Explanation
The remaining term after b+d is an integer multiple of m.
- 18
Using a=b+km and c=d+lm, explain why ac≡bd(modm).
Model answer
Expansion gives ac=bd+m(bl+dk+klm), so ac−bd is divisible by m.
Explanation
The expression in parentheses is an integer, making the difference a multiple of m.
- 19
Why does proving the sum and product results require only one direction, unlike the integer-multiple characterization theorem?
Model answer
The sum and product result is an if-then theorem: it assumes the two input congruences and proves the output congruences. The integer-multiple characterization is an if-and-only-if statement, so both directions must be proved.
Explanation
An if-and-only-if claim contains two implications; an if-then claim requires only its stated implication.
- 20
Evaluate 7+11 modulo 5 by first adding the integers and then finding the remainder.
Model answer
7+11=18, and 18 leaves remainder 3 modulo 5, so 7+11≡3(mod5).
Explanation
The sum is congruent to its remainder when divided by the modulus.
- 21
Use the addition property of congruences to evaluate 7+11 modulo 5.
Model answer
Since 7≡2(mod5) and 11≡1(mod5), their sum is congruent to 2+1=3(mod5).
Explanation
Reducing each addend modulo 5 gives the same result as reducing their sum.
- 22
Evaluate 7×11 modulo 5 by multiplying first and then finding the remainder.
Model answer
7×11=77, and 77 leaves remainder 2 modulo 5, so 7×11≡2(mod5).
Explanation
The product is congruent to its remainder after division by 5.
- 23
Use the multiplication property of congruences to evaluate 7×11 modulo 5.
Model answer
Since 7≡2(mod5) and 11≡1(mod5), their product is congruent to 2×1=2(mod5).
Explanation
Replacing factors by congruent remainders preserves the product modulo the same modulus.
- 24
In modular arithmetic notation, what does a plus sign with subscript m indicate?
Model answer
It indicates addition modulo m.
Explanation
The subscript identifies the modulus used for the operation.
- 25
In modular arithmetic notation, what does a multiplication sign with subscript m indicate?
Model answer
It indicates multiplication modulo m.
Explanation
The subscript identifies the modulus used for the operation.
- 26
Evaluate 4+5 modulo 3 by adding first and then reducing modulo 3.
Model answer
4+5=9, and 9 leaves remainder 0 modulo 3, so 4+5≡0(mod3).
Explanation
Since 9 is divisible by 3, its remainder is 0.
- 27
Evaluate 4×5 modulo 3 by multiplying first and then reducing modulo 3.
Model answer
4×5=20, and 20 leaves remainder 2 modulo 3, so 4×5≡2(mod3).
Explanation
The product is congruent to its remainder after division by 3.
- 28
When writing an ordinary arithmetic result and its modular reduction, why might an equals sign be followed by a congruence sign?
Model answer
An equals sign states the ordinary arithmetic calculation, while a congruence sign states that the result and its remainder are equivalent modulo the specified modulus.
Explanation
For example, the product can equal an integer ordinarily while being congruent to a smaller remainder modulo m.

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