Solve the recursion: f(n)=f(n-1)+1 + f(n-2)+2.
f(1)=4;
f(2)=8;
Solution Stats
Solution Comments
Show comments
Loading...
Problem Recent Solvers37
Suggested Problems
-
1743 Solvers
-
658 Solvers
-
07 - Common functions and indexing 2
423 Solvers
-
Find out sum of prime number till given number
271 Solvers
-
Calculate the average value of the elements in the array
1742 Solvers
More from this Author14
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!