Week 11
Week 11
(a) I and II
(b) I and III
(c) II and III
(d) I, II, and III
2. Which of the following is/are true with respect to the growth of the function?
3. Let bn be a sequence that satisfies the recurrence relation bn = 15bn−1 − 20bn−2 where
b0 = 3 and b1 = 9. What are b3 and b4 respectively?
4. Consider the recurrence relation bn = bn−1 + 3n, with the initial term b0 = 5. What
is the closed-form expression for bn ?
(a) 3n + 5
3n(n+1)
(b) 2 +5
(c) n2 + 5
(d) 6n2
bn − bn−1 = 3n
bn − 5
So:
3n(n + 1)
bn = +5
2
Refer to Lecture: Solving recurrence relation Example 2
5. Which of the following is the correct recurrence relation for climbing 12 stairs? Climb-
ing stairs simply means walking on stairs, covering one stair in one step.
(a) log(512)
(b) log(2048)
(c) log(1048576)
(d) log(1024)
9. Given the sequence {0, 1, 1, 2, 3, 5, 8, 13, . . .}, find the 12th term of this sequence. Note
that the zeroth term of the sequence is 0.
(a) 233
(b) 144
(c) 89
(d) 377
√ !n √ !n
1 1+ 5 1 1− 5
an = √ −√
5 2 5 2
√ !12 √ !12
1 1+ 5 1 1− 5
a12 =√ −√ = 144
5 2 5 2