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 comments
Loading...
Problem Recent Solvers428
Suggested Problems
-
Find the longest sequence of 1's in a binary sequence.
6877 Solvers
-
Project Euler: Problem 9, Pythagorean numbers
1410 Solvers
-
608 Solvers
-
find the surface area of a cube
575 Solvers
-
1736 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!