F(0)=0, f(1)=1, f(2)=1, and f(x)= f(x-1)+f(x-2) what is the value of f (5)

1 answer

f(3) = f(2)+f(1) = 1+1 = 2
now do f(4) and then f(5)

Or, think of the Fibonacci Numbers.