Solve the recursion - MATLAB Cody - MATLAB Central

Problem 48990. Solve the recursion

Solve the recursion: f(n)=f(n-1)+1 + f(n-2)+2.
f(1)=4;
f(2)=8;

Solution Stats

62.69% Correct | 37.31% Incorrect
Last Solution submitted on Dec 23, 2024

Solution Comments

Show comments
R2025a Pre-release highlights
This topic is for discussing highlights to the current R2025a Pre-release.
11
4

Problem Recent Solvers36

Suggested Problems

More from this Author14

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Go to top of page