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
-
4011 Solvers
-
Find the peak 3n+1 sequence value
2571 Solvers
-
Return unique values without sorting
1023 Solvers
-
778 Solvers
-
395 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!