Skip to main content

Exercises 4.6 Exercises

Additional Exercises for Chapter 4

1.

Let

R={(1,1),(2,2),(1,2),(2,1),(1,3),(3,3),(3,1),(4,4)}

be a relation on the set {1,2,3,4}. Is R an equivalence relation? Which properties (reflexive, symmetric, transitive) hold/fail?

2.

Let S be the set of differentiable functions from R to R, and let be the relation

fgf(x)=g(x).

Is an equivalence relation? If it is, describe its equivalence classes.

3.

Let be the following relation on Z:

mn4(m2n2).

Is an equivalence relation? If it is, describe its equivalence classes.

4.

Let A1,A2,,Ak form a partition of S. Show that the relation

R={(x,y):x and y are in the same Ai}

is an equivalence relation on S.

What are the equivalence classes of R?

6.

Compute the remainder when

  1. 3333 is divided by 100
  2. 5444 is divided by 11
  3. 2888 is divided by 8
  4. 9999 is divided by 99
7.

Show that (3+33+35+37+39+311) mod 10=0.

8. Winter 2018 Final.

Without using induction, prove that 11n+2+122n+1 is divisible by 133 for any nN.

9.

Let N be the product of any k consecutive natural numbers. Prove k!N.

10.

Find the multiplicative inverse of each integer b modulo n:

  1. b=4,n=5
  2. b=13,n=76
  3. b=33,n=7
  4. b=10,n=9
  5. b=100,n=999
11.

Solve the following congruences. Express your answer as congruence classes of the original modulus.

  1. 4x8 (mod 5)
  2. 4x3 (mod 5)
  3. 2x10 (mod 8)
  4. 33x+42 (mod 7)
  5. 100x2311 (mod 99)
  6. 3111x4x+8 (mod 44)
13.

Suppose that a1,a2,,aϕ(n) are the ϕ(n) units modulo n. Use Exercise 4.6.12 to argue that

a1+a2++aϕ(n)0 (mod n).
Hint

For example, if \(n = 8\text{,}\) then the sum of the units modulo \(8\) is \(1 + 3 + 5 + 7 \equiv 0 \Mod{8}\text{.}\)

14.

Prove that if gcd(a,n)b, then axb (mod n) has no solutions.

15.

Let aN and suppose p is prime. Prove that a21 (mod p) if and only if a1 (mod p) or a1 (mod p).

16.

If m=2k is a power of 2, explain how you could use repeated squaring to compute am mod n for any n. Then apply your method to compute 1032 mod 41.

Hint

Every natural number can be written as the sum of powers of two.

17.

If m is not a power of 2, explain how you could use the results of Exercise 4.6.16 to compute am mod nfor any n. Then apply your method to compute 1726 mod 44.

Hint

Express \(m\) as a sum of powers of two.

19.

A function f(n) on the integers is said to be multiplicative if

f(mn)=f(m)f(n)

whenever gcd(m,n)=1. Euler's Totient Function ϕ(m) 4.4.1 is a multiplicative function. (The proof uses Section 4.5.)

  1. Give a general formula for ϕ(p1r1p2r2pkrk) where the pi's are distinct primes.
  2. Compute ϕ(9000) and ϕ(133947)
20.

Find the smallest positive integer y such that

  • y divided by 9 leaves a remainder of 7, and
  • y divided by 10 leaves a remainder of 9.
21.

Solve the system of congruences

{x2 (mod 3)x2 (mod 7)x1 (mod 13)

using the method outlined in Theorem 4.5.6.

22.

Compute each quantity:

  1. 22020 mod 5
  2. 22020 mod 7
  3. 22020 mod 11
  4. 22020 mod 385
Hint

\(385 = 5 \cdot 7 \cdot 11\text{.}\)