Chapter 4: Number Theory and Cryptography
Q35E
35. What integer does each of the following one’s complement representations of length five represent?
a) 11001 b) 01101 c) 10001 d) 11111
Q35E
Does the check digit of an ISSN detect every error where two consecutive digits are accidentally interchanged? Justify your answer with either a proof or a counterexample.
Q35E
Use Fermat’s little theorem to show that if is prime and , then role="math" localid="1668657209564" is an inverse of a modulo
Q35SE
For which positive integers nis prime?
Q36E
36. If m is a positive integer less than , how is the one’s complement representation of −m obtained from the one’s complement of m, when bit strings of length n are used?
Q36E
Use Exercise to find an inverse of modulo
Q36E
Show that if a and b are both positive integers, then
Q36SE
Show that the system of congruences has no solutions.
Q37E
Use exercise 36 to show that if a and b are positive integers, then
Q37E
a) Show thatby Fermat’s little theorem and nothing that.
b) Show that using the fact that
c) Conclude from parts (a) and (b) thatlocalid="1668659996449"