Docsity

Assignment 1 Solutions - Abstract Algebra | MATH 321, Assignments of Abstract Algebra

Toggle sidebar
bg1
Math 321 Fall 2008 Solutions to HW #1
1. (0.14) Show that 5n+ 3 and 7n+ 4 are relatively prime for all n.
Proof: First observe that for any n,
7(5n+ 3) −5(7n+ 4) = 35n+ 21 −35n−20 = 1.
Hence any number that divides both 5n+ 3 and 7n+ 4 also divides 1. Thus the two numbers
are relatively prime.
2. (0.19) Let p1, p2, . . . , pnbe prime numbers. Show that p1p2· · · pn+ 1 is divisible by none of
these primes.
Proof: We do a proof by contradiction. Let pidivide p1p2· · · pn+ 1 for some 1 ≤i≤n.
Clearly pialso divides p1p2· · · pn. Hence pidivides their difference, which is (p1p2· · · pn+ 1) −
p1p2· · · pn= 1. An obvious contradiction, which proves the result.
3. (2.33) Prove that 2n32n−1 is always divisible by 17.
Proof: We proceed by induction on n. If n= 1, then 2n32n−1 = 2 ·32−1 = 18 −1 = 17.
So the base case is clearly true. Now assume the result is true for n. We show that the result
holds for n+ 1.
Then 2n+132n+2 −1 = (2 ·32)(2n32n)−1 = 18(2n32n)−1 = (17 + 1)(2n32n)−1 =
17(2n32n) + (2n32n)−1 = [17(2n32n)] + [2n32n−1]. Clearly 17 divides the first term, and by
induction it divides the second term. Therefore it divides the sum
4. (0.22) The Fibonacci numbers are defined by f1= 1 and f2= 1 and and for n≥2, fn=
fn−1+fn−2. Prove that fn<2nfor all n.
Proof: Let S(n) denote the statement that fn<2n. We will induct on n. Notice that to define
fnrecursively, one has to have two initial conditions, for both f1and f2. Therefore for the base
step of the induction we have to show that S(1) and S(2) are true.
S(1): f1= 1 <21and S(2): f2= 1 <22are clearly true.
Assume S(k) is true for all k≤n. We proceed to show that S(n+ 1) is true. By definition
fn+1 =fn+fn−1. By our induction assumption fn<2nand fn−1<2n−1. Thus
fn+1 =fn+fn−1<2n+ 2n−1<2n+ 2n= 2n(1 + 1) = 2n·2 = 2n+1 .
Hence the result is proved.

Partial preview of the text

Download Assignment 1 Solutions - Abstract Algebra | MATH 321 and more Assignments Abstract Algebra in PDF only on Docsity!

Math 321 Fall 2008 Solutions to HW #

  1. (0.14) Show that 5n + 3 and 7n + 4 are relatively prime for all n.

Proof: First observe that for any n,

7(5n + 3) − 5(7n + 4) = 35n + 21 − 35 n − 20 = 1.

Hence any number that divides both 5n + 3 and 7n + 4 also divides 1. Thus the two numbers are relatively prime.

  1. (0.19) Let p 1 , p 2 ,... , pn be prime numbers. Show that p 1 p 2 · · · pn + 1 is divisible by none of these primes.

Proof: We do a proof by contradiction. Let pi divide p 1 p 2 · · · pn + 1 for some 1 ≤ i ≤ n. Clearly pi also divides p 1 p 2 · · · pn. Hence pi divides their difference, which is (p 1 p 2 · · · pn + 1) − p 1 p 2 · · · pn = 1. An obvious contradiction, which proves the result.

  1. (2.33) Prove that 2n 32 n^ − 1 is always divisible by 17.

Proof: We proceed by induction on n. If n = 1, then 2n 32 n^ − 1 = 2 · 32 − 1 = 18 − 1 = 17. So the base case is clearly true. Now assume the result is true for n. We show that the result holds for n + 1. Then 2n+1 32 n+2^ − 1 = (2 · 32 )(2n 32 n) − 1 = 18(2n 32 n) − 1 = (17 + 1)(2n 32 n) − 1 = 17(2n 32 n) + (2n 32 n) − 1 = [17(2n 32 n)] + [2n 32 n^ − 1]. Clearly 17 divides the first term, and by induction it divides the second term. Therefore it divides the sum

  1. (0.22) The Fibonacci numbers are defined by f 1 = 1 and f 2 = 1 and and for n ≥ 2, fn = fn− 1 + fn− 2. Prove that fn < 2 n^ for all n.

Proof: Let S(n) denote the statement that fn < 2 n. We will induct on n. Notice that to define fn recursively, one has to have two initial conditions, for both f 1 and f 2. Therefore for the base step of the induction we have to show that S(1) and S(2) are true. S(1): f 1 = 1 < 21 and S(2): f 2 = 1 < 22 are clearly true. Assume S(k) is true for all k ≤ n. We proceed to show that S(n + 1) is true. By definition fn+1 = fn + fn− 1. By our induction assumption fn < 2 n^ and fn− 1 < 2 n−^1. Thus

fn+1 = fn + fn− 1 < 2 n^ + 2n−^1 < 2 n^ + 2n^ = 2n(1 + 1) = 2n^ · 2 = 2n+1.

Hence the result is proved.