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
-
Find common elements in matrix rows
2721 Solvers
-
826 Solvers
-
Create a square matrix of multiples
502 Solvers
-
Find the index of n in magic(n)
275 Solvers
-
1305 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!