Chapter 4: Number Theory and Cryptography
Q45E
Show that the integer m with two's complement representation can be found using the equation
Q45E
Describe the extended Euclidean algorithm using pseudocode.
Q45E
Show that 2047 is a strong pseudoprime to the base 2 by showing that is passes Miller’s test to the base 2, but is composite.
Q45E
Write out the addition and multiplication tables for \({{\rm{Z}}_5}\) (where by addition and multiplication we mean \({ + _5}{\rm{ and }}{ \cdot _5}\)).
Q45SE
Show that if is a valid RTN, then mod 10Furthermore, use this formula to find the check digit that follows the eight digits 11100002 in a valid RTN.
Q46E
Find the smallest positive integer with exactly n different positive factors when n is
a) 3 b) 4 c) 5 d) 6 e)10
Q46E
Show that 1729 is a Carmichael number.
Q46E
Write out the addition and multiplication tables for \[{{\rm{Z}}_6}\] (where by addition and multiplication we mean \[{ + _6}{\rm{ and }}{ \cdot _6}\]).
Q46SE
Show that the check digit of an RTN can detect all single errors and determine which transposition errors an RTN check digit can catch and which ones it cannot catch.
Q47E
Determine whether each of the functions
\(f(a) = a{\rm{ div d and g(a) = a mod d}}\), where d is a fixed positive integer, from the set of integers to the set of integers, is one-to-one, and determine whether each of these functions is onto.