Chapter4 - Test Bank
Chapter4 - Test Bank
41. Prove or disprove: If p and q are primes ( > 2 ), then pq + 1 is never prime.
42. Find three integers m such that 13 ≡ 7 (mod m).
43. Find the smallest integer a > 1 such that a + 1 ≡ 2a (mod 11 ).
44. Find four integers b (two negative and two positive) such that 7 ≡ b (mod 4).
45. Find an integer a such that a ≡ 3a (mod 7).
46. Find integers a and b such that a + b ≡ a − b (mod 5).
47. Find a div m and a mod m when a = 76, m = 52.
48. Find a div m and a mod m when a = −33, m = 67.
49. Find a div m and a mod m when a = 511, m = 113.
50. Find the integer a such that a = 71 (mod 47) and −46 ≤ a ≤ 0 .
51. Find the integer a such that a = 89 (mod 19) and −9 ≤ a ≤ 9 .
52. Find the integer a such that a = 71 (mod 41) and 160 ≤ a ≤ 200.
In 53–56 find each of these values
53. (123 mod 19 + 342 mod 19) mod 19
54. (123 mod 19 · 342 mod 19) mod 19
55. (122 mod 17)3 mod 11
56. (54 mod 7)3 mod 13
57. Show that if a, b, k and m are integers such that k ≥ 1, m ≥ 2 , and a ≡ b (mod m ),
then ka ≡ kb (mod m ).
In questions 58–64 determine whether each of the following “theorems” is true or false. Assume that
a , b , c , d , and m are integers with m > 1 .
58. If a ≡ b (mod m ), and a ≡ c (mod m ), then a ≡ b + c (mod m) .
59. If a ≡ b (mod m ) and c ≡ d (mod m ), then ac ≡ b + d (mod m ).
60. If a ≡ b (mod m ), then 2a ≡ 2b (mod m ).
61. If a ≡ b (mod m ), then 2a ≡ 2b (mod 2m ).
62. If a ≡ b (mod m ), then a ≡ b (mod 2m ).
63. If a ≡ b (mod 2m ), then a ≡ b (mod m ).
64. If a ≡ b (mod m2 ), then a ≡ b (mod m ).
65. Either find an integer x such that x ≡ 2 (mod 6) and x ≡ 3 (mod 9) are both true, or else
prove that there is no such integer.
66. What sequence of pseudorandom numbers is generated using the pure multiplicative generator xn+1 =
3xn mod 11 with seed x0 = 2 ?
68. Prove or disprove: if p and q are prime numbers, then pq + 1 is prime.
69. (a) Find two positive integers, each with exactly three positive integer factors greater than 1.
(b) Prove that there are an infinite number of positive integers, each with exactly three
positive integer factors greater than 1.
70. Convert (204)10 to base 2.
71. Convert (1 1101) 2 to base 16.
72. Convert (1 1101) 2 to base 10.
73. Convert (2AC)16 to base 10.
74. Convert (10,000) 10 to base 2.
75. Convert (8091)10 to base 2.
76. Convert (BC1) 16 to base 2.
77. Convert (100 1100 0011) 2 to base 16.
78. Convert (271)8 to base 2.
79. Convert (6253)8 to base 2.
80. Convert (10 1011)2 to base 8.
81. Convert (110 1011 1100)2 to base 8.
502 Test Bank Questions and Answers
√ √
38. False; 2 + (− 2) = 0.
√
39. False; (1/2)1/2 = 2/2 , which is not rational.
40. False, f (17) is divisible by 17 .
41. pq + 1 is an even number, hence not prime.
42. 2, 3, 6
43. 12
44. 3, 7, 11, 15, . . . , −1, −5, −9, . . .
45. 0, ±7, ±14, . . .
46. b = 0, ±5, ±10, ±15, . . . ; a any integer
47. 1, 24
48. −1 , 34
49. 4, 59
50. −23
51. -6
52. 194
53. 9
54. 0
55. 6
56. 8
57. The hypothesis a ≡ b (mod m ) means that m | (a − b). Therefore m | (k · (a − b)), which means precisely
that ka ≡ kb (mod m ).
58. False
59. False
60. True
61. True
62. False
63. True
64. True
65. There is no such x ; if there were, then there would be integers k and l such that x − 2 = 6k and x − 3 = 9l .
Hence 1 = 6k − 9l = 3(2k − 3l), which is not possible.
70. 1100 1100
71. 1D
72. 29
73. 684
74. 10 0111 0001 0000
75. 1 1111 1001 1011
76. 1011 1100 0001
77. 4C3
78. (1011 1001)2
79. (1100 1010 1011)2
80. (53)8
81. (3274)8
504 Test Bank Questions and Answers