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 Solvers39
Suggested Problems
-
Which values occur exactly three times?
5241 Solvers
-
How to find the position of an element in a vector without using the find function
2815 Solvers
-
Simple equation: Annual salary
4260 Solvers
-
1719 Solvers
-
630 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!