177,355 views
6 votes
6 votes
F(1) = 1

f(2) = 2

f(n) = f(n − 2) + f(n − 1)

f(3)

User Damp
by
2.5k points

1 Answer

7 votes
7 votes

Answer:

f(3) = 3

Explanation:

f(1) = 1

f(2) = 2

f(n) = f(n − 2) + f(n − 1)

f(3) = f(3 - 2) + f(3 - 1)

= f(1) + f(2) = 1 + 2 = 3

Special Note: Have you heard of the Fibonacci sequence?

The formula f(n) = f(n − 2) + f(n − 1) is used to find the terms of the of the Fibonacci sequence

User Karen Payne
by
3.1k points