CSCI 256
|
Numbered problems are from Cormen, Leiserson, and Rivest. You should do all of the problems, but only turn in those from the second section..
Prove xn - yn is divisible by x - y for all x /= y, n >= 0. Hint: Add and subtract xyn-1 to the expression and factor.
Prove that the regions formed by n circles in the plane can be colored with two colors such that any neighboring regions are colored differently. Note: Neighbors are those that share a boundary, not just a single point of intersection.
Prove that any integer postage greater than 7 cents can be formed used only 3 and 5 cent stamps and that this can be done using at most two 5 cent stamps. Hint: You need 3 base cases!
Problem 1.3-3 from CLR. You need only prove this for n that are exact powers of 2 (i.e., for n of the form 2k for k >= 0).
Problem 2.2-7 from CLR. Hint: Calculate phi squared and phi-hat squared and use them to simplify Fi = Fi-1 + Fi-2.
Back to:
kim@cs.williams.edu