is defined by the rule that
f(n) = n
n < 3
f(n) = f(n - 1) + 2f(n - 2) + 3f(n - 3)
n ≥ 3
. Write a procedure
by means of a recursive process. Write a procedure
by means of an iterative process.