Find the pattern for the following sequence
pat(1) = 98
pat(3) = 94
pat(6) = 118
pat(10) = 130
Create a funciton which satisfies the pattern shown above.
Solution Stats
Problem Comments
1 Comment
Solution Comments
Show comments
Loading...
Problem Recent Solvers262
Suggested Problems
-
5989 Solvers
-
1547 Solvers
-
Magic is simple (for beginners)
11724 Solvers
-
Create an n-by-n null matrix and fill with ones certain positions
735 Solvers
-
Return fibonacci sequence do not use loop and condition
873 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!
tip: plot the points and try to find the pattern