Find the pattern for the following sequence:
pat(2) = 4
pat(3) = 5
pat(4) = 96
pat(9) = 91
pat(13) = 15
pat(21) = 79
Create a function which satisfies the pattern shown above.

Solution Stats

291 Solutions

196 Solvers

Last Solution submitted on Mar 18, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...

Problem Recent Solvers196

Suggested Problems

More from this Author180

Problem Tags

Community Treasure Hunt

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

Start Hunting!