DM CWK1 Myrie Ranordo
DM CWK1 Myrie Ranordo
DM CWK1 Myrie Ranordo
x2 − 3x + 2 ≡ 0 (mod 17)
(x − 1)(x − 2) ≡ 0 (mod
17) x ≡ 1, 2 (mod 17).
5. Proofs.
gcd(2m − 1, 2n − 1) = 2gcd(m,n) −
1.
Solution: a) Let d1 = gcd(a, b) and let d2 = gcd(b, a − kb). We have d1|a and d1|b,
therefore d1|a − kb and consequently d1|d2. On the other hand, d2|b and d2|a − kb,
therefore d2|(a − kb) + k · b = a. It follows that d2|d1. Thus, d1 = d2, as required.
b): Suppose not. Let m, n be the pair of positive integers for which the formula does not hold
chosen with m + n as small as possible and with m > n. (If m = n the formula is clearly correrct.)
Using part (a) we have,