Modular Arithmetic and Divisibility
- 29Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
- spaceFlip card
- KI knew it
- DI didn't know it
- ←Previous card
- →Next card
For integers a and b and a positive integer m, what does a≡b(modm) mean?
m divides a−b; equivalently, a−b is an integer multiple of m.
Or swipe the card
29 cards
For integers a and b and a positive integer m, what does a≡b(modm) mean?
m divides a−b; equivalently, a−b is an integer multiple of m.
What is the relationship between a≡b(modm) and b≡a(modm)?
They are equivalent: if m divides a−b, it also divides b−a=−(a−b).
Does a≡b(modm) mean that both a and b are divisible by m?
No. It means their difference is divisible by m, or equivalently that they have the same remainder when divided by m.
What is the remainder-based test for whether a and b are congruent modulo m?
They are congruent modulo m exactly when they have equal remainders upon division by m.
What is the equation-based characterization of congruence modulo m?
a≡b(modm) if and only if there is an integer k such that a=b+km.
How does m∣(a−b) lead to an equation of the form a=b+km?
By divisibility, a−b=km for some integer k. Adding b to both sides gives a=b+km.
How does a=b+km imply a≡b(modm)?
Subtracting b gives a−b=km, so m divides a−b and therefore a≡b(modm).
What remainders are possible when an integer is divided by 4?
0, 1, 2, or 3.
Why is a remainder of 4 not used when dividing by 4?
A remainder must be smaller than the divisor; a remainder of 4 is equivalent to a remainder of 0 after removing another group of 4.
What remainder pattern do integers follow modulo 4?
The remainders repeat cyclically as 0,1,2,3.
What is the remainder of −1 when expressed as a standard residue modulo 4?
3, since −1 differs from 3 by −4, a multiple of 4.
Why are 2 and 6 congruent modulo 4?
Both leave remainder 2 when divided by 4, and their difference, 6−2=4, is divisible by 4.
Are 24 and 14 congruent modulo 6? Explain using remainders.
No. 24 leaves remainder 0, while 14 leaves remainder 2 when divided by 6.
What does the notation amodm represent in the remainder characterization of congruence?
It represents the remainder of a upon division by m. Thus, a≡b(modm) exactly when amodm=bmodm.
What does the division algorithm express when dividing an integer a by a positive integer m?
It writes a=mq+r, where q is an integer quotient and r is the remainder.
If a≡b(modm) and c≡d(modm), what addition rule follows?
a+c≡b+d(modm).
If a≡b(modm) and c≡d(modm), what multiplication rule follows?
ac≡bd(modm).
What conditions are needed to apply the modular addition and multiplication rules?
The two original congruences must use the same positive modulus m: a≡b(modm) and c≡d(modm).
How can the addition rule for congruences be proved using integer multiples of m?
Write a=b+km and c=d+ℓm for integers k,ℓ. Then a+c=b+d+(k+ℓ)m, so a+c≡b+d(modm).
How can the multiplication rule for congruences be proved using integer multiples of m?
Write a=b+km and c=d+ℓm. Expanding gives ac=bd+m(bℓ+dk+kℓm), so ac−bd is divisible by m and ac≡bd(modm).
Is the theorem that congruences are preserved under addition an if-and-only-if statement?
No. It is a one-direction implication: the stated congruences imply the congruence of the sums.
How can 7+11 be evaluated modulo 5 by first adding the integers?
7+11=18, and 18 leaves remainder 3 when divided by 5, so 7+11≡3(mod5).
How can 7+11 be evaluated modulo 5 by reducing each addend first?
7≡2(mod5) and 11≡1(mod5), so 7+11≡2+1=3(mod5).
How can 7×11 be evaluated modulo 5 by first multiplying the integers?
7×11=77, and 77 leaves remainder 2 when divided by 5, so 7×11≡2(mod5).
How can 7×11 be evaluated modulo 5 by reducing each factor first?
7≡2(mod5) and 11≡1(mod5), so 7×11≡2×1=2(mod5).
What does a plus sign with subscript m, such as +m, denote?
Addition modulo m.
What does a multiplication sign with subscript m, such as ×m, denote?
Multiplication modulo m.
What is 4+5 modulo 3?
4+5=9, and 9 leaves remainder 0 when divided by 3, so 4+5≡0(mod3).
What is 4×5 modulo 3?
4×5=20, and 20 leaves remainder 2 when divided by 3, so 4×5≡2(mod3).

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