Recurrence relations and recursive definitions have a lot in common with induction - the value of a function at a higher value is defined in terms of its values at a smaller value.
Often a recursive construction will require an inductive proof of its correctness.
Example:
,
, what is
a closed form expression for
?
Then, show that the best solution to the
towers of Hanoi puzzle requires
steps.
A classic example of a recursive definition is that of the Fibonnaci numbers:
they are defined as:
and, for
,
.
11 Prove the following identity for Fibonacci numbers: for
all
:
12 Prove that consecutive Fibonacci numbers are always relatively
prime. (Hint: Try finite descent!)
13 For the Fibonacci numbers, show:
14 Show that every positive integer can be expressed
uniquely as the sum of distinct, non-consecutive
Fibonacci numbers (here, non-consecutive means that no
two of the Fibonacci number in the sum are consecutive Fibonacci numbers).