Guess the logic!
logic(1) = 21
logic(2) = 25
logic(3) = 22
logic(4) = 38
logic(5) = 33
logic(6) = 69
Make a function logic(x) which will written 'x' th term of sequence.
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers204
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15814 Solvers
-
5139 Solvers
-
Set the array elements whose value is 13 to 0
1452 Solvers
-
Magic is simple (for beginners)
11647 Solvers
-
Circular Primes (based on Project Euler, problem 35)
655 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!