Skip to main content

Discrete Mathematical Structures

Exercises 5.1.5 Exercises

2.

State precisely the Division algorithm. Be sure to set up any notation that is required.

5.

Suppose \(a\) and \(b\) are integers such that \(a \equiv 11 \pmod{17}\text{,}\) and \(b \equiv 3 \pmod{17}\text{.}\) Find the integer \(c\) with \(0\leq c\leq 16\) such that satisfies these.
  1. \(\displaystyle c \equiv 13a \pmod{17}\)
  2. \(\displaystyle c \equiv 5a \pmod{17}\)
  3. \(\displaystyle c \equiv -2a + 3b \pmod{17}\)
  4. \(\displaystyle c \equiv ab \pmod{17}\)
  5. \(\displaystyle c \equiv a^3 - b^2 \pmod{17}\)

9.

Compute the addition and multiplication table for \(\ZZ_5\text{.}\)

10.

Let \(a, b, c\) be integers, where \(a, b \neq 0\text{.}\) Follow the steps below to prove that if \(a \mid b\) and \(b \mid c\text{,}\) then \(a \mid c\text{.}\)
  1. First, we recognize what we want to prove is in the form β€œif \(p\text{,}\) then \(q\text{.}\)” What is hypothesis \(p\text{?}\) What is the conclusion \(q\text{?}\)
  2. When we want to prove a statement of the form β€œif \(p\text{,}\) then \(q\)” directly, we assume \(p\) is true and try to show \(q\text{.}\) This is commonly where we set some notation, for example, Suppose \(a,b,c\) are integers such that \(a \mid b\) and \(b \mid c\text{.}\)
  3. Next we need to recall what \(x \mid y\) or divides means. It should have something to do with the existence of an integer. We say \(x \mid y\) or \(x\) divides \(y\) if there exists an integer \(k\) such that
  4. Now apply the definition to our situation where we have \(a \mid b\) and \(b \mid c\text{.}\) e.g., Then, there exist(s) ….
  5. Check back above to be sure that the two integers whose existence is guaranteed have different names. They need different names because they need not be the same integer.
  6. Now look back to the goal \(q\) that we set above. We should have something like β€œ\(a \mid c\)”. Use the definition to re-express this goal. We want to show there exists an integer … such that ….
  7. Now use the two equations from (d) to produce the integer whose existence we want from (f). Use equations or complete sentences. Don’t just write sentence fragments of expressions.
  8. Draw the conclusion.

11.

Follow the steps below to prove that \(n^3 -n\) is divisible by \(3\) for every integer \(n\text{.}\)
  1. Remember that divisibility statements can be rewritten as congruence conditions. e.g., \(a\) is divisible by \(b\) can be written as \(a \equiv 0 \pmod{b}\text{.}\) What is the congruence condition for this problem?
  2. Rewrite the above, alerting the proof reader that our statement is equivalent to the desired statement. Be sure to specify that we will show it for every integer \(n\text{.}\) e.g., It suffices to show … for every …
  3. When we want to prove a universal statement, we can fix a generic one to consider. e.g., Let \(n\) be an integer.
  4. Turn this into a finite check by looking at each congruence class separately. e.g., There are … cases to consider.
  5. For each case, write down the assumption that \(n\) is in the congruence class under consideration. Use properties of modular arithmetic from class to prove the result in that case. Repeat for each case.

12.

Let \(a, b, c, d, m\) be integers, with \(m \gt 1\text{.}\) Follow the steps below to prove that if \(a \equiv b \pmod{m}\) and \(c \equiv d \pmod{m}\text{,}\) then \(a + c \equiv b + d \pmod{m}\text{.}\)
  1. First, recognize what we want to prove is in the form β€œif \(p\text{,}\) then \(q\text{.}\)” What is \(p\text{?}\) What is \(q\text{?}\)
  2. As before, to prove a statement of the form β€œif \(p\text{,}\) then \(q\)” directly, we assume \(p\) is true and try to show \(q\text{.}\) This is commonly where we set some notation as well. Suppose …. We want to show ….
  3. Above are some statements about congruences. Use the definition or theorems to state our assumption and our goal in terms of divisibility or existence of integers.
  4. Use arithmetic to get from the assumptions to the goal.
  5. Draw the conclusion.

13.

Prove that if \(n\) is an odd, positive integer, then \(n^2 \equiv 1 \pmod{8}\text{.}\)

14.

Find a counterexample to the following statement about congruences.
Let \(a\text{,}\) \(b\text{,}\) \(c\text{,}\) and \(m\) be integers with \(m \gt 2\text{.}\) If \(ac \equiv bc \pmod{m}\text{,}\) then \(a \equiv b \pmod{m}\text{.}\)