CSPP 50201 Mathematics for Computer Science—Summer 2009
Homework 6 (assigned July 29, due August 4)
Reading: Rosen chapter 3, sections 3.4–3.7.
Written assignment : Solve the following "Do" exercises and
assigned problems. Only solutions to the assigned problems should be
turned in. Note: You are responsible for the material covered in
both "Do" exercises and assigned problems.
"Do" Exercises (not to be handed in):
-
Exercises 25 and 31c on Rosen page 209.
-
Exercises 2b, 2c, and 4a, 4c, and 4d on Rosen page 229.
-
Exercises 24c and 24d on Rosen page 230.
-
Exercises 19 and 29 on Rosen page 245.
Assigned problems (to be handed in):
-
For each of the following, state whether a has an inverse modulo
m. If none exists, prove it using facts from class. If it has
an inverse, find the inverse using Euclid's algorithm (or Euclid's extended
algorithm). Show the intermediate steps of the
algorithm.
(5 points each)
-
a = 22, m = 36.
-
a = 77, m = 92.
-
Compute 1324 (mod 25). Show your work. (5 points)
-
True or false? If true, give a proof. If false, give a counterexample.
(5 points each)
-
If p is a prime number, then every integer a where
0 < a < p has an inverse mod p.
-
If p is a prime number, then p has an inverse mod n
for every integer n > 1.
-
Exercise 28a and 28b on Rosen page 245. (5 points)
-
Find the unique solution to each of the following sets of congruences.
(5 points each)
-
x ≡ 12 (mod 3)
x ≡ 4 (mod 7)
x ≡ 15 (mod 11)
-
3x ≡ 2 (mod 5)
2x ≡ 1 (mod 3)
(Hint: First put congruences in the form x ≡ a
(mod m).)
-
Consider an RSA key set with p = 7, q = 11, N = 77,
and e = 13. What value should be used for the secret key d?
What is the encryption of the message m = 27 with these keys?
(5 points)
-
In an RSA crptosystem, p = 47 and q = 59. Find appropriate
encryption and decryption keys e and d. (5 points)
Gerry Brady
Thursday July 30 03:43:02 CDT 2009