Written in a lively, clear style that talks to the reader, this book is unique for its emphasis on algorithmics and the inductive and recursive paradigms as central mathematical themes.
Compute several terms. Do you see a pattern? Can you prove it?
2.
Consider the same recurrence as in [1], but now let a0 and a1 be arbitrary. What happens? Can you prove it?
3.
Consider the difference equation an+2= 5 an+1?6 an. Compute the first 6 terms if:
a0=1, a1=2
a0=5, a1=10
a0=1, ?1=3
a0=2, a1=5
a0=0, a1=1.
Do you see a pattern? Can you prove it?
4.
In [4, Section 5.2], you were asked to find a formula relating E2n and En for Algorithm SEQ-SEARCH. Use that formula and the condition E1=1 to find and prove an explicit formula for En when n is a power of 2. (This may seem silly, since we already found a formula for En for anyn, but it provides more practice, and it previews a powers of 2 approach that is very important in Section 5.8.)
5.
Use Eq. (2), Section 5.2, to find a recurrence relating En+2 to En. Use this recurrence to find and prove an explicit formula for E2n.
6.
Suppose that you remembered Eq. (3) to be...
Copyright A K Peters, Ltd. 2004 under license agreement with Books24x7