Assignment 3
Assignment 3
Assignment 3
Department of Mathematics
Discrete Mathematics
Assignment 3
3. Prove or disprove that if a | bc, where a, b, and c are positive integers and a 6= 0, then a | b or
a | c.
5. Suppose that a and b are integers, a ≡ 5(mod17), and b ≡ 8(mod17). Find the integer c with
0 ≤ c ≤ 16 when
6. Show that if a ≡ b(mod m) and c ≡ d(mod m), where a, b, c, d, and m are integers with m > 2,
then a − c ≡ b − d(mod m).
7. Show that if a, b, c, d, and m are integers such that m > 2, c > 0,and a ≡ b(mod m), then ac ≡
bc(mod mc).
1
10. Show that if am + 1 is composite if a and m are integers greater than 1 and m is odd.
11. Prove or disprove that there are three consecutive odd positive integers that are primes.
12. Which positive integers less than 18 are relatively prime to 18?
13. Determine whether the integers in each of these sets are pairwise relatively prime.
14. What are the greatest common divisor and least common multiple of these pairs of integers?
(a) 22 · 33 · 55 , 25 · 33 · 52
(d) 22 · 7, 53 · 13
(e) 0, 5
(f) 2 · 3 · 5 · 7, 2 · 3 · 5 · 7
15. Use the Euclidean algorithm to find the greatest common divisor of the following pairs of integers.
(a) 1, 7
16. Express gcd(252, 356) as integer linear combination of 252 and 356.
17. Prove that the product of any three consecutive integers is divisible by 6.
(a) a = 4, m = 9
(c) a = 55, m = 89
2
(a) 19x ≡ 4(mod 141)
(c) 4x ≡ 3(mod 7)
20. Solve the system of congruence x ≡ 3(mod 6) and x ≡ 4(mod 7) by Chinese remainder theorem.
21. Solve the system of congruence x ≡ 2(mod 3), x ≡ 1(mod 4) and x ≡ 3(mod 5) by Chinese
remainder theorem.
22. Solve the system of congruence x ≡ 5(mod 6), x ≡ 3(mod 10) and x ≡ 8(mod 15).
23. Use Fermat’s little theorem to find remainder when 7121 is divided by 13.
24. Use Fermat’s little theorem to find remainder when 231002 is divided by 41.
25. Use Fermat’s little theorem to show that if p is prime and p - a, then ap−2 is an inverse of a
modulo p.
28. Convert (ABCDEF)16 from its hexadecimal expansion to its binary expansion.
29. Convert each of these integers from binary notation to hexadecimal notation.
30. Convert (7345321)8 to its binary expansion and (10 1011 1011)2 to its octal expansion.