Chapter 4: Number Theory and Cryptography
Q28E
Complete the proof of the Chinese remainder theoremby showing that the simultaneous solution of a systemof linear congruences modulo pairwise relatively primemoduli Is unique modulo the product of these moduli.[Hint: Assume that x and y are two simultaneous solutions. Show that for all i. Using Exercise 29,
conclude that
Q28E
Decide whether each of these integers is congruent to 3 modulo 7.
a) 37
b) 66
c) -17
d) -67
Q28E
Find and and verify that .
Q28E
Use Algorithm 5 to find
Q28SE
a) Show that if aand bare positive integers with a > b, then
b) Explain how to use (a) to construct an algorithm for computing the greatest common divisor of two positive integers that uses only comparisons, subtractions, and shifts of binary expansions, without using any divisions.
c) Find using this algorithm
Q29E
Describe the steps that Alice and Bob follow when they use the Diffie-Hellman key exchange protocol to generate a shared key. Assume that they use the prime and take , which is a primitive root of 23, and that Alice selects and Bob selects . (You may want to use some computational aid).
Q29E
Decide whether each of these integers is congruent to 5 modulo 17.
a) 80
b) 103
c) -29
d) -122
Q29E
Find and and verify that . [Hint: First, find the prime factorizations of 92928 and 123552.]
Q29E
Let \({m_1}\) and \({m_2}\) be two relatively prime integers. This implies \({m_1} = \)
Prime decomposition.
Q29E
Show that every positive integer can be represented uniquely as the sum of distinct powers of 2 . [Hint: Consider binary expansions of integers.]