Chapter 4: Number Theory and Cryptography
Q1E
Does\(17\)divide each of these numbers?
a) \(68\)
b) \(84\)
c) \(357\)
d) \(1001\)
Q1E
Determine whether each of these integers is prime.
a) 21 b) 29
c) 71 d) 97
e) 111 f) 143
Q1E
Which memory locations are assigned by the hashing
function to the records of insurance
company customers with these Social Security numbers?
Q1E
Encrypt the message DO NOT PASS GO by translating the letters into numbers, applying the given encryption function, and then translating the numbers back into letters.
a) f(p)=(p+3) mod 26(the Caesar cipher)
b) f(p)=(p+13) mod 26
c) f(p)=(3 p+7) mod 26
Q1RE
Find
Q1SE
The odometer on a car goes to up miles. The present owner of a car bought it when the odometer read miles. He now wants to sell it; when you examine the car for possible purchase, you notice that the odometer reads miles. What can you conclude about how many miles he drove the car, assuming that the odometer always worked correctly?
Q20E
One digit in each of these identification numbers of a postal money order is smudged. Can you recover the smudged digit, indicated by a Q, in each of these numbers?
a) Q 1223139784
b) 6702120 Q 988
c) 27 Q 41007734
d) 213279032 Q 1
Q20E
Explain how to convert from binary to base 64 expansions and from base 64 expansions to binary expansions and from octal to base 64 expansions and from base 64 expansions to octal expansions.
Q20E
Evaluate these quantities.
a)−17 mod 2
b) 144 mod 7
c)−101 mod 13
d) 199 mod 19
Q20E
Use the construction in the proof of the Chinese Remainder Theorem to find the solution of the system of congruences