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
-
Return the 3n+1 sequence for n
8541 Solvers
-
4905 Solvers
-
The sum of the numbers in the vector
650 Solvers
-
Integer Sequence - II : New Fibonacci
709 Solvers
-
Find the sides of an isosceles triangle when given its area and height from its base to apex
2254 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!