Problem 47265. Find Logic 10
Guess the logic!
logic(1) = 120
logic(2) = 60
logic(3) = 20
logic(4) = 5
Make a function logic(x) which will return 'x' th term of sequence
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers379
Suggested Problems
-
Remove all the words that end with "ain"
2539 Solvers
-
Matrix indexing with two vectors of indices
754 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
12941 Solvers
-
440 Solvers
-
Find the max element of the array
1948 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!