Chapter 4: Number Theory and Cryptography
Q4E
By inspection (as discussed prior to Example1), find an inverse of 2 modulo 17 .
Q4E
Convert the binary expansion of each of these integers to a decimal expansion.
Q4E
Find the prime factorization of each of these integers.
a.)39 b) 81 c) 101 d) 143 e) 289 f) 899
Q4E
Decrypt these messages that were encrypted using the Caesar cipher.
a) EOXH MHDQV
b) WHVW WRGDB
c) HDW GLP VXP
Q4RE
Describe a procedure for converting decimal (base 10) expansions of integers into hexadecimal expansions.
Q4SE
Show that if aand d are positive integers, then there are integers and rsuch that a = dq + r where -d/2 < r < d/2 .
Q50E
Fine the nonnegative integer a less than 28 represented by each of these pairs, where each pair represents (a mod 4, a mod 7).
a) (0,0)
b) (1,0)
c) (1,1)
d) (2,1)
e) (2,2)
f) (0,3)
g) (2,0)
h) (3,5)
i) (3,6)
Q50E
Show that if a, b and m are integers such that and , then
Q50E
Describe an algorithm to add two integers from their Cantor expansions.
Q51E
Prove or disprove that is prime whenever n is a positive integer.