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 Solvers39
Suggested Problems
-
given 3 sides, find area of this triangle
821 Solvers
-
Sum of first n terms of a harmonic progression
511 Solvers
-
Construct an index vector from two input vectors in vectorized fashion
455 Solvers
-
696 Solvers
-
Double all elements in the array
2337 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!