
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

Math 213 - Homework 3
Assigned: 9/7/
Due: 9/12/07 at the start of class.
Notation: Exercise a.b.c(d) stands for part (d) of Exercise c from Section a.b.
Problems:
(1) 3.3.4. (2) 3.3.9. (3) 3.3.26. (4) Carefully explain why the running time of bubble sort is O(n^2 ). (5) 4.1.4. (6) 4.1.10. (7) 4.1.18. (8) The Fibonacci sequence is defined by F 0 = 0, F 1 = 1, and Fn = Fn− 1 + Fn− 2 for n ≥ 2. Prove by induction that ∑n
i=
Fi = Fn+2 − 1.
(9) Let A 1 ,... , Am be sets. Suppose that for any two sets Ai and Aj either Ai ⊆ Aj or Aj ⊆ Ai. Prove that there is some k so that Ai ⊆ Ak for all i. [Let P (n) be the statement that there is a set Ak with 1 ≤ k ≤ n so that Ai ⊆ Ak for 1 ≤ k ≤ n.] (10) Show that ∑n
i=
i(i + 2)
n(3n + 5) 4(n + 1)(n + 2)
1