1. Home
  2. Explore
  3. Mathematics
  4. Modular Arithmetic and Divisibility

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Modular Arithmetic and Divisibility

  • 28Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Congruence Basics

State the definition of congruence modulo mmm for integers aaa and bbb, where mmm is positive.

28 questions

  1. 1

    State the definition of congruence modulo mmm for integers aaa and bbb, where mmm is positive.

    Model answer

    aaa is congruent to bbb modulo mmm if and only if mmm divides a−ba-ba−b.

    Explanation

    The definition connects modular congruence to divisibility of the difference.

  2. 2

    What does it mean for one integer to divide another?

    Model answer

    An integer mmm divides an integer nnn when n=kmn=kmn=km for some integer kkk.

    Explanation

    Divisibility means the quotient is an integer, so there is no remainder.

  3. 3

    What possible remainders can occur when an integer is divided by 444?

    Model answer

    The possible remainders are 000, 111, 222, and 333.

    Explanation

    A remainder must be smaller than the positive divisor; a remainder of 444 would instead be 000 after taking another group of 444.

  4. 4

    Describe the pattern of remainders modulo 444 as integers increase, and explain what happens for negative integers.

    Model answer

    The remainders cycle through 0,1,2,30,1,2,30,1,2,3 repeatedly. The same cycle applies to negative integers; for example, −1-1−1 has remainder 333 modulo 444.

    Explanation

    Moving along the number line in either direction repeats the same residue pattern.

  5. 5

    How can you determine whether two integers are congruent modulo mmm by comparing their remainders?

    Model answer

    They are congruent modulo mmm if and only if their remainders upon division by mmm are equal.

    Explanation

    Equal remainders characterize congruence, as well as divisibility of the integers' difference by mmm.

  6. 6

    Explain why 222 is congruent to 666 modulo 444, even though neither number is divisible by 444.

    Model answer

    Both numbers leave remainder 222 when divided by 444, and their difference, 6−2=46-2=46−2=4, is divisible by 444. 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. 7

    Are 242424 and 141414 congruent modulo 666? Justify your answer using their difference.

    Model answer

    No. Their difference is 24−14=1024-14=1024−14=10, which is not divisible by 666.

    Explanation

    The difference must be divisible by the modulus for the numbers to be congruent.

  8. 8

    How does the division algorithm express an integer aaa in terms of a positive modulus mmm and its remainder?

    Model answer

    It expresses aaa as a=qm+ra=qm+ra=qm+r, where qqq is an integer and the remainder rrr satisfies 0≤r<m0\leq r<m0≤r<m.

    Explanation

    The quotient and remainder representation identifies the value of aaa modulo mmm.

  9. 9

    State the theorem relating congruence modulo mmm to equality of remainders.

    Model answer

    For integers aaa and bbb and positive integer mmm, a≡b(modm)a\equiv b\pmod ma≡b(modm) if and only if a mod m=b mod ma\bmod m=b\bmod mamodm=bmodm.

    Explanation

    The theorem says that congruence and having the same remainder are equivalent conditions.

  10. 10

    What are the remainders of 222 and 666 modulo 444, and what do they show about the numbers?

    Model answer

    Both remainders are 222, so 2≡6(mod4)2\equiv6\pmod42≡6(mod4).

    Explanation

    Equal remainders provide the remainder-based test for congruence.

  11. 11

    What are the remainders of 242424 and 141414 modulo 666, and what do they show about the numbers?

    Model answer

    The remainders are 000 and 222, respectively, so 24≢14(mod6)24\not\equiv14\pmod624≡14(mod6).

    Explanation

    Unequal remainders mean the numbers are not congruent modulo 666.

  12. 12

    State the theorem that gives an equation equivalent to a≡b(modm)a\equiv b\pmod ma≡b(modm).

    Model answer

    a≡b(modm)a\equiv b\pmod ma≡b(modm) if and only if there is an integer kkk such that a=b+kma=b+kma=b+km.

    Explanation

    The equation says the difference a−ba-ba−b is an integer multiple of mmm.

  13. 13

    How do you prove the forward direction of the theorem that a≡b(modm)a\equiv b\pmod ma≡b(modm) if and only if a=b+kma=b+kma=b+km for some integer kkk?

    Model answer

    From a≡b(modm)a\equiv b\pmod ma≡b(modm), the definition gives that mmm divides a−ba-ba−b. Thus a−b=kma-b=kma−b=km for some integer kkk, and rearranging gives a=b+kma=b+kma=b+km.

    Explanation

    This direction uses the definition of congruence and then the definition of divisibility.

  14. 14

    How do you prove the reverse direction of the theorem that a≡b(modm)a\equiv b\pmod ma≡b(modm) if and only if a=b+kma=b+kma=b+km for some integer kkk?

    Model answer

    If a=b+kma=b+kma=b+km, then a−b=kma-b=kma−b=km, so mmm divides a−ba-ba−b. By definition, a≡b(modm)a\equiv b\pmod ma≡b(modm).

    Explanation

    The equation directly makes the difference a multiple of the modulus.

  15. 15

    If a≡b(modm)a\equiv b\pmod ma≡b(modm) and c≡d(modm)c\equiv d\pmod mc≡d(modm), what congruences follow for their sums and products?

    Model answer

    a+c≡b+d(modm)a+c\equiv b+d\pmod ma+c≡b+d(modm) and ac≡bd(modm)ac\equiv bd\pmod mac≡bd(modm).

    Explanation

    Congruence modulo the same modulus is preserved under addition and multiplication.

  16. 16

    Given a≡b(modm)a\equiv b\pmod ma≡b(modm) and c≡d(modm)c\equiv d\pmod mc≡d(modm), what equations can be used to prove the sum and product congruence results?

    Model answer

    Write a=b+kma=b+kma=b+km and c=d+lmc=d+lmc=d+lm for integers kkk and lll, then substitute these expressions into a+ca+ca+c and acacac.

    Explanation

    The integer-multiple representation of congruence makes it possible to factor out mmm in each result.

  17. 17

    Using a=b+kma=b+kma=b+km and c=d+lmc=d+lmc=d+lm, explain why a+c≡b+d(modm)a+c\equiv b+d\pmod ma+c≡b+d(modm).

    Model answer

    Adding gives a+c=b+d+m(k+l)a+c=b+d+m(k+l)a+c=b+d+m(k+l), so the difference between the sums is divisible by mmm.

    Explanation

    The remaining term after b+db+db+d is an integer multiple of mmm.

  18. 18

    Using a=b+kma=b+kma=b+km and c=d+lmc=d+lmc=d+lm, explain why ac≡bd(modm)ac\equiv bd\pmod mac≡bd(modm).

    Model answer

    Expansion gives ac=bd+m(bl+dk+klm)ac=bd+m(bl+dk+klm)ac=bd+m(bl+dk+klm), so ac−bdac-bdac−bd is divisible by mmm.

    Explanation

    The expression in parentheses is an integer, making the difference a multiple of mmm.

  19. 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. 20

    Evaluate 7+117+117+11 modulo 555 by first adding the integers and then finding the remainder.

    Model answer

    7+11=187+11=187+11=18, and 181818 leaves remainder 333 modulo 555, so 7+11≡3(mod5)7+11\equiv3\pmod57+11≡3(mod5).

    Explanation

    The sum is congruent to its remainder when divided by the modulus.

  21. 21

    Use the addition property of congruences to evaluate 7+117+117+11 modulo 555.

    Model answer

    Since 7≡2(mod5)7\equiv2\pmod57≡2(mod5) and 11≡1(mod5)11\equiv1\pmod511≡1(mod5), their sum is congruent to 2+1=3(mod5)2+1=3\pmod52+1=3(mod5).

    Explanation

    Reducing each addend modulo 555 gives the same result as reducing their sum.

  22. 22

    Evaluate 7×117\times117×11 modulo 555 by multiplying first and then finding the remainder.

    Model answer

    7×11=777\times11=777×11=77, and 777777 leaves remainder 222 modulo 555, so 7×11≡2(mod5)7\times11\equiv2\pmod57×11≡2(mod5).

    Explanation

    The product is congruent to its remainder after division by 555.

  23. 23

    Use the multiplication property of congruences to evaluate 7×117\times117×11 modulo 555.

    Model answer

    Since 7≡2(mod5)7\equiv2\pmod57≡2(mod5) and 11≡1(mod5)11\equiv1\pmod511≡1(mod5), their product is congruent to 2×1=2(mod5)2\times1=2\pmod52×1=2(mod5).

    Explanation

    Replacing factors by congruent remainders preserves the product modulo the same modulus.

  24. 24

    In modular arithmetic notation, what does a plus sign with subscript mmm indicate?

    Model answer

    It indicates addition modulo mmm.

    Explanation

    The subscript identifies the modulus used for the operation.

  25. 25

    In modular arithmetic notation, what does a multiplication sign with subscript mmm indicate?

    Model answer

    It indicates multiplication modulo mmm.

    Explanation

    The subscript identifies the modulus used for the operation.

  26. 26

    Evaluate 4+54+54+5 modulo 333 by adding first and then reducing modulo 333.

    Model answer

    4+5=94+5=94+5=9, and 999 leaves remainder 000 modulo 333, so 4+5≡0(mod3)4+5\equiv0\pmod34+5≡0(mod3).

    Explanation

    Since 999 is divisible by 333, its remainder is 000.

  27. 27

    Evaluate 4×54\times54×5 modulo 333 by multiplying first and then reducing modulo 333.

    Model answer

    4×5=204\times5=204×5=20, and 202020 leaves remainder 222 modulo 333, so 4×5≡2(mod3)4\times5\equiv2\pmod34×5≡2(mod3).

    Explanation

    The product is congruent to its remainder after division by 333.

  28. 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 mmm.

1 of 28
Question 1 of 28

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent