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
-
Accessing elements on the diagonal
107 Solvers
-
Given a matrix, swap the 2nd & 3rd columns
1284 Solvers
-
808 Solvers
-
Back to basics - mean of corner elements of a matrix
470 Solvers
-
Find the area of a rectangle if length of the diagonal is given.
170 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!