1 Solutions To Assignment 3, Due May 31
1 Solutions To Assignment 3, Due May 31
1 Solutions To Assignment 3, Due May 31
Problem 11.26 Use the Euclidean Algorithm to nd the GCD for each of the following
pairs of integers:
1
(b) gcd(357, 629) = 357x + 629y .
In this case, we have again
17 = 272 − 3 · 85
= 272 − 3 · (357 − 1 · 272) = 4 · 272 − 3 · 357
= 4 · (629 − 1 · 357) − 3 · 357 = 4 · 629 − 7 · 357
Problem 11.28 Let a and b be integers, not both 0. Show that there are innitely many
pairs s, t of integers such that gcd(a, b) = as + bt.
Solution: We rst show, as per the hint, that there are innitely many
integers m, n such that ma + nb = 0. We note of course that if n = −a
and m = b, that ma + nb = ba − ab = 0. Thus we see that, for any k ∈ Z,
the integers m = kb and n = −ka have the desire property; there are
innitely many of these.
If we then add the two equations
1 = as + bt 0 = (kb)a + (−ka)b
2
Q.E.D.
Problem 11.36 Let p be a prime, and let n ∈ Z with n ≥ 2. Prove that p1/n is irrational.
Solution: There are two likely proofs of this. The rst is as follows.
Suppose that p1/n = a/b for integers a, b with no common factors. Then
this is equivalent to bn p = an .
Using the same corollary as before, we see that p | an , and thus we can
conclude that p | a. But this means that we can write a = pk for some
integer k, and so
bn p = (pk)n = pn k n
or, upon simplifying, bn = p · pn−2 kn .
Hoewver, this implies that p | bn which implies yet again that p | b! As
we assumed that a, b had no common factors, we have found our desired
contradiction.
Q.E.D.
The other proof involves looking at the prime factorizations of a and b; all
exponents on the right-hand side are multiples of n, but at least one on
the left hand side (that of p) has remainder 1 when dividing by n, which
is a contradiction.
Problem 11.37 Prove that if p ≥ 2 is an integer witht he property that for every pair a, b
of integers, p | ab implies that p | a or p | b, then p is prime.
Q.E.D.
Problem 11.38a Prove that every two consecutive odd positive integers are relatively prime.
3
Solution: Let 2n − 1 and 2n + 1 be our two consecutive odd positive
integers, and let d | 2n − 1, d | 2n + 1.
As d | a and d | b implies that d | (a ± b), we have in this case that
d | (2n + 1) − (2n − 1) = 2
Q.E.D.