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
-
323 Solvers
-
middleAsColumn: Return all but first and last element as a column vector
655 Solvers
-
Sum of first n positive integers
633 Solvers
-
123 Solvers
-
Create sequnce 1 4 9 16 25.........
419 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!