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
-
Sum of diagonal of a square matrix
1645 Solvers
-
Sum the 'edge' values of a matrix
416 Solvers
-
Create the following sequence : 0 1 1 4 9 25 64 169 ...
206 Solvers
-
232 Solvers
-
1031 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!