Chapter 3. The Fundamentals: Algorithms The Integers: Please Write Your Name
Chapter 3. The Fundamentals: Algorithms The Integers: Please Write Your Name
Name: . . . . . . . . . . . .
Class: . . . . . . . . . . . .
a) 68 b) 84 c) 357 d) 1001
2. Suppose that a and b are integers, a ≡ 4 (mod 13), and b ≡ 9 (mod13). Find the
integer c with 0 ≤ c ≤ 12 such that
a) a ≡ 43( mod 23) and −22 ≤ a ≤ 0 c) a ≡ −11 (mod 21) and 90 ≤ a ≤ 110.
b) a ≡ 17 (mod 29) and −14 ≤ a ≤ 14
Page 1
a) (1 1111)2 b) (10 0000 0001)2
10. Find the sum and the product of each of these pairs of numbers. Express your
answers as a binary expansion.
11. Find the sum and product of each of these pairs of numbers. Express your
answers as a base 3 expansion.
12. Find the sum and product of each of these pairs of numbers. Express your
answers as an octal expansion.
a) 21 b) 29 c) 71 d) 97 e) 111 f) 143
16. Determine whether the integers in each of these sets are pairwise relatively
prime.
Page 2