Problem 47345. Find Logic 20
Guess the Logic!
logic(1) = 7
logic(2) = 4
logic(3) = 8
logic(4) = 3
logic(5) = 9
logic(6) = 2
Make a function logic(x) which will return 'x' th term of sequence
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers359
Suggested Problems
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
13585 Solvers
-
Magic is simple (for beginners)
11105 Solvers
-
Replace multiples of 5 with NaN
466 Solvers
-
391 Solvers
-
979 Solvers
More from this Author40
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!