Tute 4 Solns
Tute 4 Solns
1. (a) “Dwayne, the first two terms of the sequence are positive and each term past there is obtained
by adding the previous two. It’s obvious that we’ll never get a negative term. Why not? Well
suppose we’ve just gotten our first negative term - then the two previous terms were positive
and they added to give a negative – that can’t happen.” (A more formal argument could use
strong induction.)
(b) Let P (n) be the statement “3 divides n3 − 7n + 6”.
Base step. 03 − 7(0) + 6 = 6 and 3 divides 6, so P (0) is true.
Induction step. Assume P (k) is true for some integer k ≥ 0. So 3 divides k 3 − 7k + 6.
Equivalently, k 3 − 7k + 6 = 3a for some integer a.
We need to prove that P (k + 1) is true, that is, that 3 divides (k + 1)3 − 7(k + 1) + 6. Now,
(k + 1)3 − 7(k + 1) + 6 = k 3 + 3k 2 + 3k + 1 − 7k − 7 + 6
= (k 3 − 7k + 6) + (3k 2 + 3k − 6)
= 3a + 3(k 2 + k − 2) (by P (k))
2
= 3(a + k + k − 2).
4. (a) Here’s an argument by strong induction. You could also make an argument by regular
induction similar to the stamp example in Lecture 9.
Let P (n) be the statement “$n can be made from $7 notes and $4 notes”.
Base steps. $18 can be made from two $7 notes and one $4 note. So P (18) is true.
$19 can be made from one $7 note and three $4 notes. So P (19) is true.
$20 can be made from five $4 notes. So P (20) is true.
$21 can be made from three $7 notes. So P (21) is true.
Induction step. For some integer k ≥ 21, assume that P (18), P (19), . . . , P (k) are true. We
need to show that P (k + 1) is true, that is, that k + 1 duckbucks can be made from $4 and
$7 notes.
We know that P (k −3) is true and so k −3 duckbucks can be made from $4 and $7 notes (note
that k − 3 ≥ 18 because k ≥ 21). Simply adding a $4 note to this makes k + 1 duckbucks.
So P (k + 1) is true.
So we have proved by strong induction that P (n) is true for each integer n ≥ 18.
(b) “Dwayne, just keep adding $4 notes until the amount left to pay is $18 or $19 or $20 or $21.
Then use this cheat sheet.” (The cheat sheet is made from the base steps for (b).)