
CS 1050 A SPRING 2008
Homework Set # 2 Due January 23, 2008
Total 80 points (each (sub)problem 10 points).
Reading: Rosen [R] – Chapters 1.7, 4.1-2
1. Prove by cases that for all real numbers x, y and z
min(x, min(y, z)) = min(min(x, y ), z).
2. Prove that m2=n2if and only if m=nor m=−n.
3. Find a formula for 1
1·2+1
2·3+· · · +1
n(n+ 1)
by examining the values of this expression for small values of n. Use induction to prove your result.
4. Using induction prove each of the following statements.
(a) For any natural number n > 4,
2n> n2+n.
(b) For all natural numbers n≥0,
11n+2 + 122n+1
is divisible by 133.
(c) For all natural numbers n,n2+n+ 1 is odd.
5. Assume that a chocolate bar consists of nsquares arranged in a rectangular pattern. The bar or a
smaller rectangular piece of the bar can be broken along a vertical or a horizontal line separating the
squares. Assuming that only one piece can be broken at a time, determine how many breaks you must
successively make to break the bar into nseparate squares. Use strong induction to prove your answer.
6. Find the flaw in the following ”proof” that every postage of three cents or more can be formed using
just three-cent and four-cent stamps.
•Base step: We can form postage of three cents with a single three-cent stamp and we can form
postage of four-cents using a single four-cent stamp.
•Inductive step: Assume that we can form postage of jcents for all nonnegative integers jwith
j≤kusing just three-cent and four-cent stamps. We can then form postage of k+ 1 cents by
replacing one three-cent stamp with a four-cent stamp or by replacing two four-cent stamps by
three three-cent stamps.
1