Chapter 4: Number Theory and Cryptography
Q33E
Use Euclidean algorithm to find
- \(\gcd \left( {12,\,18} \right)\)
- \(\gcd \left( {111,\,201} \right)\)
- \(\gcd \left( {1001,\,1331} \right)\)
- \(\gcd \left( {12345,\,54321} \right)\)
- \(\gcd \left( {1000,\,5040} \right)\)
- \(\gcd \left( {9888,\,6060} \right)\)
Q33E
33. Show that a positive integer is divisible by 3 if and only if the difference of the sum of its binary digits in even numbered positions and the sum of its binary digits in odd-numbered positions is divisible by 3.
Q33E
Use Fermat’s little theorem to find
Q33SE
Determine whether the integers in each of these sets are
mutually relatively prime.
a) 8, 10, 12
b) 12, 15, 25
c) 15, 21, 28
d) 21, 24, 28, 32
Q34E
How many divisions are required to find gcd(21,34) using the Euclidean algorithm?
Q34E
Use Fermat’s little theorem to find
Q34E
34. Find the one’s complement representations, using bit strings of length six, of the following integers.
(a) 22 b) 31 c) −7 d) −19
Q34E
Does the check digit of an ISSN detect every single error in an ISSN? Justify your answer with either a proof or a counterexample.
Q34SE
Find a set of four mutually relatively prime integers such that no two of them are relatively prime.
Q35E
How many divisions are required to find gcd(34,55)using the Euclidean algorithm?