Abbreviations
You many make use of the rsa.hs code to help with calculations.
(10 points) DPV Problem 1.7
Note: I am looking for an answer of the form: some polnomial in
and
. Remember to justify your answer.
(10 points) DPV Problem 1.10
Hint: Recall that means that
for some integer
.
(10 points) Show that, for any 1,
. (Corrected)
(10 points) Use a and Euclid’s rule to show that, for each ,
.
(10 points) DPV Problem 1.20. Show your computations for these.
Hint: See the last page of the "Arithmetic Algorithms, Part 1 slides.
(10 points) DPV Problem 1.27
Fermat’s Little Lemma:
Suppose is prime and
. Then
.
Euler’s Corollary (of Euler’s Theorem):
Suppose and
are primes with
and
.
Then .
Euclid’s Rule:
Suppose . Then
.