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
-
Sort a list of complex numbers based on far they are from the origin.
5816 Solvers
-
Who is the smartest MATLAB programmer?
793 Solvers
-
07 - Common functions and indexing 2
423 Solvers
-
Change the first and last diagonal element of the identity matrix to zero
161 Solvers
-
Element by element multiplication of two vectors
399 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!