Search for question
Question

(c) (5 pts) Say an is a sequence that satisfies a,n = an-1 + an-2 (n>= 3) with a1 = 1 and a2 = 1. Code a function to compute

an given the argument n.

Fig: 1