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 Solvers40
Suggested Problems
-
Return elements unique to either input
814 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
14178 Solvers
-
Reverse the elements of an array
1136 Solvers
-
110 Solvers
-
Element by element multiplication of two vectors
399 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!