HMWK 1
HMWK 1
Problem 1
(a) Find integers x and y such that 1 = 26x + 55y. If you think the problem has no solutions, explain why.
(b) Find integers x and y such that 1 = 28x + 105y. If you think the problem has no solutions, explain why.
(c) If you found a solution in (a) or (b), can you also find another solution to that problem? If not - why not?
If yes, what is it?
Problem 2
Problem 3
Problem 4
(b): Using the results of (a) and the fact that 1870 = 2 · 5 · 11 · 17 and 273 = 3 · 7 · 13, prove that 359 is
prime.
Problem 5
(a): Compute gcd(12317, 10573) (show the results of all iterations of the Euclid Algorithm).
(b): Using the result from (a), factor 12317 and 10573 into products of prime.
Problem 6
(a): Define the Fibonacci sequence by F1 = 1, F2 = 1 and Fn+1 = Fn + Fn−1 . Use the EA to find
gcd(Fn , Fn−1 ).
(b): Find gcd(22 . . . 2, 22 . . . 2), where the first integer’s decimal representation is a sequence of 38 2’s, and
the second integer’s decimal representation is a sequence of 21 2’s.
(c) Solve (b), in the general case when the first integer is a sequence of n 2’s and the second integer isd a
sequence of m 2’s.
Your solution must be typed (wordprocessed), and submitted as a pdf document to canvas