Discrete Structure - Old Questions

17. Solve the recurrence relation an = 2an-1 + 2an-2 + 2an-3 for n ≥ 3, a0 = 3, a1 = 6 and a2 = 9.

OR

Find the explicit formula for the Fibonacci numbers. Use fn = fn-1 + fn-2 as recursive condition and

f0 = 0 and f1 = 1 as initial condition.

8 marks | Asked in 2070