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
Problem Comments
1 Comment
Solution Comments
Show comments
Loading...
Problem Recent Solvers195
Suggested Problems
-
Sort a list of complex numbers based on far they are from the origin.
5798 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
13679 Solvers
-
Remove element(s) from cell array
1986 Solvers
-
4506 Solvers
-
String Array Basics, Part 1: Convert Cell Array to String Array; No Missing Values
1967 Solvers
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!
For instance, a tip for this problem could be
pat(2) = 4
pat(3) = 5
pat(13) = 15
pat(4) = 96
pat(9) = 91
pat(21) = 79