Chapter 4: Number Theory and Cryptography
Q37E
37. How is the one’s complement representation of the sum of two integers obtained from the one’s complement representations of these integers?
Q37SE
Find all solutions of the system of congruences and.
Q38E
a) use Fermat’s little theorem to computeand.
b) Use your results from part (a) and the Chinese remainder theorem to find . (Note that)
Q38E
Use exercise 37 to show that the integers and are pair wise relatively prime.
Q38E
38. How is the one’s complement representation of the difference of two integers obtained from the one’s complement representations of these integers?
Q38SE
a) Show that the system of congruences
and , where ,and are integers with and , has a solution if and only if
b) Show that if the system in part (a) has a solution, then it is unique modulo
Q39E
39. Show that the integer m with one’s complement representation can be found using the equation
Q39E
Using the method followed in Example 17, express the greatest common divisor of each of these pairs of integers as a linear combination of these integers.
a) 10,11 b) 21,44 c) 36,48 d) 34,55 e) 117,213 f)0,223 g) 123,2347 h) 3454,4666 i) 9999,11111
Q39E
a) Use Fermat’s little theorem to compute and
b) Use your results from part (a) and the Chinese remainder theorem to find . (Note that)
Q39SE
Prove that 30 divides for every nonnegative Integer n.