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 Solvers301
Suggested Problems
-
Project Euler: Problem 2, Sum of even Fibonacci
2156 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
10195 Solvers
-
789 Solvers
-
410 Solvers
-
1117 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!