Problem 48060. Find the Pattern 9
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
Rafael S.T. Vieira
on 30 Oct 2022
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
Solution Comments
Show commentsProblem Recent Solvers162
Suggested Problems
-
2300 Solvers
-
Back to basics 22 - Rotate a matrix
910 Solvers
-
What is the distance from point P(x,y) to the line Ax + By + C = 0?
542 Solvers
-
Calculate the area of a triangle between three points
3149 Solvers
-
Find the next Fibonacci number
723 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!